Archive for March, 2007

Bash Script Podcatcher

Yeah, I know there’s bashpodder, but it doesn’t store podcasts like I want. I like to keep each of my podcasts in a separate directory without having new podcasts dumped into a “today’s” folder (although on a podcast by podcast basis this might not be bad), and it’s just not as flexible as I’d like it to be. So I decided to make my own.

Main Features:

  • keeps podcasts in separate directories
  • has each podcast keep track of its own downloaded files
  • uses *.info file to store metadata about a podcast (will eventually be used for retagging)

Any feedback and suggestions are welcome. Name suggestions are also welcome. 😉

— EDIT —

WordPress kept cutting out some of the code, so I put it on a pastebin. You can find the complete script here.


March 29, 2007 at 11:54 pm 1 comment

Watch Any Video in ASCII

I discovered this by accident when trying to find out how to get XINE to use an ISO file as a DVD. (xine dvd://full/path/to/iso/file.iso)

Aparently the xine-ui package with Slackware comes with a program to play video in ASCII text! 😛 (aaxine) The picture quality isn’t that great up close, but if you sit back the picture isn’t that bad. Ironically any text that is displayed in the movie becomes indestiguishable unless it’s really big, so good luck reading the warning label at the beginning. (haven’t tried to get subtitles working though)

XINE is supposed to have color support using the caca library (Color AsCii Art library) but every time I tried to use it XINE crashed. 😦

Here’s a screenshot of aaxine playing “The Alliance” from NBC’s The Office (US). 😛

NBC’s The Office (US) viewed with aaxine

March 26, 2007 at 11:30 pm Leave a comment

Wired NIC Slowing You Down?

This has been one of my biggest Slackware annoyances but I finally found a solution.

I have a laptop with 2 NICs. (wifi/wired) I normally use the wireless NIC unless I’ve been too lazy to update /etc/rc.d/rc.wireless.conf with the WEP key. This fact doesn’t stop Slackware from trying to get an address for the wired (eth0) NIC. This freezes the boot for at least 30 seconds, which is really annoying for a guy that likes to restart a lot.

To fix the problem add the DHCP_TIMOUT[0]="0" to /etc/rc.d/rc.inet1.conf. eth0 should now not be loaded at boot. If you need to use eth0 later you will need to call dhcpcd manually to get an address.


I may have been wrong about this one. Try just getting rid “yes” from the USE_DHCP[0]="yes" line.

March 24, 2007 at 7:58 pm 1 comment


I really need to learn how to use a debugger. I know it’s no substitute for really trouble shooting code, but sometimes it’s nice to know what’s going on while a program is running. I’ve also had my eye on bashdb, a debugger for bash scripts. Well, the only way to learn is by experience I guess.

March 21, 2007 at 10:01 pm Leave a comment

Nifty Thunderbird Extention

Usually I’m not an extention kind of guy, but this one is really cool. It’s called Mail Redirect. It gives thunderbird the abillity to put email messages back on a mail server while keeping the origional headers intact. It may not sound very useful, but it really is. With this extention you can easily transfer messages from one email account to the other, or sync the messages in two mail accounts.

Very cool. 🙂

March 17, 2007 at 11:31 pm Leave a comment

Looking into Printers

I’ve been printing a lot of code in color recently so I decided it might be time to start looking into buying a new printer. My current HP PSC 1510 works great, but the ink doesn’t seem to last very long for the $20-ish per cartridge. I was plan on getting a laser jet printer since they seem to do better with high quantity printing. I’m leaning towards getting the HP Color LaserJet 2600n($399) over the HP Color LaserJet 1600($299) because the cartriges look like they last twice as long for the same price. (I’m not really a HP fanboy, but I’ve been really impressed with my current printer and HP usually has decent Linux support.) The reviews on HP’s site were good (depending on how trustworthy they are 😉 ) but I still want to do a little bit more research before buying it.

There is a Linux driver which is a big plus, but it’s not installed with Slackware.

March 17, 2007 at 12:35 am Leave a comment

Searching for SlackBuilds Just Got Better

It’s been a while since I’ve had a chance to work on SINP (SINP Is Not Portage), but I managed to finally get some time in today. The next release of SINP (alpha 2) will be completely different from its predecessor, especially how flags tell SINP what to do.

I started by cleaning up SINP’s search ability. You can now use 3 different methods for searching. (hopefully 4 when I’m done) You can crawl an FTP site (the current way) and search for SlackBuilds by name, you can search using their sites search engine (which is way faster and allows searching using keywords), or you can search for SlackBuilds on the local machine using the find command. I haven’t figured out how to search http:// repos yet, but that will come when I find out how. I have a little bit more code clean up before the new searching makes into the final script, but it shouldn’t take too much longer.

March 10, 2007 at 2:25 am Leave a comment

Older Posts