Tutorial by Topics: k

lock (obj) {} Using the lock statement you can control different threads' access to code within the code block. It is commonly used to prevent race conditions, for example multiple threads reading and removing items from a collection. As locking forces threads to wait for other threads to ...
Snackbar make (View view, CharSequence text, int duration) Snackbar make (View view, int resId, int duration) ParameterDescriptionviewView: The view to find a parent from.textCharSequence: The text to show. Can be formatted text.resIdint: The resource id of the string resource to use. Can ...
You can create package.json with npm init which will ask you about basic facts about your projects, including license identifier.
Many programming languages use sockets to communicate across processes or between devices. This topic explains proper usage the the sockets module in Python to facilitate sending and receiving data over common networking protocols. ParameterDescriptionsocket.AF_UNIXUNIX Socketsocket.AF_INETIPv4...
This code will turn off the capability for a user to hold down the Shift key when opening a database to skip the default form opening and allow the user access to the Navigation Pane and VB Editor. In DB’s that you do not want users to have access to either of these (along with disabling the use ...
bgWorker.CancellationPending //returns whether the bgWorker was cancelled during its operation bgWorker.IsBusy //returns true if the bgWorker is in the middle of an operation bgWorker.ReportProgress(int x) //Reports a change in progress. Raises the "ProgressChanged" event ...
Backbone is a simple but robust client-side JavaScript library for building applications. Data is represented as Models, which can be gathered into Collections. Model state is displayed with Views. Backbone attempts to provide the minimal set of data structure and user interface primitives that w...
addChild(child) - adds a new item to this object's child tree as the topmost element. addChildAt(child, index) - adds a new item to this object's child tree at a specified position. The bottom-most item has index of 0. getChildAt(index) - returns a child with given index. getChildIndex(child) r...
[DllImport("Example.dll")] static extern void SetText(string inString); [DllImport("Example.dll")] static extern void GetText(StringBuilder outString); [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] string text; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)] ...
To install package simply run: install.packages("stringi") to load it: require("stringi")
This section provides an overview of what salt-stack is, and why a developer might want to use it. It should also mention any large subjects within salt-stack, and link out to the related topics. Since the Documentation for salt-stack is new, you may need to create initial versions of those rela...
install.packages(pkgs, lib, repos, method, destdir, dependencies, ...) ParameterDetailspkgscharacter vector of the names of packages. If repos = NULL, a character vector of file paths.libcharacter vector giving the library directories where to install the packages.reposcharacter vector, the...
-- Create simple index CREATE INDEX index_name ON table_name(column_name1 [, column_name2, ...]) -- Create unique index CREATE UNIQUE INDEX index_name ON table_name(column_name1 [, column_name2, ...] -- Drop index DROP INDEX index_name ON tbl_name [algorithm_option | lock_option] ....

Page 6 of 49