Tutorial by Topics: ons

FlagMeaning"r"Read-only, starts at beginning of file (default mode)."r+"Read-write, starts at beginning of file."w"Write-only, truncates existing file to zero length or creates a new file for writing."w+"Read-write, truncates existing file to zero length or...
var width = document.getElementById('chartArea').clientWidth; var height = width / 3.236; window.onresize = resizeFunctionCall;
Addons and modules are encouraged to be registered with Packagist which then means they are found and registered with the SilverStripe add-on repository Installation of modules is recommended through use of Composer
Google Chrome supports extensions that augment the way the browser works. They can add functionality to web pages or to the browser UI.
AutoHotkey comes with many built-in functions and variables which can be used anywhere inside a script. For a full list including explanations, see: List of built-in variables List of built-in functions
# This is a valid comment # This is a valid { comment }
The annotations package includes a number of useful metadata annotations you can decorate your own code with, to help catch bugs. Just add the dependency in the build.gradle file. dependencies { compile 'com.android.support:support-annotations:25.3.1' }
Because regular expressions are limited to either a regular grammar or a context-free grammar, there are many common misuses of regular expressions. So in this topic there are a few example of when you should NOT use regular expressions, but use your favorite language instead. Some people, when...
Higher Order Functions are functions that take functions as parameters and/or return functions as their return values.
function func_name($parameterName1, $parameterName2) { code_to_run(); } function func_name($optionalParameter = default_value) { code_to_run(); } function func_name(type_name $parameterName) { code_to_run(); } function &returns_by_reference() { code_to_run(); } function func_name(&$ref...
.ui-icon-{icon type}-{icon sub description}-{direction} The icons are also integrated into a number of jQuery UI's widgets, such as accordion, button, menu.
Transactions are protective blocks where SQL statements are only permanent if they can all succeed as one atomic action. The classic example is a transfer between two accounts where you can only have a deposit if the withdrawal succeeded and vice versa. Transactions enforce the integrity of the da...

Page 13 of 31