New VPS. What’s next?

Published on September 24, 2008 by Hallaj under Work

Some of you might have known or even noticed that I’ve moved my site to a different place. I’ve been planning to do so for quite some time now but just couldn’t find the right deal to get it on. However, I’ve finally settled down with another company. Instead of getting a VPS, I shared with a couple of friends and got a dedicated server for ourselves. However, it’s not something that I would be truly happy about though because my initial target was to get a Malaysian data center but I guess they’re just too pricey (at least, it’s from my view). I’ve managed to pull some stunts and got a better deal else where (it’s a Turkey data center now I believe). Honestly, the speed is simply a lot better compared to my old hoster (I believe it is faster, and benchmarking results proves that I’m correct).

Done with that, I guess sooner or later we might even be opened to start selling parts of our server as VPS (Xen based of course). I’ve been fiddling with Xen for a while know to finally be able to install almost all the major Linux distributions (CentOS, Fedora, OpenSUSE 10.3, Debian, Ubuntu). Now, done with all that, should I come up with a business plan already or what eh? Cheers :)

Converting Full Directory Mp3 with Lame via Shell Script

Published on September 21, 2008 by Hallaj under Scripting

I got bored earlier and was searching for Saturnine (it’s an old band from Malaysia) and I’ve managed to get a link to download their mp3. However, the quality was a bit bad so I decided to convert it manually using Lame. I didn’t download the GUI version and to convert a lot of files it would be troublesome to type the whole filename, path and so on, I’ve decided to write a custom shell script for this. Anyway, you can modify it as you see fit. Cheers :)

#!/bin/bash
 
# Input Mp3 Path
mp3Source="/path/to/my/original/mp3/"
# Output Mp3 Path
mp3Output="/path/to/my/output/mp3/"
 
for i in "$mp3Source"*.mp3; do
        myName=`echo $i | sed "s#$mp3Source##"`
        /usr/bin/lame --resample 44.1 -b 192 "$i" "$mp3Output$myName"
done

Missing..

Published on September 10, 2008 by Hallaj under General

I was just checking my email earlier and noticed that Friendster sent me an email to notify that a friend’s birthday is coming up soon. However, she has been missing for ages and there’s no telling if she is still alive or not. Her MSN status/nickname shows her Fullname (dd/mm/yyyy - dd/mm/yyyy) and I still wonder if she’s really dead or alive. She once told me that her brother and sister has access to her MSN and I was thinking that they really did access it. Her email address has died but her Friendster account seems to be alive (well, we all know that Friendster doesn’t close inactive accounts now do we?). I guess the email from Friendster would just remind us of our friends and probably haunt us to death. Have fun using Frienster then. Cheers :)

Theme Updated

Published on September 7, 2008 by Hallaj under General

Well, I guess I’m now running on my new theme. It’s not exactly a reflection of myself (the colors, but maybe the header, I’m as messy I guess). Huz has been bugging me asking when I’m updating the design and also posting a new update on my site and I guess he wouldn’t be bugging me for a while now would he? Whatever it is, if anything breaks and such, please do let me know. Cheers :)