Installing Pandoc for Convering Markdown to Pdf

Pandoc is a nifty command line tool for inter-conversion between file formats. I use it for converting markdown to pdf.

Installation process for OSX:

# first make sure you have wget (doesn't come with stock osx)
brew install wget

# make sure you have a certificate file for wget to make secure connections. If not:
sudo curl -O http://curl.haxx.se/ca/cacert.pem
mv cacert.pem cert.pem
# add this to your environment variables
export SSL_CERT_FILE=/Users/<username>/cert.pem
export PATH=$PATH:/usr/local/texlive/2013basic/bin/universal-darwin

# pandoc installation
tlmgr update --self
tlmgr install ucs
tlmgr install etoolbox

# pandoc installation
brew install haskell-platform
cabal update
cabal install pandoc

# update path to reflect installation
export PATH=$PATH:$HOME/.cabal/bin:/usr/texbin:/usr/local/texlive/2013basic/bin/universal-darwin

# run your converstion command
pandoc test.txt -o test.pdf

Nature’s Abundance - Devdutt

We are just not able to sit back, relax and enjoy the abundance that nature very spontaneously brings before us.

Great post from Devdutt.

How I Remembered Roshambo 2.0 (Rock Paper Scissors Lizard Spock)

The title was just to grab your attention. The tl;dr version of this post is: get good at story telling. It’ll help you with two things:

  1. Becoming a better presenter.
  2. Improving your memory.

I urge you though, to read this post in it’s entirety. You might some of the stories interesting:

Flat Design vs Skeuomorphism

The seminal articles of this year detailing what Skeuomorphism really is, why designers today are increasingly moving away from it and why it isn’t always a bad thing.

If you’re into user experience design, reading this article is mandatory.

Opera Next - First Impressions

Opera released a new version of their browser today: “Opera Next” is an alpha release that is powered by Google’s rendering engine Blink:


My first impressions:

30 Things You Should Do Now

Great post with many pearls of wisdom. The ones I took away:

  1. Meet your neighbors. Bake something and give it to them. You don’t even have to talk to them; just give them cookies.

  2. Change your own damn oil. Ask your mechanic questions when something goes wrong instead of just handing him the keys and describing the smell. A car is not a Rubik’s cube. It’s fairly simple once you read this and take some notes. Also, save up for a while and buy an AAA membership. Being stranded blows.

  3. Leave 15 minutes early for everything.

  4. Remember when lazy was an insult and not an emotion?

Sublime Text Goodies

For the folk using Sublime Text out there, you’ll totally love these links:

Sublime Text theme and color scheme

  • Phoenix theme by netatoo - I think this is by far the best theme I’ve come across(it’s built on Soda which for quite some time was the best theme out there).
  • Tomorrow Night color scheme - There’s a customized version of this color scheme that comes with the Phoenix package. Highly recommended!

Helpful plugins

Built in customizations

  • There’s a command called “reveal_in_sidebar” that I’ve found pretty useful. Add to your bindings like so (by way of Bryan from codeclimate):
// reveal in sidebar
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },

Ruby developers

  • The RSpec plugin by Neil Sarakar is a god sent. Unfortunately haven’t got it working with the ST3.

oAuth for Dummies

I recently had to mess pretty deeply with an oAuth implementation. A friend asked me how I understood oAuth and I remembered this link. I’ve scoured the web for explanations and I think if you take the time to read the linked post, it’s the best explanation out there.

What is oAuth? If you’ve ever wanted to know how the “Sign in with Google/Facebook/Twitter” etc. services worked, thats oAuth! For smaller shops, this is infact more secure than trying to spin up your own implementation. For my non-developer audience, you can get a brief but good understanding with this gentle introduction to oAuth by Lifehacker.

When you’re ready to find out more, the linked post is the way to go. There’s got to be an easier way to explain this though. I’ll try working on an easier visualization for oAuth, when time permits.