User:Jadrian Miles: Difference between revisions
Jump to navigation
Jump to search
| Line 47: | Line 47: | ||
* Update a directory with stuff that exists in a CVS repository but not in the directory: | * Update a directory with stuff that exists in a CVS repository but not in the directory: | ||
*;<pre>cvs update -d</pre> | *;<pre>cvs update -d</pre> | ||
* Concatenate PDFs (more at [http://web.archive.org/web/20090223000710/http://ansuz.sooke.bc.ca/software/pdf-append.php? the original source]) | * Concatenate PDFs (more at [http://web.archive.org/web/20090223000710/http://ansuz.sooke.bc.ca/software/pdf-append.php? the original source]; even more [http://nixtricks.wordpress.com/2009/09/01/cli-combine-or-remove-pages-from-a-pdf-document-using-ghostscript/ elsewhere]) | ||
*;<pre>gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf ...</pre> | *;<pre>gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf ...</pre> | ||
* Recache TeX search paths: | * Recache TeX search paths: | ||
Revision as of 17:29, 23 May 2012
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:
There are a number of directories related to me on the CS filesystem, all of which are linked from file:///map/gfx0/users/jadrian
Personal Documents
- Planning Documents
- Project Notes
- Archive
Draft pages / notes
- /Theory Conference Deadlines
- /Plan your PhD
- /Diffusion MRI techniques
- /BB's dollarg
- /Eclipse
- /sandbox
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]'
- Rename files into consecutive zero-padded integers in bash:
let i=0; for f in *.JPG; do mv $f `printf "%04d" $i`.jpg; let i++; done
- Test for host availability in tcsh (for loop demo; see here for bash example):
foreach h ( `cat hostlist` ) ssh $h uname -n end
- Update a directory with stuff that exists in a CVS repository but not in the directory:
cvs update -d
- Concatenate PDFs (more at the original source; even more elsewhere)
gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf ...
- Recache TeX search paths:
sudo mktexlsr
- Perceptually uniform random coloring in Matlab
C = makecform('lab2srgb');
plot3(X,Y,Z,'Color', applycform([50+rand*50, -100+rand*200, -100+rand*200], C));
- Recursively download a website using wget (see the man page for more)
wget -r -np -nH http://www.site.com/subdir
Bookmarks
- when2meet.com --- lightweight meeting scheduling thingie
Miscellaneous notes
- High b sensitizes to short length scale (Assaf & Cohen 1998, 2000).
- The cingulum bundle looks like a long, skinny tube (that wraps around the top and back of the CC) in a gross segmentation, and fibers run along the long axis of this tube for most of this length. Their projections into the GM, though, are actually along the side of the tube, on mid-sagittal gyri. This is a really weird shape when it comes to inferring fiber paths from the bundle shape, so it should be a smoke test for any proposed system.
- Sculpture might be a good choice for the second outside minor course. 3D reasoning, malleable shapes...