Using Nginx to comply with a third-party API’s rate limits


API rate limits: the problem I have just started a little pet project today that involves the integration of APIs of various social networks. In order to prevent abuse, among other reasons, these APIs usually restrict the number of requests that a client (normally identified by IP address) can make in a given amount of […]

An up-to-date look at the state of web typography with considerations for usability, performance, SEO and security


Sections: Introduction A quick look at web typography’s history Image/Flash replacement, Cufon, and more Embedding fonts with the @font-face CSS rule Flash of unstyled text (FOUT) issues and workarounds Performance, security, using custom fonts in emails Web fonts providers & font licensing; Conclusions TL;DR & Disclaimer I am not a web designer myself, in that web design is not my main skill […]

share_counts Ruby gem: The easiest way to check how many times a URL has been shared on social networks!


I was looking for a way to quickly check at once how many times a URL has been shared on the most popular social networks and aggregators, but I couldn’t find any. So I wrote some code to query these social networks’ APIs and I thought it may be useful to others, so why not […]

Using Google Translate from the terminal


( Update Jan 14, 2011: If you have already used this tip and are back to this post because it’s no longer working, read on… Google have updated the Translate API v2, so I have made some changes to the end of the post accordingly. ) In a previous post, I showed a nice shortcut […]