Tutorial by Topics: n

\C (any one character except newline) 'all literal except single quotes'; 'this: '\'' is a single quote' $'only \\ and \' are special; \n = newline etc.' "$variable and other text; \"\\\$\` are special"
[[ -OP $filename ]] [[ $file1 -OP $file2 ]] [[ -z $string ]] [[ -n $string ]] [[ "$string1" == "$string2" ]] [[ "$string1" == $pattern ]] The [[ … ]] syntax surrounds bash built-in conditional expressions. Note that spaces are required on either side of th...
NSArray *words; // Declaring immutable array NSMutableArray *words; // Declaring mutable array NSArray *words = [NSArray arrayWithObjects: @"one", @"two", nil]; // Array initialization syntax NSArray *words = @[@"list", @"of", @"words", ...
<element lang="language_code">   <!-- Language code has to be in the format [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1 ) --> The value of the lang attribute must be a valid BCP 47 language tag or the empty string (if the language is unknown). The BCP 47 ...
SomeClass sc = new SomeClass { Property1 = value1, Property2 = value2, ... }; SomeClass sc = new SomeClass(param1, param2, ...) { Property1 = value1, Property2 = value2, ... } The constructor parentheses can only be omitted if the type being instantiated has a default (parameterless) const...
Recursion is mostly available in Perl-compatible flavors, such as: Perl PCRE Oniguruma Boost
Some times you need to create extended text documentation from you xml comments. Unfortunatly there is no standard way for it. But there are some separate projects that you can use for this case: Sandcastle Docu NDoc DocFX
Build a named capture group (X being the pattern you want to capture): (?'name'X) (?X) (?PX) Reference a named capture group: ${name} \{name} g\{name} Python and Java don't allow multiple groups to use the same name.
This topic outlines how and when the Swift runtime shall allocate memory for application data structures, and when that memory shall be reclaimed. By default, the memory backing class instances is managed through reference counting. The structures are always passed through copying. To opt out of th...
shift shifts the positional parameters to the left so that $2 becomes $1, $3 becomes $2 and so forth. "$@" is an array of all the positional parameters passed to the script/function. "$*" is an string composed of all the positional parameters passed to the script/function. ...
WITH QueryName [(ColumnName, ...)] AS (   SELECT ... ) SELECT ... FROM QueryName ...; WITH RECURSIVE QueryName [(ColumnName, ...)] AS (   SELECT ...   UNION [ALL]   SELECT ... FROM QueryName ... ) SELECT ... FROM QueryName ...; Official documentation: WITH clause A Common ...
transition: [transition-property] [transition-duration] [transition-timing-function] [transition-delay]; ParameterDetailstransition-propertyThe specific CSS property whose value change needs to be transitioned (or) all, if all the transitionable properties need to be transitioned.transition-...
Introduction to Algorithms Algorithms are ubiquitous in Computer Science and Software Engineering. Selection of appropriate algorithms and data structures improves our program efficiency in cost and time. What is an algorithm? Informally, an algorithm is a procedure to accomplish a specific ta...
Cat *cat = [[Cat alloc] init]; // Create cat object of type Cat Dog *dog = [[Dog alloc] init]; // Create dog object of type Dog NSObject *someObject = [NSObject alloc]; [someObject init]; // don’t do this XYZObject *object = [XYZObject new]; // Use new to create objects if NO arguments...
This topic is meant to show a general way to call the Twitch API without OAuth. You can call any APIs found in the Twitch REST API documentation using this pattern. You would simply change the URL to the correct endpoint. A Client-ID is required for all calls to the Twitch API. In these examples,...
The dynamic keyword declares a variable whose type is not known at compile time. A dynamic variable can contain any value, and the type of the value can change during runtime. As noted in the book "Metaprogramming in .NET", C# does not have a backing type for the dynamic keyword: The...
TypeScript aims to be a superset of JavaScript that transpiles to JavaScript. By generating ECMAScript compliant code, TypeScript can introduce new language features while retaining compatibility with existing JavaScript engines. ES3, ES5 and ES6 are currently supported targets. Optional types ar...

Page 21 of 329