Tutorial by Examples: al

Installing Progress Download your distribution from Progress. If you want a demo license you need to contact them. Make sure you download a 64-bit and not a 32-bit tar file (unless you happen to run a 32-bit machine). Windows The download will be a zip archive. Unpack it and simply run setup.exe....
Print a number in binary, quaternary, octal, hexadecimal and a general power of two All the bases that are a power of two, like the binary (21), quaternary (22), octal (23), hexadecimal (24) bases, have an integral number of bits per digit1. Thus to retrieve each digit2 of a numeral we simply brea...
In order to access the Google drive API or Google drive SDK you must first register your application on Google Developer console and enable the google drive API. After that its a good idea to use one of the official google client libraries to access the API. DocumentationSamplesGoogle API Client L...
Salesforce DataLoader Dataloader.io Jitterbit SFXOrgData DreamFactory Monarch Pentaho Kettle Talend
CodeClimate: Cloud Service CodeScan: Cloud Service Clayton.io: Cloud Service VSCode Apex PMD: VS Code extension for realtime static analysis as you code Apex PMD: command line core that runs most the above tools
You can also go almost bare-metal when producing sound with java. This code will write raw binary data into the OS audio buffer to generate sound. It's extremely important to understand the limitations and necessary calculations to generating sound like this. Since playback is basically instantaneou...
Print a 16-bit unsigned number in decimal The interrupt service Int 21/AH=02h is used to print the digits. The standard conversion from number to numeral is performed with the div instruction, the dividend is initially the highest power of ten fitting 16 bits (104) and it is reduced to lower power...
byte incoming; String inBuffer; void setup() { Serial.begin(9600); // or whatever baud rate you would like } void loop(){ // setup as non-blocking code if(Serial.available() > 0) { incoming = Serial.read(); if(incoming == '\n') { // newline, car...
This is just an extension on the sealed trait variant where a macro generates a set with all instances at compile time. This nicely omits the drawback that a developer can add a value to the enumeration but forget to add it to the allElements set. This variant especially becomes handy for large en...
<# .DESCRIPTION Writes the metric out in bosun external collector format which is compatible with scollector external scripts .PARAMETER metric Name of the metric (eg : my.metric) .PARAMETER type Type of metric (counter, gauge, etc) .PARAMETER unit ...
By default, accessing an individual item in a template dom-repeat loop is by calling {{item}}. Passing in an as= attribute to template will allow you to switch out the default {{item}} syntax for something that is more customized to the module you are working with. In this case, we want to grab the ...
One needs the predicted probabilities in order to calculate the ROC-AUC (area under the curve) score. The cross_val_predict uses the predict methods of classifiers. In order to be able to get the ROC-AUC score, one can simply subclass the classifier, overriding the predict method, so that it would a...
In Controller: $this->load->model('your_model'); $data['model'] = $this->your_model; In view: $model->your_method;
ll | grep ^- | awk -F"." '{print $2 "." $3}' | awk -F":" '{print $2}' | awk '{$1=""; print $0}' | cut -c2- | awk -F"." '{print "mkdir ""$1"";mv ""$1"."$2"" ""$1"""}' >...
Java expressions are evaluated following the following rules: Operands are evaluated from left to right. The operands of an operator are evaluated before the operator. Operators are evaluated according to operator precedence Argument lists are evaluated from left to right. Simple Example I...
When interfacing with C APIs, one might want to back off Swift reference counter. Doing so is achieved with unmanaged objects. If you need to supply a type-punned pointer to a C function, use toOpaque method of the Unmanaged structure to obtain a raw pointer, and fromOpaque to recover the original ...
; IF d0 == 10 GO TO ten, ELSE GO TO other CMP #10,d0 ; compare register contents to immediate value 10 ; instruction affects the zero flag BEQ ten ; branch if zero flag set other: ; do whatever needs to be done for d0 != 10 BRA ...
To use typescript with react in a node project, you must first have a project directory initialized with npm. To initialize the directory with npm init Installing via npm or yarn You can install React using npm by doing the following: npm install --save react react-dom Facebook released its ow...
SELECT a column_with_null, NVL(a, 'N/A') column_without_null FROM (SELECT NULL a FROM DUAL); COLUMN_WITH_NULLCOLUMN_WITHOUT_NULL(null)N/A NVL is useful to compare two values which can contain NULLs : SELECT CASE WHEN a = b THEN 1 WHEN a <> b THEN 0 else -1 END comparison_without_n...
If the first parameter is NOT NULL, NVL2 will return the second parameter. Otherwise it will return the third one. SELECT NVL2(null, 'Foo', 'Bar'), NVL2(5, 'Foo', 'Bar') FROM DUAL; NVL2(NULL,'FOO','BAR')NVL2(5,'FOO','BAR')BarFoo

Page 208 of 269