Friday, June 13, 2014

How to use 'find' to search for files created on a specific date?

Jeromy Anglim wrote a tutorial about this, as late as today. The essence of which is to use -newerXY and ! -newerXY: Example: To find all files modified on the 7th of June, 2006:
$ find . -type f -newermt 2007-06-07 ! -newermt 2007-06-08
To find all files accessed on the 29th of september, 2008:
$ find . -type f -newerat 2008-09-29 ! -newerat 2008-09-30
Or, files which had their permission changed on the same day:
$ find . -type f -newerct 2008-09-29 ! -newerct 2008-09-30
If you don't change permissions on the file, 'c' would normally correspond to the creation date, though.

stackoverflow.com/questions/158044/how-to-use-find-to-search-for-files-created-on-a-specific-date

Tuesday, June 3, 2014

beamer poster - deprecated option

\documentclass[final,hyperref={pdfpagelabels=false}]{beamer}

The "hyperref={pdfpagelabels=false}" is a deprecated option that prevents proper compilation, producing the error:

! Undefined control sequence.
\beamer@frameslide ...duration=}\thispdfpagelabel
                                                  {\insertframenumber } \xde...


remove this option, yielding:

\documentclass[final]{beamer}

Saturday, May 31, 2014

ITK Configuring and Building for Ubuntu Linux

http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux

Monday, March 17, 2014

Generating high-quality portable PDF files

ps2pdf -sPAPERSIZE=a4  -dCompatibilityLevel=1.3  \
 -dEmbedAllFonts=true  -dSubsetFonts=true  -dMaxSubsetPct=100  \
 -dAutoFilterColorImages=false  -dColorImageFilter=/FlateEncode  \
 -dAutoFilterGrayImages=false  -dGrayImageFilter=/FlateEncode  \
 -dAutoFilterMonoImages=false  -dMonoImageFilter=/CCITTFaxEncode  \
 document.ps  document.pdf
 
See: http://www.volkerschatz.com/tex/hiqpdf.html 

Friday, March 14, 2014

Sudo a shell script

$ sudo /full_path/script.sh

Saturday, March 8, 2014

Common Errors in Technical Writing

See:

http://www.ece.ucdavis.edu/~jowens/commonerrors.html