Archive for the ‘Software’ Category
Disable Pulseaudio
If you hate that worthless, piece-of-shit “sound server” they call Pulseaudio and want to prevent it from taking over your whole computer, try this script I found somewhere.
#!/bin/bash
touch ~/.pulse-a11y-nostart
echo autospawn = no|tee -a ~/.pulse/client.conf
killall pulseaudio
Reboot.
Then remove all the PulseShit packages. Sweet Jesus in Heaven, what were the Ubuntu people thinking when they made Pulseaudio the [...]
Wordpress upgrading / installation problems
Unable to install new or upgrade themes and plugins? Even though your permissions are ok? It’s a problem that’s got to do with (1) your web host and their incorrectly configured servers and (2) Wordpress not being flexible enough to work around those bad server configs. Here’s a patch that can help.
Controlling jQuery UI Selectmenu
I’m just started using selectmenu and wanted to share how to control it. It’s not completely obvious to inexperienced jquery UI folks like myself…
Specifying a trigger function
First, we create the selectmenu UI widget from an existing <select> control, with the id=”selectmenu”.
$(“#selectmenu”).selectmenu({
change: selectmenuChange
});
And selectmenuChange…
function selectmenuChange(event, value)
{
switch(value.value)
{
case 0:
alert(‘Hello!’);
break;
}
$(“#selectmenu”).selectmenu(“value”, “ignore”); // Put it back on the first option.
}
The last [...]
phpAutoIndex
phpAutoIndex is a PHP5-script that was written to quickly and easily share files and texts amongst friends. It is similar to Apache’s autoindex module in that it lists the files of a directory, but it also allows user to upload files and texts.
Switchscreen
Switchscreen is a utility to switch monitors. As of v0.1.1 it doesn’t really work properly because of my sloppy window focus setting, but I’ve added some modifications I found in another modified version. Now you can switch between several monitors and yet keep the mouse [...]
