Posted in Webserver on February 2nd, 2008 No Comments »
i came across this idea on the internets and thought it was quite clever. it uses wget to send an http stream to madplay, a command-line mp3 playing program that lacks built-in support for playing network streams. here goes: wget -q -O – http://localhost:8000/stream.mp3 | madplay -Q –no-tty-control -o /dev/audio2 -
Posted in Webserver on November 6th, 2007 No Comments »
if you’re finding that your lightbox images are opening up behind your wordpress posts, try finding your theme’s css file and setting the content:overflow parameter from “auto” to “hidden.”
Posted in Webserver on November 6th, 2007 No Comments »
upgrading wordpress can be a pain, especially given how vague the official upgrade instructions are. here’re some actually useful instructions i found on the wordpress forums, courtesy of “nolageek”; of course, they assume you have ssh access to your server. 1. Download backup of database. 2. Upload unzipped WordPress to /wordpress-new via FTP. 3. Rename […]
Posted in Webserver on October 14th, 2007 1 Comment »
it took a little while to get my lightbox effects working with my wordpress blog [example] and my gallery2 setup [example]. here’s what i had to do: to get the lightbox loading before the page finishes loading … i didn’t use lightbox, i used slimbox. to get slimbox resizing images to fit the user window, […]
Posted in Webserver on April 30th, 2007 No Comments »
to integrate the digg button onto your wordpress blog and have text wrap around it, insert this piece of code inside of your blog themes’s index.php file, right before the line that says “php the_content(‘Continue Reading …”.
Posted in Webserver on April 25th, 2007 No Comments »
if you’re self-hosting your wordpress blog, wordpress notification e-mails won’t work out of the box. instead, you’ll need to install postfix first: $ sudo apt-get install postfix
Posted in Webserver on April 20th, 2007 No Comments »
1)Â figure out how to get lame & faad2 installed on your machine. 2)Â add the following line to your slimserver.conf file: [may have to comment out or delete the line already in place that refers to "mov mp3".] mov mp3 * * [faad] -w -f 2 $FILE$ | [lame] –resample 44100 –silent -x -q […]
Posted in Webserver on April 20th, 2007 No Comments »
to install alsactl, do the following in debian: $ sudo apt-get install alsa-utils
Posted in Webserver on April 20th, 2007 No Comments »
if you see the following error message when restoring a gallery2 backup: Security Violation The action you attempted is not permitted. Error (ERROR_BAD_PARAMETER) * in modules/core/classes/GalleryStorage.class at line 592 (gallerycoreapi::error) * in modules/core/classes/GalleryCoreApi.class at line 2792 (mysqlstorage::getmapentry) * in modules/core/classes/GalleryDataCache.class at line 628 (gallerycoreapi::getmapentry) * in modules/core/classes/GalleryTheme.class at line 1135 (gallerydatacache::getpagedata) * in themes/matrix/theme.inc at […]
Posted in Webserver on April 15th, 2007 No Comments »
if you see the following error message after upgrading to phpicalendar 2.2+: Warning: Invalid argument supplied for foreach() in functions/template.php on line 274 it’s because you copied your old config.php file; the new ones have this new line: $week_length = ’7′; // Number of days to display in the week view