textLocker: a simple note app

Sorry for not updating for a while, I've been pretty busy and have been moving around a lot. For the last two days, I've been working on my first CodeCanyon submission, textLocker. It's a really simple script which allows you to set up your own note hosting site in seconds…

Log.io Install Woes

I use Log.io to monitor my server logs without needing to SSH in all the time. However, it's a little troublesome to install. The docs suggest you install it as follows: $ npm install -g log.io Seems easy, right? Nope. sh: 1: node-gyp: Permission denied After a little searching…

Photos from Sri Lanka

Finally got good enough internet to upload some pictures from Sri Lanka, so here are the ones from the past week. When I leave I'll write a post with more information on what I did/saw, but till then I don't really have enough time. Quick train selfie to show…

So far in Sri Lanka

At the time I post this, I've been in Sri Lanka just over 30 hours. The first few hours weren't great, I flew 'overnight' (from 2am till 6am) and had possibly the worst flight of my life. Then, after landing an hour late at Colombo (one of the nicer airports…

Photos from Shaxi Town

Shaxi (沙溪), as described by it's rather brief Wikipedia entry is: a historic market town in Yunnan province, China. It begin as a trading town for tea and horses around 618 AD. It is the most intact town on the ancient tea route from Yunnan to Burma. I stayed here…

NSAWatch - Check if you're on the watchlist

Want to check if you're being monitored by the NSA? Just visit my mini-site, NSAWatch, and enter some information and the script will check if you're on a watchlist. Inspired by this and this comment on Reddit. This is satire, please don't take it seriously. No data is collected or…

Tiger Leaping Gorge

Quick and dirty photo dump from Tiger Leaping Gorge, which I hiked today. The hike is usually done over two days, and totals around 25km, however I did it in one and it wasn't too bad. The scenery at the begining of the walk is amazing. This shot, just a…

Async return from nested functions

One of the sites which I run, Proxgur, uses a module called request to fetch and store content from external URLs. The (basic) syntax is something like this: request({url: 'http://site.com', function(e, r, b){ [...] }); Where e, r and b hold error, response and body data respectivly. I…

POST to static file on Nginx

Nginx is one of the most popular web server scripts available, second only to Apache. It is infamous for it's heavy caching systems and is most commonly used with Node.js, due to it's easy implementation of reverse proxy, while Apache is usually used for PHP scripts. My home development…