-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall-hub
More file actions
executable file
·30 lines (21 loc) · 816 Bytes
/
install-hub
File metadata and controls
executable file
·30 lines (21 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash -eu
#%SUMMARY: install useful examples to keep
cd ~/hub
do_once(){ local f=${*:(-1)}; f=${f##*/}; [[ -e $f ]] || "$@"; }
gc1(){ do_once git clone --depth 1 "$@"; }
ghub(){ gc1 "${@:1:$#-1}" "https://github.com/${*:(-1)}"; }
wget(){ do_once wget "$@"; }
### Learning ###
ghub 'shadowbq/Cheat-Sheets'
ghub 'BinRoot/Haskell-Data-Analysis-Cookbook'
ghub 'sjl/learnvimscriptthehardway'
ghub 'Gabriel439/post-rfc' # haskell resources
ghub 'pleac/pleac' # lisp resources
## Real-world cooking
ghub 'appplemac/cooking-patterns'
## Modeling With Data
# BOOK: http://modelingwithdata.org/about_the_book.html
### System & Kernel ###
# INFO: System Programming: lessons and examples -- smashing stack, etc
# https://github.com/angrave/SystemProgramming/wiki
# https://github.com/shihyu/Linux_Programming