You are here


ACDSee: Changing the background colour of a transparent PNG/GIF image

Submitted by Druss on Sun, 2012-03-25 01:22

Rather than use images with transparencies, it is often preferable to replace transparent pixels with a suitable background colour.

In ACDSee 4, the background colour of transparent PNG files (or any other image file that supports transparency) is by default set to black. There is no immediately apparent option whereby you can change this colour and then save the file as a JPG or similar. After some asking around, I was told that while it is possible to customise this colour, it's a bit of a pain. Here's how:

Windows 7: Moving your user profile to another directory/partition/drive

Submitted by Druss on Tue, 2012-02-21 22:34

Continuing on with my workarounds for moving system files around, today, I decided to look into moving my user profile folder to a different partition. While IIRC, it used to be possible (in earlier versions of Windows) to do this by setting the home folder to an appropriate value in the user management snapshot, that did not work for me.

Windows 7: Changing the location of system temporary files and browser caches

Submitted by Druss on Wed, 2012-02-15 01:11

My windows machine is running off a bum drive and seeing as to how HDD prices are temporarily ridiculously high at the moment, I've decided to attempt a few workarounds to see if I can continue to use this erratically faulty drive for a couple of more months. The issue with the drive is in itself unknown. It just locks up suddenly with the HDD LED continuously on. Windows continues to be active for a while, but not terribly responsive. Sometimes, the issue sorts itself out after a while. Other times, the system reboots.

MySQL charset issues while importing data using LOAD DATA INFILE

Submitted by Druss on Tue, 2011-09-27 20:47

Earlier today, I was banging my head against the wall trying to import some data in a CSV file into MySQL. While my imports have gone well thus far, this time around I was dealing with data involving lots of strange diacritics, runic squiggles and other manners of gibberish that make the world as fun as it can be. In other words, I was dealing with Unicode.

Implementing a shutdown timer in Windows 7

Submitted by Druss on Wed, 2011-08-17 21:15

Every now and then, I find the need to shutdown my PC automatically at a specified time for some reason or the other. In my most recent case, I needed to shut my Windows 7 PC down at 8am in the morning anticipating a scheduled power shutdown in my block. While there are many GUI-based applications out there that could do this for me, I chanced upon a simpler solution detailed below:

Google Chrome infected with the Facemoods toolbar and search engine

Submitted by Druss on Thu, 2011-08-11 00:38

I tried searching for something in Chrome a few minutes ago and found that my search was being handled by something sinisterly named Facemoods. Aghast, a few more checks confirmed that I had a toolbar installed on my system of the same name, the Chrome search engine was set to Facemoods by default and that I had an extension installed as well. A little more digging revealed that all this was jDownloader's fault as it installs the toolbar during its own installation process. Not good.

Removing all this junk involves the following steps:

Configuring Vim/Gvim to use spaces instead of TABs for indentation

Submitted by Druss on Wed, 2011-08-10 03:00

Some people like to indent their code using TABs. I used to like doing this. I still think that it's a good idea. But circumstances have dictated for the past several years that I need to indent using spaces instead. My favourite command-line editor in Linux and text editor in Windows is VIM / Gvim (where Gvim is basically Vim with a GUI). To configure this editor to override its default and use spaces instead of TABs for indentation, perform the following steps:

SSH password-less login using PuTTY on Windows

Submitted by Druss on Thu, 2011-06-30 00:27

So, if you, like me, have to resort to PuTTY sometimes to SSH into a Linux box, I'm sure that you have also subjected yourself to much gnashing of teeth at the lack of a Windows solution to password-less logins into your server. For the uninitiated, password-less SSH allows you to log into a server without manually authenticating yourself.

Compiling and installing KTorrent 3.3RC1 on Kubuntu Karmic

Submitted by Druss on Sat, 2009-11-07 20:30

Compiling KTorrent 3.3 RC1 on Kubuntu 9.10 Karmic with KDE 4.3:

Update 1: This works with 3.3 final as well.
Update 2: This works with 4.0 beta1 as well.

  1. Install cmake and related tools:
    sudo apt-get install cmake automoc build-essential gettext
  2. Install other required libraries:
    sudo apt-get install kdelibs5-dev kdebase-workspace-dev kdepimlibs5-dev python-kde4 libboost-dev libtag1-dev libqca2-dev libgmp3-dev


Subscribe to RSS - Guide