I hereby claim:
- I am yobennett on github.
- I am yobennett (https://keybase.io/yobennett) on keybase.
- I have a public key whose fingerprint is 0919 D0FD CF11 9C72 828E 73F2 9F18 255C 8967 6027
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
v4v6: | |
cc v4v6.c -o v4v6 |
#!/usr/bin/env bash | |
# Simple move this file into your Rails `script` folder. Also make sure you `chmod +x puma.sh`. | |
# Please modify the CONSTANT variables to fit your configurations. | |
# The script will start with config set by $PUMA_CONFIG_FILE by default | |
PUMA_CONFIG_FILE=config/puma.rb | |
PUMA_PID_FILE=tmp/pids/puma.pid | |
PUMA_SOCKET=tmp/sockets/puma.sock |
# A sample Gemfile | |
source "http://rubygems.org" | |
gem "redis" | |
gem 'eventmachine', :git => 'git://github.com/eventmachine/eventmachine.git' | |
gem "em-hiredis" | |
# gem "em-synchrony" | |
gem "em-websocket" |
# /etc/security/limits.conf | |
* soft nofile 999999 | |
* hard nofile 999999 | |
root soft nofile 999999 | |
root hard nofile 999999 | |
=========================================================== | |
# /etc/sysctl.conf | |
# sysctl for maximum tuning |
(function () { | |
"use strict"; | |
var nav = WinJS.Navigation; | |
function pin() { | |
// This demo code comes from | |
// http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.startscreen.secondarytile.aspx | |
// Prepare package images for use as the Tile Logo and Small Logo in our tile to be pinned. |
# Hot deploy Rails apps (rolling restart) with Capistrano, Haproxy, and cluster of Passengers | |
# Capistrano config | |
namespace :passenger do | |
task :disable_load_balancing, :roles => :app do | |
run "rm -f #{current_path}/public/http-check.txt" | |
end | |
task :enable_load_balancing, :roles => :app do |