Frank Schätzing
- Limit
Stephen King
- The Dark Tower series
- Under the Dome
Christopher Paolini
version: '2' | |
services: | |
mysql: | |
image: bitnami/mysql:latest | |
container_name: MySQL | |
user: "0:0" | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: "mbstf" | |
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password |
# Create rails app | |
gem install make_it_so | |
make_it_so rails <name> | |
rake db:create db:migrate db:test:prepare && rspec | |
# get NPM set up (make sure node is installed) | |
npm init | |
npm install --save babel-loader gulp webpack gulp-webpack react redux react-redux | |
touch webpack.config.js | |
vim webpack.config.js |
error_page 400 404 405 =200 @40*_json; | |
location @40*_json { | |
default_type application/json; | |
return 200 '{"code":"1", "message": "Not Found"}'; | |
} | |
error_page 500 502 503 504 =200 @50*_json; | |
location @50*_json { |
var http = require('http'); | |
var path = require('path'); | |
var cluster = require('cluster'); | |
var os = require('os'); | |
var fs = require('fs'); | |
var debug = true; | |
if (!cluster.isMaster) { | |
var F = require('total.js'); |
Frank Schätzing
Stephen King
Christopher Paolini
sudo -i | |
cd | |
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y | |
wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz | |
tar xzvf ImageMagick-6.8.9-1.tar.gz | |
cd ImageMagick-6.8.9-1/ | |
./configure --prefix=/opt/imagemagick-6.8 && make | |
checkinstall |
### USAGE | |
### | |
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0 | |
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4 | |
### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
### | |
### CLI options Contributed by @janpieper | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch | |
### ElasticSearch version |
type JSONContainer struct { | |
data []interface{} | |
} | |
func (j *JSONContainer) All() (objects []JSONObject) { | |
for _, v := range j.data { | |
objects = append(objects, JSONObject{data: v}) | |
} | |
return | |
} |
type JSONContainer struct { | |
data []interface{} | |
} | |
func (j *JSONContainer) All() (objects []JSONObject) { | |
for _, v := range j.data { | |
objects = append(objects, JSONObject{data: v}) | |
} | |
return | |
} |
############################################## | |
# Sample client-side OpenVPN 2.0 config file # | |
# for connecting to multi-client server. # | |
# # | |
# This configuration can be used by multiple # | |
# clients, however each client should have # | |
# its own cert and key files. # | |
# # | |
# On Windows, you might want to rename this # | |
# file so it has a .ovpn extension # |