I am Hack Sparrow
Captain of the Internets.

How to open tar.gz File in Linux

This post is a quick instruction on how to open tar.gz files in Linux. So you came across a file that has the extension .tar.gz and have no idea how to open it. Let's say you downloaded , here's how you open it. [code] $ tar -zxvf node-v0.4.12.tar.gz ... $ ls -la drwxr-xr-x node-v0.4.12 -rw-rw-r-- node-v0.4.12.tar.gz [/code] In the above example tar -zxvf will extract the contents of to a direc ...

How to Generate Compressed XML Sitemaps Using PHP

So you figured your 5 mb-and-growing dynamically generated XML sitemap has been a major bandwidth hog and are scared it might bring your website  on its knees; or maybe you wanna play nice with Google by serving it a fast loading compressed XML sitemap. Whatever be the reason, you are here to find out how to compress your xml sitemap and output it as a .gz file, something like sitemap.xml.gz. Compressed XML Sitemap ...