Tutorial by Examples: all

There is a dozen implementations of Standard ML. MLton produces very optimized code, but has no REPL. SML/NJ is the most widely used, but has slightly difficult error messages for learning purposes. Moscow ML and Poly/ML are easy to get started with, but don't support the .mlb package format. That i...
A lot of example code posted on StackOverflow includes snippets like this: if ("A".equals(someString)) { // do something } This does "prevent" or "avoid" a possible NullPointerException in the case that someString is null. Furthermore, it is arguable that ...
Detailed instructions on getting phonegap-build set up or installed.
Detailed instructions on getting retrofit set up or installed.
Go to the Microsoft link for the OpenXML SDK download. Click the red download button. On the next screen click the box next to OpenXMLSDKToolV25.msi and click next to begin the download. Once the download is complete, launch the OpenXMLSDKToolV25.msi and follow the instructions on the screen. Th...
Prerequisites JDK 1.7 or later installed. You can find the Oracle JDK's here. Steps Download Payara Server Full. Unzip the Payara Server at some location on your computer. We will use C:\payara41 as INSTALL_DIR for Windows users and /payara41 for Linux/Mac users. Starting / stopping Pa...
(************************************************* * All comments in SML are block comments * Block Comments begin with '(*' * Block Comments end with '*)' * (* Block Comments can be nested *) * The additional framing asterisks at the beginning * and end of this block comment are common ...
The best way to get started using Spring-Integration in your project is with a dependency management system, like gradle. dependencies { compile 'org.springframework.integration:spring-integration-core:4.3.5.RELEASE' } Below is a very simple example using the gateway, service-activator mes...
You can install Celery either via the Python Package Index (PyPI) or from source. To install the latest version using pip: $ pip install celery To install using easy_install: $ easy_install celery Downloading and installing from source Download the latest version of Celery from http://pypi...
SQOOP provides facility to import all tables sqoop import-all-tables \ --connect <rdbms-jdbc-url> \ --username <username> \ --password <password> \ --hive-import \ --create-hive-table \ --hive-database <dbname> \ --warehouse-dir <warehouse-dir> Important poin...
Use conditional compilation to ensure that code only compiles for the intended instruction set (such as x86). Otherwise code could become invalid if the program is compiled for another architecture, such as ARM processors. #![feature(asm)] // Any valid x86 code is valid for x86_64 as well. Be ca...
Say you have a Parent class and a Child class. To construct a Child instance always requires some Parent constructor to be run at the very gebinning of the Child constructor. We can select the Parent constructor we want by explicitly calling super(...) with the appropriate arguments as our first Chi...
A CSV file itself requires no installation as it is just a plain text file, usually with .csv extension. A CSV file usually contains records. Each line represents one record and is separated by a delimiter, most commonly a comma; but semicolons and tabs are also frequently used. Each line should ha...
Add react-rails to your Gemfile: gem 'react-rails' And install: bundle install Next, run the installation script: rails g react:install This will: create a components.js manifest file and a app/assets/javascripts/components/ directory, where you will put your components place the follo...
What is Profiling? By definition Profiling is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the frequency and duration of function calls. Why is it necessary? Profiling is important becau...
Install from NPM. npm install sails-mongo --save
Detailed instructions on getting mips set up or installed.
We need two dependencies: bcrypt for encryption npm install bcrypt --save JSON Web token npm install jsonwebtoken --save
To install/update MVC version, follow these steps: In visual studio, open the Package Manager console (use CTRL + Q, and type package manager console) In the console appearing, enter the following after the console cursor showing PM>: Install-Package Microsoft.AspNet.Mvc -Version 5.2.3...
Install the world sudo make installworld KERNCONF=MODEDKERNEL Estimated time on Hasee Q540S: 5 minutes. Install the kernel sudo make installkernel KERNCONF=MODEDKERNEL Estimated time on Hasee Q540S: a few seconds.

Page 74 of 113