NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.
| #!/bin/bash | |
| # This script, executed at the root of a git repository, deletes traces of every old file in this repository, index + blob on all branches | |
| # It can take 10-30 minutes to run and will print regular warning stating than some references are unchanged | |
| # time ./clear_git_repositor.bash >cleaning.log | |
| # We need several passes to clean files renamed multiple times (git log --find-renames prevents its deletion for each renaming) | |
| # MAXIMUM_PASSES should be more than the maximum number of renamings/movings for any file, if not then we might keep some traces of former files | |
| MAXIMUM_PASSES=10 # Maximum number of passes |
NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.
| set -g default-terminal "screen-256color" | |
| set -g status-utf8 on | |
| bind M source-file ~/.tmux/mac.session | |
| bind L source-file ~/.tmux/linux.session | |
| # set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
| # THEME | |
| set -g status-bg black |
| machine github.com | |
| login technoweenie | |
| password SECRET | |
| machine api.github.com | |
| login technoweenie | |
| password SECRET |
| # | |
| # mmm m m mmm mmm mmm mmmmm mmm | |
| # " # "m m m" #" # # " #" "# # # # #" # | |
| # m"""# #m#m# #"""" """m # # # # # #"""" | |
| # "mm"# # # "#mm" "mmm" "#m#" # # # "#mm" | |
| # | |
| # nginx configuration For Ruby/Rack web applications | |
| # | |
| # Cooked up with style, care and a bit of *secret* | |
| # nerdy spice. :-) |
| # Enable upload_progress module for easy cross browser progress bar support | |
| # using only javascript client side | |
| upload_progress foobar_uploads 1m; | |
| server { | |
| # We only need one server block to deal with HTTP and HTTPS | |
| # avoids duplication | |
| listen 80; | |
| listen 443 default ssl; | |