If you use atom... download & install the following packages:
git config --global alias.st "status -s -b" | |
git config --global alias.di "diff" | |
git config --global alias.co "checkout" | |
git config --global alias.ci "commit" | |
git config --global alias.br "branch" | |
git config --global alias.l "log --online --decorate --graph" | |
git config --global alias.fixup "commit --amend -C HEAD" | |
git config --global alias.timeline "log --graph --branches --pretty=online --decorate" | |
git config --global alias.untracked-files "ls-files -o --exclude-standard" | |
git config --global alias.ignored-files "ls-files --others -i --exclude-standard" |
This is for an ISO UK layout:
Wiki: https://www.reddit.com/r/MechanicalKeyboards/wiki/pok3r Manual: http://www.vortexgear.tw/db/upload/webdata4/6vortex_20166523361966663.pdf
USB ID (from lsusb): Bus 020 Device 012: ID 04d9:0141 Holtek Semiconductor, Inc. USB Keyboard
- create tasks T{NNNN} asign them
- create a branch with name like "T{NNNN}-boo-hoo"
git checkout -b T1234-boo-foo
- commit changes on that branch until it gets ready to be reviewed
git commit -am 'first'
git commit -am 'now it works'
- check if it's lint free (NOTE: it runs lint against only modified files)
arc lint
- push a review request to the server. This will create a diff with id D{NNNN}
arc diff
Most recently tested on macOS Sierra (10.12.6)
- Download the installation script;
curl https://bootstrap.pypa.io/get-pip.py -o ~/Downloads/get-pip.py
- Run the installation, appending the
--user
flag;python ~/Downloads/get-pip.py --user
. pip will be installed to ~/Library/Python/2.7/bin/pip - Make sure
~/Library/Python/2.7/bin
is in your$PATH
. Forbash
users, edit thePATH=
line in~/.bashrc
to append the local Python path; ie.PATH=$PATH:~/Library/Python/2.7/bin
. Apply the changes,source ~/.bashrc
. - Use pip! Remember to append
--user
when installing modules; ie.pip install <package_name> --user
const ignoreErrors: [ | |
/__show__deepen/, | |
/Access is denied/, | |
/anonymous function: captureException/, | |
/Blocked a frame with origin/, | |
/console is not defined/, | |
/event is not defined/, | |
/feedConf/, | |
/MyIPhoneApp_ModifyShowModalDialog/, | |
/vid_mate_check is not defined/, |
# Google's Language Map | |
ach : Acoli | |
af : Afrikaans | |
ak : Akan | |
am : አማርኛ | |
ar : العربية | |
az : azərbaycan | |
ban : Balinese | |
be : беларуская | |
bem : Ichibemba |
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
If you're doing stuff with Ruby on a Mac, e.g. installling Jekyll or something, by default you'll end up having to use the sudo
command to do stuff, since the permission to modify the default config is not available to your user account.
This sucks and should be avoided. Here's how to fix that.
To make this better, we are going install a new, custom Ruby. This used to be a big, scary thing, but thanks to the awesome tools Homebrew and rbenv, it's a snap.*
A word of warning: you will have to use Terminal to install this stuff. If you are uncomfortable with text, words, and doing stuff with your computer beyond pointing and hoping, this may not work well for you. But if that's the case, I'm not sure why you were trying to use Ruby in the first place.