Archive for ‘March, 2013’

Pignoli for Easter

In Portofino, last year, a random laneway lead to a tiny bakery where we stumbled across Pignoli.

These pine nut and honey tarts have a clean, sweet taste, and are perfect with afternoon tea.

Having stumbled across pinenuts on sale whilst shopping for Easter Sunday lunch, I knew I wanted to replicate this recipe.

Turning to Google, this article from Phoodie lead me to the recipe I ultimately used.

But, going through the photographs of the recipe gave me pause, initially.

pignoli-1

All looking good – the honey and sugar melting down.

Time to add the butter.

pignoli-3

Ah.

So that’s why it tastes so good.

The end result is worth it – in small slices.

pignoli-4

Sublime Text 2 – Changing Python Version by updating Build Settings

I’ve just installed Sublime Text 2 and so far I’m really impressed by it, and I’m looking forward to learning more about it’s power features.

BUT THIS HAS BEEN DRIVING ME CRAZY!

As I understand it, Sublime Text 2 runs the Mac OS X installed Python, which is version 2.6.

This means that modules that I’m trying to call in my secret project, which need Python 2.7, error out.

I HAVE SPENT HOURS GOOGLING THIS.

I really can’t understand why this;

a) hasn’t been a problem for more people than me, and

b) isn’t documented anyway, to a point that I could easily pick up and use.

In the end, the solution for me was;

In the file Sublime.python-build, add the following entry to point Sublime to whichever version of Python you want. I found that using usr/bin/PythonXX didn’t work for me, possibly because I don’t have things sym-linked appropriately.

{
“cmd”: [“/Library/Frameworks/Python.framework/Versions/2.7//bin/python2.7”, “-u”, “$file”],
“file_regex”: “^[ ]*File “(…*?)”, line ([0-9]*)”,
“selector”: “source.python”
}

Some of the (many, many) resources I used;

theshank.tumblr.com
Stack Overflow
Stack Overflow
Stack Overflow
Stack Overflow
Sublime Text 2 Forum
Stack Overflow
Stack Overflow
Stack Overflow
Stack Overflow