Run this command to fix the backtick key so it doesn’t require multiple strikes. xmodmap -e 'keycode 49 = grave asciitilde'
Grep for whole words; eg. get only those lines with itunes or MongoDB in them grep "itunes\|MongoDB" dblist.txt Get 3 lines Before the pattern grep -B 3 identities_root ~/.aws/config Get 3 lin...
there is a script here that will autodelete messages older than 30 days from a specific folder in gmail. Modify the details and rerun to adjust retention rate reference Here’s how you can get aut...
Checking environment (as git) cd /opt/gitlab/embedded/service/gitlab-rails/ HOME=/var/opt/gitlab PATH=/usr/local/bin:/usr/bin:/bin:/opt/gitlab/embedded/bin/ bundle exec rake gitlab:check RAILS_ENV...
# I wanted a dead simple reminder if I'm in a git managed directory # This takes the standard ubuntu $PS1 and adds (branch-name) in "default" terminal colour just before your $ / # # # the correct ...
branch not set to pull Running git pull to refresh a branch (region2_uat ) and you’re presented with the following error; goronski website_code3 (region2_uat) # git pull You asked me to pull with...
Have a subdirectory (website) that i’d like to branch into a new repository, keeping all history; ~/projects/repos - all access feed - website - nagios .. Make current directory the big repo...
help git help <command> Initialising Git git config --global user.name "Kristian" git config --global user.email "kristian@email.com" git config --global core.editor vim git config --globa...
branching git branch this will create a local copy of the master and keep it separate from master. All commits will then be made against this branch. switching branches git checkout this wil...
A new version of content is available.