history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n25
1 2165 21.6522% git
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { | |
| if (p < 0.5) | |
| return 0.5 * pow(2*p, g); |
| int seed = int(random(999999)); | |
| void setup() { | |
| size(960, 960, P2D); | |
| smooth(8); | |
| pixelDensity(2); | |
| rectMode(CENTER); | |
| generate(); |
| `cd android && ./gradlew clean && ./gradlew assembleDebug --stacktrace` |
| echo "alias rnkill=\"kill \$(lsof -t -i:8081); rm -rf ios/build/; react-native run-ios\"" >> ~/.zshrc; source ~/.zshrc |
| cd ~/.vim/bundle | |
| for i in `ls`; do | |
| cd "$i" | |
| git pull | |
| cd .. | |
| done |
| Install the following... | |
| MacVim | |
| WebStorm | |
| iTerm 2 |
| console.log(1); | |
| (_ => console.log(2))(); | |
| eval('console.log(3);'); | |
| console.log.call(null, 4); | |
| console.log.apply(null, [5]); | |
| new Function('console.log(6)')(); | |
| Reflect.apply(console.log, null, [7]) | |
| Reflect.construct(function(){console.log(8)}, []); | |
| Function.prototype.apply.call(console.log, null, [9]); | |
| Function.prototype.call.call(console.log, null, 10); |
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests |
| " ================ Git Time Tracking ================ | |
| " ================ @see https://github.com/git-time-metric/gtm-vim-plugin ================ | |
| let g:gtm_plugin_status_enabled = 1 | |
| " ================ Pathogen Init ==================== | |
| execute pathogen#infect() | |
| syntax on | |
| filetype plugin indent on |