This file contains hidden or 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
| alias l='ls -lrt' | |
| alias ruch="rubocop -a" | |
| alias upi="cd ~/workspace/upims " | |
| alias gok="cd ~/workspace/go-koans " | |
| alias exk="cd ~/workspace/sandbox/elixir-koans" | |
| alias exg="cd /Users/kenglish/exercism/go" | |
| alias asc="cd ~/workspace/coderly/assured-certificates" | |
| alias engs="cd ~/workspace/hugos/slqselina.github.io" | |
| alias lra="cd ~/workspace/LeaseRadar" | |
| alias rap="cd ~/workspace/raceplace" |
This file contains hidden or 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
| [color] | |
| branch = auto | |
| status = auto | |
| diff = auto | |
| [color "diff"] | |
| meta = yellow | |
| frag = cyan | |
| old = red | |
| new = green | |
| [color "branch"] |
This file contains hidden or 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
| ## Had to instal by hand from https://github.com/joshuaclayton/unused | |
| git ls-files | xargs ctags | |
| cat tags | /Users/kenglish/.local/bin/unused -C --stdin |
This file contains hidden or 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
| for i in $(find app/assets -name \*.scss); do # Not recommended, will break on whitespace | |
| cp /dev/null "$i" | |
| done |
This file contains hidden or 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
| bundle exec rspec $(git status | grep spec | grep "modified:" | cut -b 14-) |
This file contains hidden or 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
| ruby -run -e httpd coverage -p 9090 | |
| # | |
| lsof -i tcp:3000 |
This file contains hidden or 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
| desc 'Run RuboCop on the app and lib directories based on git diff' | |
| Rubocop::RakeTask.new('rubocop') do |task| | |
| cmd = 'git diff --name-only --diff-filter=ACMRTUXB ' \ | |
| '$(git merge-base HEAD flux) ' \ | |
| '| egrep \'\.rake$|\.rb$\'' | |
| diff = `#{cmd}` | |
| # always include this file, if the patterns is empty it run everything | |
| patterns = ['lib/tasks/ci.rake'] |
This file contains hidden or 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
| find iphone-backup-06-2019/ -mindepth 2 -type f -exec mv -i '{}' iphone-backup-06-2019/ ';' | |
| # Mount ntfs drive | |
| sudo /usr/local/bin/ntfs-3g /dev/disk3s1 /Volumes/NTFS -olocal -oallow_other |
This file contains hidden or 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
| {"version":1,"resource":"file:///Users/kevinenglish/Projects/housecall-web/db/migrate/20220805204019_fix_my_db.rb","entries":[{"id":"kNAK.rb","timestamp":1659732116041},{"id":"47uP.rb","timestamp":1659732132191},{"id":"Eict.rb","timestamp":1659732290956},{"id":"DKrR.rb","timestamp":1659732653766},{"id":"9HQa.rb","timestamp":1659732681217},{"id":"DQln.rb","timestamp":1659734424997}]} |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| uninstall() { | |
| list=`gem list | grep -v default | awk '{print $1;}'` | |
| for gem in $list; do | |
| gem uninstall -aIx $gem | |
| done | |
| gem list | |
| gem install bundler | |
| } |