View InfluxDB Dockerfile
### Get InfluxDB up and running for your Grafana stack
docker run -d -p 8086:8086 -p 2003:2003 -p 8083:8083 \
-e INFLUXDB_GRAPHITE_ENABLED=true \
-e INFLUXDB_ADMIN_ENABLED=true \
influxdb
View Grafana Dockerfile
### Get a Grafana instance up and running with persistent storage
### Grafana Dockerfile
### Create a storage:
docker run -d -v /var/lib/grafana --name grafana-storage busybox:latest
### Run Grafana
docker run \
-d \
View Grafana_Docker_Setup
docker run -d -p 8086:8086 -p 2003:2003 -p 8083:8083 \
-e INFLUXDB_GRAPHITE_ENABLED=true \
-e INFLUXDB_ADMIN_ENABLED=true \
influxdb
docker run \
-d \
-p 3000:3000 \
--name=grafana \
--volumes-from grafana-storage \
View focus.conf
# [General]
0.0.0.0 instagram.com
0.0.0.0 kickass.cd
0.0.0.0 ewatchseries.to
0.0.0.0 mqtt-mini.facebook.com
0.0.0.0 fmovies.is
View Jekyll-S3.sh
# Run it from the root of your Jekyll site like bash Jekyll-S3.sh
##
# Configuration options
##
STAGING_BUCKET='s3://<YOUR-S3-BUCKET-NAME>'
LIVE_BUCKET='s3://<YOUR-S3-BUCKET-NAME>'
SITE_DIR='_site/'
##
View nginx.conf
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your location block(s):
#
# include cors_support;
#
# A limitation to this method is that Nginx doesn't currently send headers
View LazyLoad.js
var React = require('react');
var events = require('add-event-listener');
var isVisible = require('../isVisible');
var LazyLoad = React.createClass({
displayName: 'LazyLoad',
propTypes: {
distance: React.PropTypes.number,
component: React.PropTypes.node.isRequired,
children: React.PropTypes.node.isRequired
View gist:036c48a03e237288957f

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
View OSX-ElCap-Setup.md

Setup the basics

# Default TextEdit to Plaintext and not Rich Text
defaults write com.apple.TextEdit RichText -int 0

# Set the scope of new Finder search to current directory
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

# Enable Screensaver for Top-Left hotspot
View install_ffmpeg_ubuntu.sh
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update