December 2007
16 posts
2 tags
tip: matlab
to call a function on button click, use set(gca,’buttondownfcn’,@fcn)
2 tags
tip: matlab
use dlmread to read a delimited file w/ non-uniform number of columns
2 tags
tip: flickr
append /date-taken-calendar to a flickr url to get a calendar display
2 tags
tip: matlab
colororder and linestyleorder control line styles and colors under vectorized plotting
2 tags
tip: shell
to send POST data in shell scripts, use curl -d
2 tags
tip: matlab
to capture keys in a matlab gui, set the figure property KeyPressFcn (or KeyReleaseFcn) with the appropriate function handle
2 tags
tip: matlab
plotmatrix command will plot columns of two matrices against each other
2 tags
tip: matlab
scatter command will plot points with different areas and colors
2 tags
tip: windows
start -> run shutdown -f -t 0 for a quicker shutdown
2 tags
tip: google
a bookmarklet to search the domain of the current site you are viewing for a specific query: javascript:Qr=prompt(‘Search%20Site%20for’,”);if(Qr)location.href=’http://www.google.com/search?&q=site:’+encodeURIComponent(window.location.hostname)+’+’+escape(Qr)12.13.07 11:09 javascript: to grab the domain name of the current url, use...
2 tags
tip: matlab
echo will echo m files during execution
2 tags
tip: macosx
in leopard, activate spaces and hit the number of the space to go to
2 tags
tip: macosx
to restart all graphics, closing open programs, sudo killall -HUP WindowServer
2 tags
tip: macosx
using expose, hit option key to see window titles
2 tags
tip: latex
to force capitalization in a bibtex entry, use surrounding brackets {}
2 tags
tip: windows
turn on cleartype at http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx