Today is: December 1, 2008

Geek Speak

Windows Sound Recorder - Record Over 60 Seconds?

I know, does anyone actually use this thing anymore? Well yes I do and one of the things that has prevented me from using it more is the fact that it is limited to 60 seconds of recording time. When doing some research today stumbled across this support article at the Microsoft website.

So if you've been perplexed like me on How to Increase the Maximum Recording Time in the Sound Recorder Utility you've now got your answer...and it is pretty simple to solve.

Remove 'Navigation' Text in Drupal (4.7.x)

If you're like me the use of the work "Navigation" in the default Drupal menu was a little weak. Since I'm starting to migrate all of my customers over to Drupal I needed way to remove the eyesore. Some searching the web didn't seem to turn up much (or I wasn't using the correct search term) but I finally figured it out with a little poking around.

1. Create a backup of the {drupal-install}/modules/user.module
2. Open up the user.module in your favorite editor. I just used the text editor in CPanel to edit the page.
3. Locate the following line of code:

An Introduction to RAID

When doing some searching online for some information on RAID installations on Debian stumbled across a nice little tutorial if you're unfamiliar with RAID or the different types of RAID. Take a few minutes and look it over as it also has some pictures to help you visualize.

An Introduction to RAID

Start Script During Boot - Debian

Having set up nginx and fastcgi on a server I needed the fastcgi processes to autostart (spawn) during boot so the php based CMS is operational.


user@machine /etc/init.d# ln -s /etc/nginx/fastcgi-spawn fastcgi-spawn
user@machine /etc/init.d# update-rc.d fastcgi-spawn defaults 95
Adding system startup for /etc/init.d/fastcgi-spawn ...
/etc/rc0.d/K95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc1.d/K95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc6.d/K95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc2.d/S95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc3.d/S95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc4.d/S95fastcgi-spawn -> ../init.d/fastcgi-spawn
/etc/rc5.d/S95fastcgi-spawn -> ../init.d/fastcgi-spawn

After that you should be good to go.

m3u Playlist

Have you ever wondered how you were going to muttle through all of the mp3s to create a nice m3u playlist? Well here's a quick little command for you if you're using cygwin on Windows or on a linux machine. It is really so simple is it almost embarressing that I'm posting it but it took me about a 20 minutes to get it how I wanted.


find . -name "*.mp3" -print | sed 's/.\///g' | awk '{ print "***input your complete URL to your mp3s on your webserver here***" $1 }' >> playlist.m3u

example

find . -name "*.mp3" -print | sed 's/.\///g' | awk '{ print "http://mycoolsite.coolness/music/elvis/" $1 }' >> playlist.m3u

Syndicate content

About You

Online Virus Scan