Archive for the ‘Life the Universe and Everything’ Category

Blog Posting with Emacs using org2blog

By Mark Davidson on January 15th, 2012

Its been a long while since I did a post, but after neglecting this blog for quite a while I’ve decided to get back on doing regular posts again. While I’ve been away Emacs has rapidly become my editor of choice and this will be my first post on the subject.

So to the actual point of this post with my use of emacs has come the attitude that I should do as much as possible within it as it helps improve my skills and well emacs is awesome as everyone should know. To this avail I started looking for a way to post to a wordpress blog from within emacs. A quick search turned up org2blog as the best tool for the job. So in this post I’m going to give a quick overview of setting up org2blog in emacs and using it to make your first blog post like I am here.

Read & Comment ›››

magit cheatsheet

By Mark Davidson on June 7th, 2011

It’s been a long time since I’ve done a blog post since been quite busy with life the universe and everything. But today I finally got round to do something I’ve been intending to do for a while.
Which was to take the Magit Cheatsheet by daemianmack
and make it a bit more print friendly.

I’ve managed to accomplish this and have converted the 6 pages of HTML to 2 pages using latex giving it a more friendly layout. The result of this can be found in my git repository here and you can download the magit cheatsheet pdf here. I’d welcome any feedback people would like to offer. I plan on improving this cheatsheet as I master magit so stay tuned for updates.

delicious cron bookmark backup

By Mark Davidson on December 31st, 2010

I’m a bit late covering this one but a few weeks back it came out that Yahoo are getting rid of delicious. Despite their claims they will find someone to take it over, I really don’t trust the fact that one day it might just get turned off. So I decided to write a simple cron that uses their API to backup my bookmarks every three hours and run it on one of my VPSs.

0 7-23/3 * * * curl https://username:[email protected]/v1/posts/all > /home/user/bookmarksBackup/$(date '+%Y%m%d-%H:%M').xml

Just add that entry to your crontab changing the username, password and path where you want to save it to appropriately. That’s it simple backup just in case Yahoo make an even worse decision than they already have.