Skip to content

Instantly share code, notes, and snippets.

@isnotnull
isnotnull / surge_main.conf
Created October 26, 2015 05:11 — forked from jason5ng32/surge.conf
Surge Configs
// DON'T FORGET TO IMPORT proxy.conf TOO
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24
// DNS OVERRIDE, REMOVE # IF YOU NEED
# dns-server = 223.6.6.6,223.5.5.5,114.114.114.114,114.114.115.115
@isnotnull
isnotnull / rails_resources.md
Created August 20, 2014 18:22 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@isnotnull
isnotnull / 0_reuse_code.js
Created August 20, 2014 18:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@isnotnull
isnotnull / tmux-for-iterm2.rb
Created October 21, 2012 16:31 — forked from sunblaze/tmux-for-iterm2.rb
Homebrew formula to install tmux-for-iTerm2: tmux-for-iTerm2-20120726.tar.gz
require 'formula'
class TmuxForIterm2 < Formula
url 'http://iterm2.googlecode.com/files/iTerm2-1_0_0_20120726.zip'
md5 '596c8ff70a836f67ee3197bb60cf92b3'
homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration'
depends_on 'libevent'
def install