Skip to content

Instantly share code, notes, and snippets.

Mycelium is looking for a senior frontend developer proficient in Angular.js
with 3+ years of experience.
Required skills:
* Javascript
* Angular.js
* html
* css
* git
@snitko
snitko / gist:9877076
Created March 30, 2014 18:05
keybase.md
### Keybase proof
I hereby claim:
* I am snitko on github.
* I am rs (https://keybase.io/rs) on keybase.
* I have a public key whose fingerprint is DDD6 B790 86AC D6E7 F119 F8AC 450D 8851 1977 7AE9
To claim this, I am signing this object:
if Rails.env == "production" || Rails.env == "staging"
exceptions = []
exceptions << 'ActiveRecord::RecordNotFound'
exceptions << 'AbstractController::ActionNotFound'
exceptions << 'ActionController::RoutingError'
exceptions << 'ActionController::InvalidAuthenticityToken'
server_name = case Rails.env
when "production" then "mystore.com"
@snitko
snitko / .git-ignoreoncommit.sh
Created September 24, 2011 12:13 — forked from falsefalse/.git-ignoreoncommit.sh
Git ignore changed files on commit
# do whatever the fuck you want with it license
# set 'assume unchanged' for files in list, replicates tortoise svn 'ignore on commit' feature
# source ~/.git-ignoreoncommit.sh in your profile
# https://github.com/falsefalse
function git-ioc {
VER="0.2"
ignorefile=".gitignore-oncommit"
module Authentication
# Is included both in SessionController and UsersController
module ControllerUtils
private
def save_cookies(params)
params.each do |k,v|
name = "#{auth_model_name}_#{k}"