Monthly Archives: March 2012

Android Fragment Lifecycle – ICS

Posted in Blog Tagged with: ,

Requesting a file from a different domain using JSONP – The complete jQuery tutorial

http://www.jquery-tutorial.net/ajax/requesting-a-file-from-a-different-domain-using-jsonp/

Posted in Blog

Implementing Gzip Compression

With .htaccess: Copy and paste this code into your .htaccess file:

With PHP: [cc lang=”php”] ob_start(“ob_gzhandler”); [/cc]

Posted in Blog Tagged with: ,

Installing CURL on Turnkey Linux LAMP Stack

[cc lang=”bash”] apt-get update apt-get install curl libcurl3 libcurl3-dev php5-curl [/cc] Then restart the server.

Posted in Blog Tagged with:

JavaScript to display generated source in new window.

[cc lang=”javascript”] function newWin() { ven = window.open(”, ‘_blank’); var results = document.documentElement.innerHTML; var match = “

Posted in Blog Tagged with: , ,

Prototypal inheritance in JavaScript by Axel Rauschmayer

Held November 2, 2011 in Munich. Slides: dl.2ality.com/dl/2011/10/proto_intro.pdf Details: 2ality.com/2011/11/proto-intro-video.html

Posted in Blog

Google Feed API example

[cc lang=”html” height=”140″ lines=”37″] [/cc]

Posted in Blog Tagged with: , , ,