Feed on
Posts
Comments

Archive for the 'Webserver' Category

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 -

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.”

how to upgrade wordpress

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 […]

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, […]

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 …”.

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

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 […]

install alsactl

to install alsactl, do the following in debian: $ sudo apt-get install alsa-utils

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 […]

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

« Prev - Next »