Rebasing http://nathanleclaire.com/blog/2014/09/14/dont-be-scared-of-git-rebase/
Squashing http://eli.thegreenplace.net/2014/02/19/squashing-github-pull-requests-into-a-single-commit
| https://www.hackerrank.com/paper/mkccdufaxdlthryrutxjqvidxuzlbgkw?b=eyJpbnRlcnZpZXdfaWQiOjEwNDI3NzksInJvbGUiOiJpbnRlcnZpZXdlciIsInNob3J0X3VybCI6Imh0dHA6Ly9oci5ncy8xNjI0OTYiLCJjYW5kaWRhdGVfdXJsIjoiaHR0cDovL2hyLmdzLzJlMGUzOCJ9 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <Say voice="alice">Record your message in three, two, one, start.</Say> | |
| <Record action="http://90e3ae2d.ngrok.io/paper/record_call" recordingStatusCallback="http://90e3ae2d.ngrok.io/paper/set_record_url" timeout="10" maxLength="15" playBeep="true" /> | |
| <Hangup/> | |
| </Response> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <Say>Hello, world!</Say> | |
| </Response> |
| # Normalize strings having various forms of whitespace | |
| " ".join(s.split()) | |
| # Ternary Operator | |
| (1 and [a] or [b])[0] |
| date_options = { | |
| "today" : 0, | |
| "yesterday" : 24*60*60*1000 , | |
| "day" : 24*60*60*1000, | |
| "week" : 7*24*60*60*1000, | |
| "weeks" :7*24*60*60*1000 | |
| } | |
| if (expenseObject.date) { | |
| var dateRe = /(\d{4})-(\d{2})-(\d{2})/; |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| bayes.rb gist posix-spawn-benchmark sass youtube-dl | |
| erubis jekyll rackup sass-convert | |
| f2py kramdown redcarpet scss | |
| ffscreencast listen rougify summarize.rb | |
| fluxgui nokogiri safe_yaml xflux |
| ; Global settings | |
| [redshift] | |
| temp-day=6500K | |
| temp-night=5000 | |
| transition=1 | |
| ;gamma=0.8:0.7:0.8 | |
| gamma=1.000:1.000:1.000 | |
| ;location-provider=geoclue (no more internet connection required!!) | |
| location-provider=manual | |
| adjustment-method=vidmode |
| ~/.bash_funcs | |
| ~/.bashrc | |
| ~/.bash_completion | |
| /etc/rc.local | |
| /etc/bluetooth/main.conf | |
| /etc/sudoers |