Archive for the ‘How-To’ Category

Pull up your socks – The magic of tsocks…

So if you are in a same situation as mine, you probably… Are on an MNC’s intranet which is being simultaneously used by a ton of other souls Get pathetic internet speeds, at times – measurable sometimes in BYTES! Even “git pull” takes like ages to complete… Any connection to Twitter is severed before it [...]

An interesting problem to solve when migrating wordpress blog to a new URL

Problem Scenario I migrated my blog from makuchaku.info to makuchaku.in – and wanted everyone who was linking to my “.info” domain, automagically gets linked to my “.in” domain. Ofcourse, I cannot change all the possible places from where my .info blog is linked. Challenges I want “.in/” to be served when “.info/” is cliked I [...]

Howto fix slow and choppy flash/video on ThinkPad T61 running Ubuntu Jaunty

Very recently, I upgraded from Ubuntu Intrepid to Ubuntu Jaunty – and to my horror, the system went very slow! I wasn’t sure what was causing the problem but Xorg reported near 100% CPU utilization in “top” output, Firefox felt very very heavy, flash videos on youtube were choppy and slow – even Gedit felt [...]

How to setup a remote GIT repository and play with branching

Given, you are a new GIT user/admin and want to setup an SVN like client-server architecture for your git repositories, wherein a server hosts the repository and many developers use that repository to track source code. Do checkout Peepcode’s screencast on using Git. It is a MUST watch for any new Git user/admin. ORIGIN (we [...]

How to create subdomains for domains bought via Google Apps (Enom)

This was supposed to be the easiest thing (as in CPanel – goto Subdomains, click create a new subdomain, specify a directory and you’r done!)… but allas! It took me a full day to figure this out I’m sad… Anyways… as Enom’s Domain control panel is, there is no way of doing this. All you [...]

How to check if the $file is as original as installed by the rpm?

I assume that you are running a version of FC 1) Import the GPG key from the fedora server Assuming you are doing it on a FC6 base system wget -c http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/RPM-GPG-KEY rpm –import RPM-GPG-KEY 2) Once import is done, check your rpm with rpm -V rpm_name …thanks to paranoid Lap_64 to bring this up! [...]

Escaping those commands…

If you work like me, editing & moving files constantly between two users on the same linux box, you know that copying files from one home directory to another is hell! Specially because each time you have to switch to root, copy & then chown it to the new user! I’ve got a better idea… [...]

Enabling ATI Radeon Mobility M300 on Linux

Playing Q3 on a Dell Latitude – D610 is tough without your ATI card supporting your moves This is how to enable support for your ATI Radeon Mobility M300… [btw, just to mention, I'm using Dell Latitude - D610 notebook] 1) Go to ATI’s website & download the driver install system To be more generic, [...]

Desktop Sahring in Linux – Vino

Run vino-preferences & configure it as per your choice Then do “vncviewer makuchaku:0″ to access your desktop in rw mode You can add -viewonly to the above command to make it viewonly. [update] oh, forgot, you need to get vnc installed on your machine to use vncviewer yum install vnc [/update]

Sound suppot on FC4 (Dell Latitude D610) & MP3 support for Amarok

Sound in FC4 It was a matter of just one click & we were banging our heads against the wall from past one night… (Gnome) Applications > Sound & Video > Volume Control > Prefrences > check “External Amplifier” & also enable it from the main window. MP3 playback in Amarok rpm -ivh http://rpm.livna.org/fedora/4/i386/RPMS.lvn/livna-release-4-0.lvn.5.4.noarch.rpm yum [...]