Git-Flow
Initialize a Repository for git-flow
git flow init -d
(Omit -d
if you want to select values other than the defaults.)
State | Abbreviation | |
---|---|---|
Alabama | AL | |
Alaska | AK | |
Arizona | AZ | |
Arkansas | AR | |
California | CA | |
Colorado | CO | |
Connecticut | CT | |
Delaware | DE | |
District of Columbia | DC |
git flow init -d
(Omit -d
if you want to select values other than the defaults.)
List all of the current logins
gcloud auth list
Change the active account
# See list of docker virtual machines on the local box | |
$ docker-machine ls | |
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
# Note the host URL 192.168.99.100 - it will be used later! | |
# Build an image from current folder under given image name | |
$ docker build -t gleb/demo-app . |
var amqp = require('amqplib/callback_api'); | |
// if the connection is closed or fails to be established at all, we will reconnect | |
var amqpConn = null; | |
function start() { | |
amqp.connect(process.env.CLOUDAMQP_URL + "?heartbeat=60", function(err, conn) { | |
if (err) { | |
console.error("[AMQP]", err.message); | |
return setTimeout(start, 1000); | |
} |
'use strict'; | |
const driveUploadPath = 'https://www.googleapis.com/upload/drive/v3/files'; | |
// 'id' is driveId - unique file id on google drive | |
// 'version' is driveVersion - version of file on google drive | |
// 'name' name of the file on google drive | |
// 'appProperties' keep the custom `ifid` field | |
const fileFields = 'id,version,name,appProperties'; |
import org.mule.api.MuleEventContext; | |
import org.mule.api.lifecycle.Callable; | |
import com.netsuite.webservices.lists.relationships.CustomerSearchAdvanced; | |
public class CustomerSearchAdvancedSavedComponent implements Callable { | |
@Override | |
public Object onCall(MuleEventContext eventContext) throws Exception { | |
CustomerSearchAdvanced searchCriteria = new CustomerSearchAdvanced(); |
%dw 1.0 | |
%output application/java | |
--- | |
{ | |
email: { | |
operator: "IS", | |
searchValue: inboundProperties["http.query.params"].email | |
}, | |
customFieldList: { | |
customField: [{ |
on El Capitan, after installing the brew...
$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java
And Java 8 will be installed at /Library/Java/JavaVirtualMachines/jdk1.8.xxx.jdk/
Check version:
$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes