Tutorial by Topics



Integer Literals is a numeral without a decimal point for example 0, 1, 42, ... is implicitly applied to fromInteger which is part of the Num type class so it indeed has type Num a => a - that is it can have any type that is an instance of Num Fractional Literals is a numeral with a ...
Functions in Go provide organized, reusable code to perform a set of actions. Functions simplify the coding process, prevent redundant logic, and make code easier to follow. This topic describes the declaration and utilization of functions, arguments, parameters, return statements and scopes in Go. ...
Structs are sets of various variables packed together. The struct itself is only a package containing variables and making them easily accessible. Unlike in C, Go's structs can have methods attached to them. It also allows them to implement interfaces. That makes Go's structs similar to objects, bu...
In Go, concurrency is achieved through the use of goroutines, and communication between goroutines is usually done with channels. However, other means of synchronization, like mutexes and wait groups, are available, and should be used whenever they are more convenient than channels. go doWork(...
PorterDuff is described as a way of combining images as if they were "irregular shaped pieces of cardboard" overlayed on each other, as well as a scheme for blending the overlapping parts "Porter Duff" in itself is an alpha compositing technique named after a paper by Thoma...
'use strict'; "use strict"; `use strict`; Strict mode is an option added in ECMAScript 5 to enable a few backwards-incompatible enhancements. Behaviour changes in "strict mode" code include: Assigning to undefined variables raises an error instead of defining new ...
require spl_autoload_require Autoloading, as part of a framework strategy, eases the amount of boilerplate code you have to write.
A jQuery selectors selects or finds a DOM (document object model) element in an HTML document. It is used to select HTML elements based on id, name, types, attributes, class and etc. It is based on existing CSS selectors. Tag: No marker, use the tag directly Id: #id Class: .className Attrib...
Arrays are specific data type, representing an ordered collection of elements of another type. In Go, Arrays can be simple (sometime called "lists") or multi-dimensional (like for example a 2-dimentions arrays is representing a ordered collection of arrays, that contains elements) v...
HTML offers three ways for specifying lists: ordered lists, unordered lists, and description lists. Ordered lists use ordinal sequences to indicate the order of list elements, unordered lists use a defined symbol such as a bullet to list elements in no designated order, and description lists use ind...
mydict = {} mydict[k] = value value = mydict[k] value = mydict.get(k) value = mydict.get(k, "default_value") ParameterDetailskeyThe desired key to lookupvalueThe value to set or return Helpful items to remember when creating a dictionary: Every key must be unique (otherwi...
git config [<file-option>] name [value] # one of the more common use cases of git config ParameterDetails--systemEdits the system-wide configuration file, which is used for every user (on Linux, this file is located at $(prefix)/etc/gitconfig)--globalEdits the global configuration fi...
command </path/to/file # Redirect standard input to file command >/path/to/file # Redirect standard output to flie command file_descriptor>/path/to/file # Redirect output of file_descriptor to file command >&file_descriptor # Redirect output to file_descriptor command file_des...
.prototype.createdCallback() .prototype.attachedCallback() .prototype.detachedCallback() .prototype.attributeChangedCallback(name, oldValue, newValue) document.registerElement(name, [options]) ParameterDetailsnameThe name of the new custom element.options.extendsThe name of the native el...

Page 15 of 426