master
Colin McMillen 4 years ago
parent
commit
8e56522a9d
  1. 8
      Cookbook.md

8
Cookbook.md

@ -1,3 +1,11 @@
* bad code search tool:
```bash
bcs() { for file in `grep -l $1 $(git ls-tree -r master --name-only)`; do echo $file: ; highlight --force --line-numbers -O xterm256 --stdout $file | grep -C 5 $1 --label=$file | perl -pne s%^--\$%$file:%; done }
bcs Player
```
* sizes of things in C#:
```
sizeof(Vector2) = 8

Loading…
Cancel
Save