]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - docs/developer/HEAP
transfer from internal tree r5311 branches/1.4-gpl
[xonotic/netradiant.git] / docs / developer / HEAP
1 find and xargs:\r
2 <TTimo> I need to remember that grep trick\r
3 <Mercury> 'find -type f | xargs grep -n whatever' is handy..\r
4 <Mercury> find -type f -name '*.[ch]' is even better at times.\r
5 \r
6 stdout / stderr redirections:\r
7 make -f makefile.cygwin 2> err.log\r
8 make -f makefile.cygwin >& full.log\r
9 \r
10 escape shell expansion:\r
11 find gtk-20001023 -name "*.zip" -exec unzip {} \;\r
12 find and -exec:\r
13 find //c/Donwload/Gtk-20001226 -name '*src*zip' -exec unzip {} \;\r
14 find //c/Donwload/Gtk-20001226 -name '*dev*zip' -exec unzip {} \;\r
15 \r
16 simple encryption for /etc/passwd entries:\r
17 perl -e 'print crypt("password","hk");'\r
18 \r
19 debian and /etc/init.d\r
20 update-rc.d\r
21 \r
22 silly hint on sed and regexp:\r
23 cat bspfile.c | sed -e 's/\([^_]\)malloc/\1safe_malloc/' | grep malloc\r
24 \r
25 *poke 10*\r
26 bleh\r
27 bleh\r
28 bleh\r
29 bleh\r
30 bleh\r
31 bleh\r
32 bleh\r
33 bleh\r