Tutorial by Topics: d

As val are semantically static, they are initialized "in-place" wherever they appear in the code. This can produce surprising and undesirable behavior when used in abstract classes and traits. For example, let's say we would like to make a trait called PlusOne that defines an increment ...
$scope.$watch(watchExpression, callback, [deep compare]) $scope.$digest() $scope.$apply([exp])
_.map(collection, Function) => newCollection _.filter(collection, Predicate) => newCollection _.some(collection, Predicate) => true or false _.reduce(collection, BiFunction, seed) => accumulated value ParameterMeaningCollectionAn iterable group of elements. This can be an arra...
Dockerfiles are files used to programatically build Docker images. They allow you to quickly and reproducibly create a Docker image, and so are useful for collaborating. Dockerfiles contain instructions for building a Docker image. Each instruction is written on one row, and is given in the form &l...
#include <math.h> double pow(double x, double y); float powf(float x, float y); long double powl(long double x, long double y); To link with math library use -lm with gcc flags. A portable program that needs to check for an error from a mathematical function should set errno ...
How to exract tar.gz/bz2/tbz files : If Your File Extension is .tar.gz (or .tgz) use this command tar xvzf file.tar.gz x: This tells tar to extract the files. v: This option will list all of the files one by one in the archive. The “v” stands for “verbose.” z: The z option is ...
YAML is a recursive acronym for "YAML Ain't Markup Language". It is a human readable data serialization standard for all programming languages. VersionRelease Date1.02004-01-291.12005-01-181.22009-10-01
Functional programming is a programming paradigm which models computations (and thus programs) as the evaluation of mathematical functions. It has its roots in lambda calculus, which was developed by Alonzo Church in his research on computability. Functional programming has some interesting conce...
The Unicode Standard is an international standardized character set. It attempts to assign characters and symbols from every writing system a unique number. With every major new version, additional characters are added to the Standard to achieve this goal. In providing a unified character set for ...
GCC (upper case) refers to the GNU Compiler Collection. This is an open source compiler suite which include compilers for C, C++, Objective C, Fortran, Ada, Go and Java. gcc (lower case) is the C compiler in the GNU Compiler Collection. Historically GCC and gcc have been used interchangeably, b...
alert( message ) confirm( message ) prompt( message [, optionalValue]) print() https://www.w3.org/TR/html5/webappapis.html#user-prompts https://dev.w3.org/html5/spec-preview/user-prompts.html
var x = HTMLElement.dataset.*; HTMLElement.dataset.* = "value"; MDN Documentation: Using data attributes.
numpy.dot(a, b, out=None) NameDetailsaa numpy arrayba numpy arrayouta numpy array numpy.dot Returns the dot product of a and b. If a and b are both scalars or both 1-D arrays then a scalar is returned; otherwise an array is returned. If out is given, then it is returned.

Page 62 of 221