detex -l *.tex > thesis.txt
dos2unix alternative on your Mac
http://schmeits.wordpress.com/2010/08/26/dos2unix-alternative-those-darn-m-characters/ cat foo | col -b > foo2
Icon Archive icns
http://www.iconarchive.com/
Cocoa Xcode
https://developer.apple.com/library/mac/referencelibrary/GettingStarted/RoadMapOSX/chapters/01_Introduction.html https://developer.apple.com/library/mac/referencelibrary/GettingStarted/RoadMapOSX/books/RM_YourFirstApp_Mac/Articles/Introduction.html
8 commands to check cpu information on Linux
http://www.binarytides.com/linux-cpu-information/
Linux Find Large Files
http://www.cyberciti.biz/faq/find-large-files-linux/ find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} ; | awk ‘{ print $9 “: ” $5 }’
How to Crop Pages in a PDF Document
http://www.wikihow.com/Crop-Pages-in-a-PDF-Document
Sort Launchpad Applications by Name
https://discussions.apple.com/thread/3196957?tstart=0 rm ~/Library/Application Support/Dock/*.db ; killall Dock
OpenACC Kernels and Parallel Constructs
https://www.pgroup.com/lit/articles/insider/v4n2a1.htm
“Show desktop” keyboard shortcut in Mac OS X
command + f3 fn + f11
Vi and Vim Macro Tutorial: How To Record and Play
http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/
10 tips for Stickies
http://www.macosxtips.co.uk/index_files/10-tips-for-stickies.php
accessing protected members of superclass in C++ with templates
http://stackoverflow.com/questions/4010281/accessing-protected-members-of-superclass-in-c-with-templates This can be amended by pulling the names into the current scope using using: template<typename T> struct Subclass : public Superclass<T> { using Superclass<T>::b; using Superclass<T>::g; void f() { g(); b =3; } }; Or by qualifying the name via
Facebook Open Graph not clearing cache
http://stackoverflow.com/questions/5776567/facebook-open-graph-not-clearing-cache Go to http://developers.facebook.com/tools/debug Enter the URL following by fbrefresh=CAN_BE_ANYTHING Examples: http://www.example.com?fbrefresh=CAN_BE_ANYTHING http://www.example.com?postid=1234&fbrefresh=CAN_BE_ANYTHING OR visit: http://developers.facebook.com/tools/debug/og/object?q=http://www.example.com/?p=3568&fbrefresh=89127348912
Nvidia Tesla
http://en.wikipedia.org/wiki/Nvidia_Tesla
Inside NVIDIA’s Unified Memory
http://techenablement.com/inside-nvidias-unified-memory-multi-gpu-limitations-and-the-need-for-a-cudamadvise-api-call/
Split and merge large files
split -b 10k vecadd va. cat va.* > vecadd
rm all files except
find -not -name build.sh -delete
How to change default /tmp to /home/user/tmp
echo $TMPDIR
Worksharing Using OpenMP
https://software.intel.com/en-us/node/512744