User:Jadrian Miles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
==== Nifty code snippets ==== | ==== Nifty code snippets ==== | ||
* Generate a random filename from the command line: <pre>set tmpfile=/tmp/`head -q -c 8 /proc/sys/kernel/random/uuid`</pre> | * Generate a random filename from the command line: <pre>set tmpfile=/tmp/`head -q -c 8 /proc/sys/kernel/random/uuid`</pre> | ||
* Convert stdin to lowercase on stdout: <pre>tr '[a-z]' '[A-Z]'</pre> | |||
Revision as of 21:25, 22 December 2008
I started my PhD in CS at Brown in Fall 2006. I work on data processing, measurement, and model reconstruction from diffusion MRI of the brain.
You can find me elsewhere online:
Draft pages / notes
Nifty code snippets
- Generate a random filename from the command line:
set tmpfile=/tmp/`head -q -c 8 /proc/sys/kernel/random/uuid`
- Convert stdin to lowercase on stdout:
tr '[a-z]' '[A-Z]'