This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |