Tuesday, July 23, 2013

how to move keynote from one mac to another


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

Cite as:
Saad, T. "how to move keynote from one mac to another". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2013/07/how-to-move-keynote-from-one-mac-to.html

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,

Cite as:
Saad, T. "My New Project: Show Me the Math". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2013/07/my-new-project-show-me-math.html

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:
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
    gsave newpath
    transform round exch round exch itransform
    /ruleY X /ruleX X
and Voila!

Cite as:
Saad, T. "latex2html Underline Equations and Formulas". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2013/07/latex2html-underline-equations-and.html

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

Cite as:
Saad, T. "git autocomplete on Mac OS X". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2013/04/git-autocomplete-on-mac-os-x.html

Thursday, January 31, 2013