rcaldous / RecordList Interface for Kotlin
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 1 year ago
| 1 | interface RecordList { |
| 2 | fun toRecordList(): MutableList<List<String>> |
| 3 | fun toMinimalRecordList(): MutableList<List<String>> |
| 4 | |
| 5 | val name: String |
| 6 | val header: List<String> |
| 7 | val headerMin: List<String> |
| 8 | } |
rcaldous / Clear Bash history
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 1 year ago
Don't want to be tempted to up arrow?
| 1 | cat /dev/null > ~/.bash_history && history -c && exit |
rcaldous / Git sub git actions (bulk actions)
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 1 year ago
| 1 | alias gfs="find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \;" |
| 2 | alias gfp='ls | xargs -P10 -I{} git -C {} pull' |
rcaldous / Zip All sub folders (no compression)
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 1 year ago
| 1 | for i in */; do zip -r0 "${i%/}.zip" "$i"; done |
Daha yeni
Daha eski