IPTables: Personal Firewall to protect my laptop

Categories: Howto, Linux, Networking

Firewall! What a high sounding word! Means high protection & a safe cocoon for all the newbies. Thats exactly what I did setup in my laptop: A firewall! A personalized firewall. My use cases & reasons were very simple. Every once in a while, I expose my laptop to unsafe open Internet like the cafes, […]

HowTo: Show/Display available network interfaces

Categories: Howto, Linux, Networking, Ubuntu

The biggest problem I found was not identifying all the network interfaces available but the ones that are up. For instance, the 2 quickest way to identify all the available network interfaces are: ip link $> ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd […]

HowTo: Disk space reduction on C:\ Drive [Windows 7]

Categories: Howto, Windows

I am suffering from a big time space crunch when it comes to my windows box. Unbelievable. Even a 300G disk seem insufficient! And, I am geeky enough to ensure my private stuff, work stuff & OS stuff does not reside on the same partition. Yet I get into super-duper mess! Now I am at my […]

What is hiberfil.sys and how do I delete it?

Categories: Howto, Windows

Did you also notice a giant (apparently) useless hiberfil.sys sitting in your C:\?! So did I. Well, it is nothing but “a placeholder if we choose to hibernate the system.” The geeky information here is if the user chooses to hibernate instead of sleep or shutdown then the entire RAM (at that point in time) […]

Ubuntu: How to solve a GPG Error (BADSIG)

Categories: Howto, Linux, Ubuntu

Well, well, haven’t we all faced this irritating issue where apt-gets begin to fail? I have faced it one too many times. Frustrating and mind-numbing. One of the common error is the infamous GPG Error. A “BADSIG” scenario. For instance, I faced this today: $> sudo apt-get update … … … Ign http://archive.ubuntu.com trusty-security/main Translation-en_IN […]

Ubuntu: Disable start of a service on boot

Categories: Howto, Linux, Ubuntu

A simple problem I was facing in Ubuntu was finding an equivalent of “chkconfig” available on the Redhat flavors. Well, for the unaware people: ‘chkconfig‘ is popularly used for adding or removing any services during boot. In other words, it updates and queries runlevel information for system services. So, my search was for a similar tool […]

C: Find memory corruption & leaks

Categories: C

Well, we all face this problem at some time in our programming lives. Did our code mess up the memory? Did I screw up any of the pointer addresses? Did my code overflow or underflow memory? Does my code leak memory? Well, is there a direct solution to this one? Perhaps, yes. Perhaps, not! It […]