Skip to content

Instantly share code, notes, and snippets.

@seyhunak
seyhunak / ip_range.rb
Created April 15, 2013 11:52
IP Range Checker
require 'ipaddr'
class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :redirect_if_bolivia
private
def redirect_if_bolivia
anonymous
anonymous / .gitconfig
Created April 15, 2013 11:38
My personal gitconfig, remember to insert your own username where needed
[user]
email = serrghi@gmail.com
name = Torstein Skulbru
[alias]
c = commit -am
up = pull
p = push
s = status -s
df = diff --color --color-words --abbrev