Blog Archives

Converting eps files to pdf

It’s often very useful to convert a .eps file to a .pdf, e.g., for inclusion in a LaTeX document. To do this (on a Mac — should work in Linux too) download the epstopdf utility, and save the resulting folder

Tagged with: , ,
Posted in Notes

Running Stata from the command line

The command stata-se -b do /path/to/program.do works correctly for me, on my Mac. On a PC, I think this would correspond to something like: stata-se -b do C:\path\to\program.do where the backslashes are doubled to escape them properly. On a Mac,

Tagged with: ,
Posted in Notes

Using nohup to keep programs running after logout

This code prevents your session from “hanging up” while your program is running. It appends the output to a file that can then be watched, in order to monitor the file’s progress. cd /desired/directory/ nohup python append_all.py > append_output.txt &

Tagged with:
Posted in Notes

I am a PhD candidate in Business Economics at Harvard. I'm interested in normative economics, tax policy, and bicycle touring. The best way to contact me is via email.


Tumblr    Twitter    GitHub    RSS