Tutorial by Topics: es

One of the features introduced in Java 9 is the multi-release Jar (MRJAR) which allows bundling code targeting multiple Java releases within the same Jar file. The feature is specified in JEP 238.
:vglobal or :v is the opposite of :global or :g that operates on lines not matching the specified pattern (inverse).
Many people like working with promises and/or async/await syntax, but when writing a module it would be useful to some programmers to support classic callback style methods as well. Rather than creating two modules, or two sets of functions, or having the programmer promisify your module, your modul...
Shared Preferences are key-value based XML files. It is located under /data/data/package_name/shared_prefs/<filename.xml>. So a user with root privileges can navigate to this location and can change its values. If you want to protect values in your shared preferences, you can write a simple e...
This post provides steps to use variables (User Variable, Package Parameter and Project Parameter) in the script component and viewing the updated value using Breakpoint and Watch window. ParameterDetailsUserVarIt is like a local variable used inside a package. Its value can be read and modifie...
Shared Preferences are key-value based XML files. It is located under /data/data/package_name/shared_prefs/<filename.xml>. So a user with root privileges can navigate to this location and can change its values. If you want to protect values in your shared preferences, you can write a simple e...
It is better to use std::shared_mutex than std::shared_timed_mutex. The performance difference is more than double. If you want to use RWLock, you will find that there are two options. It is std::shared_mutex and shared_timed_mutex. you may think std::shared_timed_mutex is just the version 's...
TreeMap and TreeSet are basic Java collections added in Java 1.2. TreeMap is a mutable, ordered, Map implementation. Similarly, TreeSet is a mutable, ordered Set implementation. TreeMap is implemented as a Red-Black tree, which provides O(log n) access times. TreeSet is implemented using a TreeMap...
These are some API Best Practices I had been used. ParameterDetailssortSort by Single or Multiple columns. sort=email,namedirSort Ascending/Descending. dir=asc or dir=desccolumnFilter by. phone=5555555555limitItems per Page. limit=25pagePage Number. page=2api_keyAPI Key. api_key=ABCDEF123456789...
Java in itself is an extremely powerful language, but its power can further be extended Thanks to JSR223 (Java Specification Request 223) introducing a script engine The Java Scripting API enables external scripts to interact with Java The Scripting API can enable interaction between the scr...
Unit testing is a level in software testing that validates the behavior and correctness of units of code. In C++, "units of code" often refer to either classes, functions, or groups of either. Unit testing is often performed using specialized "testing frameworks" or "testin...
If you want to routinely apply an R analysis to a lot of separate data files, or provide a repeatable analysis method to other people, an executable R script is a user-friendly way to do so. Instead of you or your user having to call R and execute your script inside R via source(.) or a function ca...
Wordpress is a widely used CMS for creating simple information websites but also for creating more sophisticated websites and even small webshops. Wordpress makes use of themes. These themes are used for creating the lay-out and content functionality of a Wordpress website. The themes can be found ...
The ZipFile class lives in the System.IO.Compression namespace. It can be used to read from, and write to Zip files. You can also use a MemoryStream instead of a FileStream. Exceptions ExceptionConditionArgumentExceptionThe stream has already been closed, or the capabilities of t...
When starting with unit-testing all kinds of questions come up: What is unit-testing? What is a SetUp and TearDown? How do I deal with dependencies? Why do unit-testing at all? How do I make good unit tests? This article will answer all these questions, so you can start unit-testing in any languag...
Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system. Design patterns can speed up the development process by providing tested, proven development paradigms. Reusing design patterns helps to prevent subtle issues...
How to create unit test project and unit tests and how to run the unit tests and code coverage tool. In this guide the standard MSTest framework will be used and the standard Code Coverage Analyses tool which are available in Visual Studio. The guide was written for Visual Studio 2015, so it's pos...

Page 87 of 96