Goldsmith
Thursday, July 15th, 2010When hiring or being hired, if they fuck you during the application they will fuck you on the job.
When hiring or being hired, if they fuck you during the application they will fuck you on the job.
I needed mysqlnd support
First:
sudo apt-get install apache2-prefork-dev
then download php source from php.net
unzip it somewhere and then:
'./configure' '--with-mysql=/usr' '--with-curl=/usr/local' '--with-gd' '--enable-cli' '--with-zlib' '--with-openssl' '--enable-bcmath' '--with-mcrypt=/usr/local' '--prefix=/usr/local/php' '--enable-mbstring' '--enable-soap' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2/
make
sudo make install
sudo apache2ctl restart
NB: Having to restart it twice has been observed??? Just sudo apache2ctl restart again if need be.
No work is better than bad work.
Spent a few hours today trying every variation of fixes on the web.
This one actually works! Thanks to Jeff Rasmussen: http://jeffrasmussen.wordpress.com/2009/02/04/ubuntu-quickcam-express/
On his Step 11: In case you don’t know: remove the module thusly: sudo modprobe -r quickcam
Here is a copy of the code already patched and ready to go:
qc-usb-source-patched-for-ubuntu-8.10.tar.gz
With this code you should just have to:
remove your camera from the usb port
make quickcam.ko
sudo cp quickcam.ko /lib/modules/$(uname -r)/kernel/ubuntu/qc-usb/
modprobe -r quickcam
plug camera back into usb port
start cheese
Some more readable examples:
http://www.cs.ucl.ac.uk/staff/c.clack/phd.html
http://www.ccs.neu.edu/home/shivers/diss-advice.html
http://www.phys.unsw.edu.au/~jw/thesis.html
The irony is that so many pieces of advice on writing are so bloody unreadable.
Science is the search for fact.
Art is the search for meaning.
Engineering is the application of both.
Discuss.
Can’t figure out how to use mame on linux with an arcade joystick?
The trick is that you need to set the directories to point to where the keymaps are. Otherwise you just get a blank dropdown. This is really frigging annoying as there’s little documentation and its less than obvious (to me anyway).
Here is the solution:
Settings->Directories->Mame/Mess additional paths.
Set the directory path to where the joystick config path(/etc/xmame/ctrlr/):
Then when you go back to configure kxmame->Controllers there will be items in the controller dropdown.
Once selected, you’ll find that your joystick starts to work properly in the next game you try.
Here are the keymap config files (that were in /etc/xmame/ctrlr/ in this example) if you don’t have them:
Getting 1440×900 going on some Intel onboard video chipsets and Ubuntu can be less than automatic.
Install 915resolution from synaptic then run one of the following:
sudo 915resolution 3a 1440 900 8 1904 934
sudo 915resolution 4b 1440 900 16 1904 934
sudo 915resolution 5a 1440 900 32 1904 934
This will change the each mode’s settings. Restart X (ctrl+alt+backspace) and see if you have a fix.
To make the change permanent, edit /etc/default/915resolution and plug in the values from the mode/colourdepth above that made things happy.This did it for me:
#
# 915resolution default
#
# find free modes by /usr/sbin/915resolution -l
# and set it to MODE or set to ‘MODE=auto’
#
# With ‘auto’ detection, the panel-size will be fetched from the VBE
# BIOS if possible and the highest-numbered mode in each bit-depth
# will be overwritten with the detected panel-size.
MODE=5a
#
# and set resolutions for the mode.
# e.g. use XRESO=1024 and YRESO=768
XRESO=1440
YRESO=900
#
# We can also set the pixel mode.
# e.g. use BIT=32
# Please note that this is optional,
# you can also leave this value blank.
BIT=32
After an upgrade, sound in flash stopped on a few on my machines.
Easy fix:
In Synaptic, install libflashsupport and restart firefox.
That should be it.