I hereby claim:
- I am jefffederman on github.
- I am jefffederman (https://keybase.io/jefffederman) on keybase.
- I have a public key whose fingerprint is 0F0D AF33 381D FE79 0AC7 2508 11A9 D977 4FB0 59CB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Get patched Powerline fonts: | |
https://github.com/powerline/fonts |
tldr; {type}/{group[optional]}/short-form-of-what-it-does
HCM developers consistently use dash-delimited branch names. About half also use f/
and b/
prefixes ('feature' and 'bug', respectively).
I suggest we continue our current practices, specifically:
feature/
, bug/
, chore/
, or hotfix/
# Procedure is for Ubuntu 14.04 LTS. | |
# TODO for OS X | |
# Using these guides: | |
# http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/ | |
# https://turboflash.wordpress.com/2009/06/23/curl-adding-installing-trusting-new-self-signed-certificate/ | |
# https://jamielinux.com/articles/2013/08/act-as-your-own-certificate-authority/ | |
# Generate the root (GIVE IT A PASSWORD IF YOU'RE NOT AUTOMATING SIGNING!): | |
openssl genrsa -aes256 -out ca.key 2048 |
app/assets/images/exercises/**/*. | |
exercise*frame_*.jp{g,eg} | |
*_thumb.jp{g,eg} | |
1. Get list of unwanted files | |
$ git log --raw |awk '/^:/ { if (! printed[$6]) { print $6; printed[$6] = 1 }}'|while read f;do if [ ! -f $f ]; then echo Deleted: $f;fi;done | |
SEE http://stackoverflow.com/questions/7336252/how-to-remove-all-files-in-a-git-repository-that-are-not-in-the-working-director/7399719#7399719 |
http://stackoverflow.com/questions/3387485/stubbing-devise-in-rspec-and-rails3/3512813#3512813 | |
Remember to add confirmed_at attribute to User test factory! |
## The quick-and-nasty CVE-2013-0156 Heroku inspector! | |
## Originally brought to you by @elliottkember with changes by @markpundsack @ Heroku | |
## Download and run using: | |
## ruby heroku-CVE-2013-0156.rb | |
`heroku list`.split("\n").each do |app| | |
app = app.strip | |
# Some "heroku apps" lines have === formatting for grouping. They're not apps. | |
next if app[0..2] == "===" |
# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png | |
local return_code="%(?..%{$fg[green]%}%? ↵%{$reset_color%})" | |
local user_host='%{$terminfo[bold]$fg[black]%}%n%{$reset_color%}' | |
local current_dir='%{$terminfo[bold]$fg[green]%} %~%{$reset_color%}' | |
local rvm_ruby='' | |
if which rvm-prompt &> /dev/null; then | |
rvm_ruby='%{$fg[black]%}$(rvm-prompt i v g)%{$reset_color%}' | |
else | |
if which rbenv &> /dev/null; then |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
/* Webkit hack */ | |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
} |