Tutorial by Topics: i

It's worth noting that staging has little to do with 'files' themselves and everything to do with the changes within each given file. We stage files that contain changes, and git tracks the changes as commits (even when the changes in a commit are made across several files). The distinction betwe...
This topic illustrates how to avoid adding unwanted files (or file changes) in a Git repo. There are several ways (global or local .gitignore, .git/exclude, git update-index --assume-unchanged, and git update-index --skip-tree), but keep in mind Git is managing content, which means: ignoring actuall...
The UILabel class implements a read-only text view. You can use this class to draw one or multiple lines of static text, such as those you might use to identify other parts of your user interface. The base UILabel class provides support for both simple and complex styling of the label text. You can ...
“ An optional value either contains a value or contains nil to indicate that a value is missing” Excerpt From: Apple Inc. “The Swift Programming Language (Swift 3.1 Edition).” iBooks. https://itun.es/us/k5SW7.l Basic optional use cases include: for a constant (let), use of an optional within a loo...
!= - Is not equal to == - Is equal to > - greater than < - less than >= - greater than or equal to <= - less than or equal to is - test if objects are the exact same object is not = test if objects are not the exact same object ParameterDeta...
import module_name import module_name.submodule_name from module_name import * from module_name import submodule_name [, class_name, function_name, ...etc] from module_name import some_name as new_name from module_name.submodule_name import class_name [, function_name, ...etc] Importi...
Function pointers are pointers that point to functions instead of data types. They can be used to allow variability in the function that is to be called, at run-time. returnType (*name)(parameters) typedef returnType (*name)(parameters) typedef returnType Name(parameters); Name *n...
Haskell is an advanced purely-functional programming language. Features: Statically typed: Every expression in Haskell has a type which is determined at compile time. Static type checking is the process of verifying the type safety of a program based on analysis of a program's text (source...
Anchor tags are commonly used to link separate webpages, but they can also be used to link between different places in a single document, often within table of contents or even launch external applications. This topic explains the implementation and application of HTML anchor tags in various roles. ...
VersionRelease DatePrivate Beta2016-03-2612016-07-2522016-08-0432016-08-2942016-09-1252016-09-2962016-10-2072016-11-29
For many programmers the regex is some sort of magical sword that they throw to solve any kind of text parsing situation. But this tool is nothing magical, and even though it's great at what it does, it's not a full featured programming language (i.e. it is not Turing-complete). What does 'regu...
JOIN is a method of combining (joining) information from two tables. The result is a stitched set of columns from both tables, defined by the join type (INNER/OUTER/CROSS and LEFT/RIGHT/FULL, explained below) and join criteria (how rows from both tables relate). A table may be joined to itself or t...
global a, b, c nonlocal a, b x = something # binds x (x, y) = something # binds x and y x += something # binds x. Similarly for all other "op=" del x # binds x for x in something: # binds x with something as x: # binds x except Exception as ex: # binds ex inside block ...
When it comes to storing, reading, or communicating data, working with the files of an operating system is both necessary and easy with Python. Unlike other languages where file input and output requires complex reading and writing objects, Python simplifies the process only needing commands to open...
try { … } catch (error) { … } try { … } finally { … } try { … } catch (error) { … } finally { … } throw new Error([message]); throw Error([message]); try allows you to define a block of code to be tested for errors while it is being executed. catch allows you to define a block of code ...
navigator.geolocation.getCurrentPosition(successFunc, failureFunc) navigator.geolocation.watchPosition(updateFunc, failureFunc) navigator.geolocation.clearWatch(watchId) The Geolocation API does what you might expect: retrieve information about the client's whereabouts, represented in lat...
git diff [options] [<commit>] [--] [<path>…​] git diff [options] --cached [<commit>] [--] [<path>…​] git diff [options] <commit> <commit> [--] [<path>…​] git diff [options] <blob> <blob> git diff [options] [--no-index] [--] <path> &l...

Page 8 of 340