Adding dependcy
To use a gruntplugin, you first need to add it as a dependency to your project. Let's use the jshint plugin as an example.
npm install grunt-contrib-jshint --save-dev
The --save-dev option is used to add the plugin in the package.json, this way the plugin is always installed aft...
For those of you that are new to programming in Swift and those of you coming from different programming bases, such as Python or Java, this article should be quite helpful. In this post, we will discuss a simple solution for implementing swift algorithms.
Fizz Buzz
You may have seen Fizz Buzz wri...
Recall that every transaction contains multiple sublists of data. Now that we can show only sublist data using Main Line, we can further refine our search results to specific sublist data.
Most of the sublists included in Transaction results have a corresponding search filter to toggle whether they...
npm install --save mongodb
npm install --save mongoose //A simple wrapper for ease of development
In your server file (normally named index.js or server.js)
const express = require('express');
const mongodb = require('mongodb');
const mongoose = require('mongoose');
const mongoConnectString...
You can create custom dialogs which contains many component and perform many functionality on it. It behaves like second stage on owner stage.
In the following example an application that shows person in the main stage tableview and creates a person in a dialog (AddingPersonDialog) prepared. GUIs c...
/**
* data - passed in object
* switch - get file extension if there is one
* nlapiCreateFile - create file in File Cabinet
* nlapiAttachRecord - attach file to record
*/
function StoreAttachFile(data)
{
var record_type = data.recordType
var record_id = data.recordId;
...
Making a sequence of HTTP requests has two primary reasons:
Requests are depending on each other (the result from one requests is required for a consecutive request).
We want to spread server load into multiple requests.
1. Making multiple dependent requests
This can be performed usi...
Converting date and time strings to numeric arrays can be done with datenum, though it may take as much as half the time of reading a large data file.
Consider the data in example Textscan. By, again, using textscan and interpret date and time as integers, they can rapidly be converted into a numer...
The compile statement lets you compile programs in Progress ABL:
Basic usage:
COMPILE hello-world.p SAVE.
With a variable:
DEFINE VARIABLE prog AS CHARACTER NO-UNDO.
prog = "hello.p".
COMPILE VALUE(prog) SAVE.
There are several options to the COMPILE-statement:
SAVE state...
See the download page to manually download and unpack the latest version, or follow the links below:
spring-boot-cli-1.5.1.RELEASE-bin.zip
spring-boot-cli-1.5.1.RELEASE-bin.tar.gz
SDKMAN! is the Software Development Kit Manager for Java. It can be used to install and manage versions of the Spring Boot CLI as well as Java, Maven, Gradle, and more.
$ sdk install springboot
In quite a few cases your frame might not show up immediately and you probably have to wait till it is loaded to switch. Or else you will have NoSuchFrameException.
So its always a good choice to wait before you switch. Following is a ideal way to wait till a frame is loaded.
try{
new Web...
This converts valid json strings to MySQL JSON type:
SELECT CAST('[1,2,3]' as JSON) ;
SELECT CAST('{"opening":"Sicilian","variations":["pelikan","dragon","najdorf"]}' as JSON);
Description of the installation process :
Debian jessie -- Installation Guide
Each architecture has his own installation guide :
amd64
i386
armel
s390x
powerpc
armhf
mips
AArch64
POWER.
Download an iso image of the Debian distribution (stable release):
Debian installer
Use ...
XHTML Relation to HTML
XHTML is simply the serialized version of HTML. XHTML was originally intended to clean up HTML markup to better improve standards support. Unfortunately the W3C's work on XHTML 2.0 was not intuitive and detracted from where the industry as a whole was headed with HTML5. XHTML...