Agaric Design Collective

GNU-Linux

Disable Trackpad Tap to click Ubuntu and HP Pavillion

Disable Trackpad Tap to click

hp pavilion dv6000 turn off trackpad clicks
hp pavilion dv6000 turn off trackpad tap to click ubuntu

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"

 

SSH agent forwarding on Mac OS X debugging

ssh -v agaric-production

OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /Users/ben/.ssh/config
debug1: Applying options for agaric-production
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to agaricdesign.com [66.135.37.243] port 22.
debug1: Connection established.

 

Git update and ignore local changes

The don't-take-no-for-an-answer way:

git reset --hard

 

Vim as a PHP IDE

See
http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/

Once it's set up right, you can use :make % to check your PHP syntax before loading the code in a browser.

See also: http://2bits.com/articles/using-vim-and-xdebug-dbgp-for-debugging-drupal...

 

Resolve a conflict to use local files after a merge goes bad in git pull

benjamin-agaric: looking for a little git help... i've got my repos on the server
I was pulling from it, but when I tried to push i noticed that i must have done it wrong and had the repository url as http
I changed that to the ssh style git. --and i was now connected to the repository two ways

 

Adding aliases and functions to your GNU-Linux shell

After making your changes, including linking to another file, you can run on the command line:

Include your supplementary file like this:

. ~/.baschrc-agaric

$ source ~/.bashrc

Resources

 

Localhost from a virtualbox XP install on Ubuntu

So you've got yourself a shiny new laptop, installed ubuntu and virtualbox and now you have a version of windows xp running nicely in a window.
But that's not enough for you is it? You want to be able to see your local environment from your XP install too, so you fire up IE and goto http://localhost, but it ain't there!!

well, have you tried http://10.0.2.2 ??

do it

 

Include .htaccess in VirtualHost Document for performance

<VirtualHost *:80>
DocumentRoot /www/docs/example.com

<Directory "/www/docs/example.com">
AllowOverride None
RewriteEngine On
# etc
</Directory>
</VirtualHost>

The above is what you need to know before including this:

Example Clean URL configuration of httpd.conf for performance
http://drupal.org/node/43788

 

Locking an SVN repository (or, another reason to use Git)

The manual: http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html

The useful info: http://marc.info/?l=subversion-users&m=117814302607694&w=2

cd /repos/path/of/interest
find . -type f -exec svn lock '{}' ';'

And when done:

find . -type f -exec svn lock '{}' ';'