List of all deleted files:
git log --diff-filter=D --summary | grep pattern_to_search
Find the log
git log --all -- FILEPATH
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
List of all deleted files:
git log --diff-filter=D --summary | grep pattern_to_search
Find the log
git log --all -- FILEPATH
gem 'haml-rails' to Gemfilerake haml:erb2haml to convert all erb to haml files => has option to delete old erb files, but becareful :)
that's allcurl -sSL https://get.rvm.io | bash -s stable --path $HOME/.rvm
source /var/lib/non-user/.rvm/scripts/rvm
java -jar jenkins.war| Hi, | |
| I got it sorted. Here is what I did to fix it: | |
| I found a revision in the Sprockets Github repo | |
| (https://github.com/sstephenson/sprockets/commit/743c1b1a6433195e440e2d863e5d4767cc41271a) | |
| when searching for a fix for the undefined method error relating to | |
| default_mime_type. I then applied this change to the following ruby | |
| scripts | |
| in the sprockets 2.11.0 gem directory: jst_processor, sass_compressor, |
| Manage Sessions | |
| tmux new -s session_name | |
| >> creates a new tmux session named session_name | |
| tmux attach -t session_name | |
| >> attaches to an existing tmux session named session_name | |
| tmux switch -t session_name | |
| >> switches to an existing session named session_name | |
| tmux list-sessions | |
| >> lists existing tmux sessions |