Wednesday, December 29, 2010
Wednesday, December 1, 2010
Oh, just some girls jumping ropHOLY...
Posted via email from GLTSS
Oh, just some girls jumping ropHOLY...
Posted via email from GLTSS
Tuesday, November 2, 2010
Wednesday, October 6, 2010
Tuesday, September 28, 2010
Monday, September 27, 2010
Sunday, September 26, 2010
Saturday, September 25, 2010
Friday, September 24, 2010
Wednesday, September 22, 2010
Monday, September 20, 2010
5 Important New Trends in Location
Posted via email from GLTSS
Saturday, September 18, 2010
The Inspirational Gospel Singers-The Same Thing It Took
It's been on heavy rotation over here. - tonik
Posted via email from GLTSS
Thursday, September 16, 2010
Wednesday, September 15, 2010
Tuesday, September 14, 2010
Friday, September 10, 2010
Thursday, September 9, 2010
Wednesday, September 8, 2010
Tuesday, September 7, 2010
Compress CSS and JavaScript Using PNGs and Canvas
This is a sneaky trick. It was devised by Jacob Seidelin at Nihilogic.dk and has been used by some participants in the 10K An Event Apart competition, though there is some contention as to whether it’s in keeping with the spirit of the event.
That said, it’s interesting to see how it’s done, so let’s have a look. Here are the steps:
1. Minimize your application
The first step is to squeeze your final CSS and JavaScript to the smallest possible size using any decent compression tool.2. Encode your CSS and JavaScript as a graphic
This is the tricky part. You need to convert your ASCII-encoded CSS and JavaScript files into a single binary image. The PNG format is best because it’s lossless (your code is preserved), uses zlib compression, and is supported by all browsers.Web developer Cal Henderson has published his research and PHP/Perl code that converts code to an image using various formats such as 1-bit, 8-bit, 24-bit, and so on. You can view the jQuery library as a 1-bit square here.
The PNG can be reduced in size further using tools such as Smush.it and PNGOUT.
3. Extract the code from the image
We now need to load the image and convert it back to executable code. This can be achieved by loading the image into acanvas
element using thedrawImage()
method. Individual pixels are then read usinggetImageData()
, and converted to a string that can be passed toeval()
or embedded into the DOM.
Posted via email from GLTSS
A List Apart: Articles: The Look That Says Book
Posted via email from GLTSS