[SOLVED] ‘Unknown’ filesystem in gparted

I had a primary NTFS partition with windows 7 installed on it. Somehow, its bootloader went corrupt so I used install-mbr in ubuntu to fix that but it only made the problem worse. Now my system didn’t recognise the partition as NTFS partition and I couldn’t access the partition. I modified the partition ID using… Continue reading [SOLVED] ‘Unknown’ filesystem in gparted

[SOLVED] “Ignoring file ‘.distUpgrade’ / ‘.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension” on Ubuntu 10.10

Recently apt-get update started throwing notices which read: Ignoring file ‘opera.list.distUpgrade’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension Ignoring file ‘opera.list.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension It occured because sources.list.d directory isn’t supposed to contain files with .distupgrade and .save extensions, but since I upgraded my distribution from 10.04,… Continue reading [SOLVED] “Ignoring file ‘.distUpgrade’ / ‘.save’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension” on Ubuntu 10.10

Ubuntu 11.04 named ‘Natty Narwhal’

Ubuntu 11.04, which is to be released in April 2011, has been named Natty Narwhal as mentioned on Mark Shuttleworth’s blog. Check out the entire blog post here. Seems reasonable, as weird sounding as all previous names. Ubuntu, you never disappoint me!

[HowTo] Add expires headers to cache static files using htaccess

Caching is one of the most important things to keep in mind when you are developing a website which is expected to get large amount of visitors. Most web developers neglect caching, some even don’t know correct ways to implement it. In this tutorial, I’ll show you how to enable browser cache of static files… Continue reading [HowTo] Add expires headers to cache static files using htaccess

Published
Categorized as how-to

[HOWTO] 5 methods to find out your linux distribution name and version through command line

There are lots of commands to find out your ditribution name and distribution version. Some work on some distros, some work on others. Here are some of the methods: lsb_release -a cat /etc/*release cat /etc/issue cat /proc/version uname -a One of these methods will surely tell you your linux distribution name and current version. Cheers!

[SOLVED] Error ‘dpkg: error processing (–unpack) trying to overwrite…

Recently I got this error after installing VLC on Ubuntu 10.10 Maverick Meerkat. Not really remembering what caused the error to be triggered in the first place, it became very difficult to find a solution for it. When I executed sudo apt-get upgrade to upgrade my packages, it told me there was some issues and I needed… Continue reading [SOLVED] Error ‘dpkg: error processing (–unpack) trying to overwrite…

Passing variable number of arguments to a function in PHP

We all know about functions and how we can pass arguments to it. But did you know that we can pass variable number of arguments in a function? Consider a function sum() which adds numbers passed into its arguments. Now we want it to add all the numbers passed onto the arguments. Eg; if we… Continue reading Passing variable number of arguments to a function in PHP

[Solved] ‘Public key is not available’ error on apt-get update in Ubuntu

I came across this error while doing sudo apt-get update W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E19B8 W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9ABD05E22847688C This made me… Continue reading [Solved] ‘Public key is not available’ error on apt-get update in Ubuntu