Tutorial by Topics: s

Scope is the context in which variables live and can be accessed by other code in the same scope. Because JavaScript can largely be used as a functional programming language, knowing the scope of variables and functions is important as it helps to prevent bugs and unexpected behavior at runtime. ...
read.csv(file, header = TRUE, sep = ",", quote = """, dec = ".", fill = TRUE, comment.char = "", ...) read.csv2(file, header = TRUE, sep = ";", quote = """, dec = ",", fill = TRUE, comment.char = "", ....
Express is a minimal and flexible Node.js web application framework, providing a robust set of features for building web applications. The official website of Express is expressjs.com. The source can be found on GitHub. app.get(path [, middleware], callback[, callback...]) app.put(path [, mi...
VersionRelease Date0.6.0-dev2017-06-010.5.02016-09-190.4.02015-10-080.3.02014-08-210.2.02013-11-170.1.02013-02-14
void session_abort ( void ) int session_cache_expire ([ string $new_cache_expire ] ) void session_commit ( void ) string session_create_id ([ string $prefix ] ) bool session_decode ( string $data ) bool session_destroy ( void ) string session_encode ( void ) int session_gc ( void ) array ...
There are many situations where it is useful to return several values from a function: for example, if you want to input an item and return the price and number in stock, this functionality could be useful. There are many ways to do this in C++, and most involve the STL. However, if you wish to avoi...
Strings are objects that represent sequences of characters. The standard string class provides a simple, safe and versatile alternative to using explicit arrays of chars when dealing with text and other sequences of characters. The C++ string class is part of the std namespace and was standardized i...
In Node.js, resource intensive operations such as I/O are performed asynchronously, but have a synchronous counterpart (e.g. there exists a fs.readFile and its counterpart is fs.readFileSync). Since Node is single-threaded, you should be careful when using synchronous operations, because they will...
Kotlin is a statically-typed object-oriented programming language developed by JetBrains primarily targeting the JVM. Kotlin is developed with the goals of being quick to compile, backwards-compatible, very type safe, and 100% interoperable with Java. Kotlin is also developed with the goal of prov...
Use context processors to add variables that are accessible anywhere in your templates. Specify a function, or functions that return dicts of the variables you want, then add those functions to TEMPLATE_CONTEXT_PROCESSORS.
import defaultMember from 'module'; import { memberA, memberB, ... } from 'module'; import * as module from 'module'; import { memberA as a, memberB, ... } from 'module'; import defaultMember, * as module from 'module'; import defaultMember, { moduleA, ... } from 'module'; import 'module'; ...
Used to prevent name collisions when using multiple libraries, a namespace is a declarative prefix for functions, classes, types, etc. namespace identifier(opt) { declaration-seq } inline namespace identifier(opt) { declaration-seq } /* since C++11 */ inline(opt) namespace attribute-specifie...

Set

empty_set = set() # initialize an empty set literal_set = {'foo', 'bar', 'baz'} # construct a set with 3 strings inside it set_from_list = set(['foo', 'bar', 'baz']) # call the set function for a new set set_from_iter = set(x for x in range(30)) # use arbitrary iterables to create a set set_f...
The built-in collections package provides several specialized, flexible collection types that are both high-performance and provide alternatives to the general collection types of dict, list, tuple and set. The module also defines abstract base classes describing different types of collection functi...
AttributeDetailsnameSets the element's name, to be used with an a tag to change the iframe's src.widthSets the element's width in pixels.heightSets the element's height in pixels.srcSpecifies the page that will be displayed in the frame.srcdocSpecifies the content that will be displayed in the fra...
An HTTP cookie is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. bool setcookie( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "" [,...
The $ character introduces parameter expansion, command substitution, or arithmetic expansion. The parameter name or symbol to be expanded may be enclosed in braces, which are optional but serve to protect the variable to be expanded from characters immediately following it which could be interprete...
Classes and Objects are used to to make your code more efficient and less repetitive by grouping similar tasks. A class is used to define the actions and data structure used to build objects. The objects are then built using this predefined structure. class <ClassName> [ extends <Par...
MySQL: CREATE TABLE Employees ( Id int NOT NULL, PRIMARY KEY (Id), ... ); Others: CREATE TABLE Employees ( Id int NOT NULL PRIMARY KEY, ... );
RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration) RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration, int index) ParameterDetailsdecorationthe item decoration to add to the RecyclerViewindexthe index in the list of decorations for this RecyclerView. T...

Page 15 of 333