Pages

Tuesday, July 23, 2013

how to move keynote from one mac to another

See:

http://geekinc.ca/moving-iwork-pages-keynote-and-numbers-from-an-old-apple-to-a-new-one/
I basically moved the following files:

  • Macintosh HD:Library:Preferences:com.apple.iWork09.Installer.plist
  • Macintosh HD:Library:Preferences:com.apple.iWork09.plist 
  •  Macintosh HD:Library:Application Support:Keynote
  • Macintosh HD:Library:Application Support:iWork ’09
  • Macintosh HD:Applications:iWork ’09

Saturday, July 6, 2013

My New Project: Show Me the Math

Please join me in celebrating the launch of my new project "Show Me the Math", a journal purely dedicated to mathematical derivations of physical and numerical stuff. I will no longer post derivations on pleasemakeanote as those will go to showmethemath. I will start porting and improving the current derivations to the new blog as time goes by.

Thank you all for your support,
yNot

latex2html Underline Equations and Formulas

I recently tried to use latex2html to export a few of my tex documents to html. I simply used
latex2html main.tex
but I ended up with a bunch of unsavory lines under all of my equations. Upon googling things a bit, I found the following solution that worked for me:
https://ccrma.stanford.edu/~jos/webpub/Eliminating_Black_Rules_Equation.html
On my mac, here's what I did:

  1. search for the file alt-rule.pro (on my Mac, I opened the folder /usr and searched for it there. the file was located under: /usr/local/texlive/2012/texmf/dvips/config/
  2. edit the file as suggested by the link above. i.e., replace
    gsave newpath   /ruleY X /ruleX X
    with
    gsave newpath
    transform round exch round exch itransform
    /ruleY X /ruleX X
and Voila!

Thursday, May 2, 2013

Wednesday, April 10, 2013

git autocomplete on Mac OS X

I use a variety both Linux and OSX in my work. Since my recent adoption of git, I have been mostly logged in to our Linux box and had been enjoying the awesome git autocomplete features in bash. When I switched to my Mac though, I couldn't get this work - but my pinky refused to stop pressing the tab key.

Luckily, the folks at git have an autocomplete script ready to install on your machine. Here's what you have to do:
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bash_profile

and Voila!

Thanks to Mike Pottyn for this: http://railslove.com/blog/2011/11/25/git-autocomplete-in-bash-on-a-mac

Thursday, January 31, 2013