This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/bill.birch/workspace/gocode/bin/elvish | |
# | |
# Get lines of code for the repos in the current directory | |
# | |
find api* -maxdepth 0 -type d | ^ | |
each {|D| | |
cloc --exclude-dir=generated -json --timeout 0 $D ^ | |
| from-json ^ | |
| put [$D (one)[SUM][code]] | |
} | order &reverse=$true &key={|L| put $L[1]} ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# multi-dimension arrys | |
# | |
# pprint() function - print arbtrary objects | |
# | |
function ps(n) | |
{ | |
for(i=1;i<=n;i++) | |
printf(" ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sat Sep 28 13:56:08 UTC 2019 |