How to Recover Deleted Files in Linux

There is a difference between deleting files using a windows manager GUI and deleting files using CLI. When deleting files using windows manager you are simply moving files from one directory to trash directory. The only thing that gets updated is your filesystem inode metadata information (timestamps, block maps, extended attributes) for that specific file.

Speed up your Ubuntu updates with apt-fast

As far as package manager goes apt-get is perhaps the most popular and well-liked package managers out there. One of the reasons Debian and Debian based distributions are so popular is because how ridiculous convenient the package management is. Having said that speed probably not one of the bright spots of apt-get. It’s mostly because […]

How To Prevent a Specific Ubuntu Package From Updating

Sometimes a newer version of popular packages may no longer support older config options. So either you have to painstakingly port all the old config options to the new ones, or hold off on updating the applications at all. One way to do it would be to only upgrade the packages that you do want […]

How to use the internet in a post-prism world

How does a typical person use the internet? Either you live in the Googleverse, where you use the best search engine in the world to search for everything that is important and personal to you, most likely while being logged in to your google account so that you get a more curated and intelligent search […]

Host your own dropbox-like cloud backup service under 5 minutes

Over the years, we have all come to love and depend on dropbox for its seamless and no-nonsense sync and backup feature. Even now after all these years when there are so many cloud services out there with bigger storages backed by big companies, I would still recommend dropbox as a first choice. Having said […]

Quick Tip: How to change nginx server header using varnish

This is how my custom server header looks like (Server:R2D2) – curl -I HTTP/1.1 200 OK Content-Type: text/html Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT Expires: Sun, 12 May 2013 02:55:30 GMT Pragma: public Cache-Control: max-age=3600, public, must-revalidate, proxy-revalidate Etag: c39b09b955e4bb5b69b56bce7e36ce7e X-Powered-By: W3 Total Cache/ Vary: Accept-Encoding Server: R2D2 Date: Sun, 12 May 2013 […]

about | twitter | facebook | archive | rss