fusi0n
14Jul/11

OAuth, Timestamps and VPSes

During yesterday's #HackEmail, I was hacking away on a little Context.IO/Dropbox application to allow users to send files to their Dropbox by email.  I only had a few hours to come up with a working prototype to have a shot at taking first place and the glorious iPad that came with it... however, I ran into a problem.

See, the OAuth protocol uses timestamps and nonces to validate requests. Should the timestamp of the requestee be negative or inferior to the timestamp of the requested, the request will fail and the whole OAuth workflow will fail, and chances are you'll have no goddamn clue why. Fear not! I experienced it, so I had to understand it.

8Jun/11

Dynamic DNS Updater: dynDNS.Namecheap

I found out earlier this week that my favourite registrar, Namecheap, has a nifty little tool you can use to dynamically update the Namecheap-hosted domain A records. There's very little documentation available, despite the awesomeness and usefulness of such a tool, Namecheap doesn't really advertise it. The only piece of information related specifically to the dynamic DNS update manually is buried in Namecheap's knowledge base under "How to use the browser to dynamically update host's IP" and, after some Googling, a 5 years old non-exhaustive list of returned XML values on some obscure forum.

In order to ensure this works, however, there are a few dependencies:

That being said, it's relatively simple to understand. Most of the job is done server-side, so all you really need to do is hit a specific URL and let Namecheap do the rest:

https://dynamicdns.park-your-domain.com/update?host=&domain=&password=

Once you know that URL, it's pretty easy to implement something around it. Here's my little facilitator built in PHP:

Download it or browse the source.

8Jun/11

Twitter Direct Messages Bulk Deleter

If you're a Twitter user and a organisation freak, you're certainly aware that Twitter doesn't give you the ability to bulk-delete direct messages. Back in the days, Damon Cortesi had built a nifty bookmarklet that allowed you to stick it to the man. Problem is, that bookmarklet is now deprecated, due to Twitter's change of layout - most of the stuff just doesn't work the way it used to, so the infamous DM Whacker was laid to rest.

Until I got really fucking tired of all the direct messages. Here's a reboot of Damon Cortesi's DM Whacker: DMDelete-v2.0. It's fast, uses Twitter-specific resources (such as their jQuery and dialogs), and is merciless. Give it a try, all you have to do is drag the link blow to your bookmark toolbar (or wherever you want really), go to your Twitter inbox and click it!

This is beta software! Feel free to relay any feedback you might have after using - it's rather challenging to thoroughly test this piece of code on my own, so there may be random hiccups.

DMDeleter-v2.0

Browse the source

26Mar/11

Cydia 1.1 Released – New and Improved Alternative Market for Jailbroken iPhones

Just wanted to do a quick post to let you all know that Saurik has announced the relased of Cydia 1.1, described as "faster, slimmer, and more stable; including an improved search algorithm and 'resume where you left off'"

Get it straight from Cydia 1.0 - it should be labeled as an "Important Update".

Have fun, and feel free to let others know what you think of 1.1 in the comments!

Source: Modmyi

10Mar/11

New Plugin: Browser DNS Prefetching

Browser DNS Prefetching is a WordPress plugin that allows users to select whether they want to activate, deactivate or selectively configure Browser DNS Prefetching.

To learn more about DNS Prefetching:

Get the plugin over at WordPress Extend!

10Mar/11

I really suck at blogging

It's not really a surprise is it? Sometimes I'm very motivated to write this or that, sometimes I really couldn't care less. It's been the latter for some time, and I feel like I'm just letting this site die (or live off 3-4 posts) slowly. I don't like that, so I'll try and figure something interesting to do with this site.

Also, I just noticed that somehow, all my categories have been deleted. Not sure how that happened, but it only motivates me to drive this thing to the ground and start over. Please bear with the lack of content for now. Well that's fixed.

Stay tuned!

11Nov/10

10 of the Best WordPress Plugins

WordPress is an extremely powerful and popular blogging platform. There are over 27 million WordPress publishers as of September 2010: 13.9 million blogs hosted on WordPress.com plus 13.8 million active installations of the WordPress.org software (source). If that's not enough, there are 17,428 registered plugins to extend its functionality and 4,406 registered themes to modify its look. With all that, it can get complicated to choose the best plugins to achieve what you want. Here's a list of my personal favourites.

Page 2 of 11
1
2
3
4
5
10
...
Last »