Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
// ============================================================ | |
// $ npm install --save-dev gulp-util node-notifier gulp vinyl-source-stream vinyl-buffer gulp-uglify gulp-sourcemaps gulp-livereload browserify watchify babelify gulp-ruby-sass gulp-autoprefixer gulp-rename | |
// ============================================================ | |
function Workflow() | |
{ | |
// Override workflow settings here | |
// Example: | |
// this.output.directory = 'public_html'; |
#! /bin/bash | |
sudo apt-get update | |
sudo apt-get install g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev -y | |
git clone https://github.com/nghttp2/nghttp2.git && cd nghttp2 | |
autoreconf -i | |
automake | |
autoconf | |
./configure --enable-apps | |
make |
# 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 . |
List() | |
var list = Immutable.List([1,2,3]) | |
// [1, 2, 3] | |
List.isList() | |
Immutable.List.isList(list) | |
// true | |
List.of() | |
var list = Immutable.List.of(1,2,3); |
From: https://beta.psy-dreamer.com/category/automation/deploying-from-github-to-vps-using-travis-ci
Recently, I spent around 14 to 16 hours learning all of the necessary steps to getting an existing repo set up with Travis CI to run unit tests, and then once successful, connect to a remote server that isn't a PaaS (in this case, Linode) and then proceeds to use Git hooks to do post deployment things.
Starting with your local machine and you have your project already checked out from Github.
gem install travis
. This installs the Travis CI command-line tools. We're going to use these tools to encrypt RSA keys that Travis will use to connect to your remote server.(function(d, e, id) { | |
function s() {var js, a = d.getElementsByTagName("script")[0];js = d.createElement("script");js.id = id;js.src = "//connect.emojics.com/dist/sdk.js";a.parentNode.insertBefore(js, a);} | |
window.emojics=e;e.readyQueue=[];e.ready=function(b){e.readyQueue.push(b)} | |
window.attachEvent?window.attachEvent("onload",s):window.addEventListener("load",s) | |
})(document, window.emojics||{}, "emojics-js"); | |
emojics.ready(function() { | |
console.log('Emojics Ready'); | |
// The following event will fire whenever a visitor clicks on a reaction. |
API: | |
Type: AWS::ApiGateway::RestApi | |
Properties: | |
Name: | |
Fn::Join: | |
- " " | |
- - Restorer Plambda | |
- Ref: Stage | |
Description: Experimental Restorer Play app in Lambda |
www.mysite.com, mysite.com { | |
proxy / webapp:3000 { | |
proxy_header Host {host} | |
proxy_header X-Real-IP {remote} | |
proxy_header X-Forwarded-Proto {scheme} | |
} | |
gzip | |
tls your@email.com | |
} |