Tutorial by Topics: en

$foo = 1; $bar = &$foo; // both $foo and $bar point to the same value: 1 $var = 1; function calc(&$var) { $var *= 15; } calc($var); echo $var; While assigning two variables by reference, both variables point to the same value. Take the following example: $foo = 1; $bar = &$fo...
This topic discusses how encryption and decryption works in Android.
When you need to check for the presence or position of a substring within a string, VBA offers the InStr and InStrRev functions that return the character position of the substring in the string, if it is present.
Types of Intents Explicit Intents Implicit Intents Explicit intent: going to be connected internal world of application, suppose you want to connect one activity to another activity, this can be done by explicit intent. Below is the code snippet demonstrating the connection between first an...
To view a List of MySQL Users, we use the following command : SELECT User,Host FROM mysql.user;
HTTP services normally run on port 80, but if you have some application installed like Skype which also utilizes port 80 then it won't start. In that case you need to change either its port or the port of the conflicting application. When done, restart the HTTP service.
Logging these queries is slow, even slower than Hibernate usually is. It also uses up a massive amount of log space. Do not use logging in scenarios where performance is required. Use this only when testing the queries that Hibernate actually generates.
@Subscribe(threadMode = ThreadMode.POSTING) public void onEvent(EventClass event) { } Thread ModeDescriptionThreadMode.POSTINGWill be called on the same thread that the event was posted on. This is the default mode.ThreadMode.MAINWill be called on the main UI thread.ThreadMode.BACKGROUNDW...
A string's length can be measured in two ways: The most frequently used measure of length is the number of characters using the Len functions, but VBA can also reveal the number of bytes using LenB functions. A double-byte or Unicode character is more than one byte long.
Strings can be concatenated, or joined together, using one or more concatenation operator &. String arrays can also be concatenated using the Join function and providing a string (which can be zero-length) to be used between each array element.
If you are creating a dynamic string, It is a good practice to opt for StringBuilder class rather than joining strings using + or Concat method as each +/Concat creates a new string object everytime it is executed.
To save the UUID we can use SSKeychainUtility. Example can be found on Github page
Icon Fonts are like normal font types that have symbols instead of letters. It can be used in your application with at-most ease. They are: Flexible Scalable Vectors Fast Processable Light Weight Accessible Effect on Size Exporting an image in various sizes for android devices would c...
A plugin is a script or set of scripts that changes Vim's default behavior, either by adding non-existing features or by extending existing features. Often added "non-existing features" include: commenting, indentation detection, autocompletion, fuzzy-matching, support for a spe...
paramdescriptionmodemode to open file, default=w+bdeleteTo delete file on closure, default=Truesuffixfilename suffix, default=''prefixfilename prefix, default='tmp'dirdirname to place tempfile, default=Nonebuffsizedefault=-1, (operating system default used)

Page 19 of 66