User login

GNU-Linux

Increase main partition size in Ubuntu within VMWare Fusion

That was well nigh impossible. GUI fail, on gparted's part.

These steps won't be 100% complete because it's 7:15am and i spent the last hour frying my brain on this stuff (after the brain unilaterally called a break about 2:15am and i fell asleep), but they do fill in some gaps other resources out there don't quite cover. Some even seem to (falsely) suggest that unallocated space must be made into its own partition first. Here are some of the better links; my (final working) steps below.

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"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "MaxTapTime" "0"
EndSection

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.
debug1: identity file /home/ben/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5
debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH*

Git update and ignore local changes

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

git reset --hard

Resolution

Vim as a PHP IDE

See
(domain not renewed as of 2010 Nov. 4 - 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-or-any-php-application.html

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
the really weird thing is that when I pushed it said it wasn't up to date (could not fast forward), and when I pulled I got a conflict!!

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

Resolution

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

Resolution

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

Resolution

Syndicate content