How to
Information on how to do something... anything.
You may be asking yourself: why did I find this information at some site called Agaric Design Collective? Beats us. If you can find the right place in the Drupal handbook (drupal.org/handbook) for this information, please put it there!
Looking at the code of views_bonus_grid.module:
// set default count.
$cols = $view->gridcount ? $view->gridcount : 4;
It would seem that putting
$view->gridcount = 2;
(replace two with your chosen number)
into "Argument Handling Code," "Argument Code:"
To uninstall something with aptitude:
aptitude remove something
Darn it, we need a new aptitude.
This aptitude does not have Super Cow Powers.
Dan Hak
2:25
huh?
Benjamin Melançon
2:26
I tried to uninstall ftp on stedile to make dkg happy, and there is no uninstall command so I got the help text
which concluded with, "This aptitude does not have Super Cow Powers."
aptitude remove proftpd
is the syntax for uninstalling. That might change with super cow powers though.
mysqldump -u root -p internetbar_live > internetbar_backup.sql
(should gzip here)
This command compresses the file database.sql and replaces it -- deletes it -- with the compressed .gz file database.sql.gz
gzip database.sql
scp ben@66.135.41.18:~/internetbar_backup.sql internetbar_backup.sql
On the other end if you compressed, uncompress:
gunzip database.sql.gz
Note: tar
is for making an archive of multiple files.
HOWTO: Checkout a drupal module from Drupal CVS
http://drupal.org/node/120511
Thanks to John Forsyth's comment:
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-6--1-4 -d example_module contributions/modules/example_module
Applying a patch.
You can just use the link to the patch from the issue queue (in this example, in a post by galapas to my usability request) to fetch the patch directly with wget:
ben@server:/var/www/drupal6$ sudo wget http://drupal.org/files/issues/system-admin-inc.193034.patch
Then apply the patch:
ben@server:/var/www/drupal6$ sudo patch -p0 < system-admin-inc.193034.patch
Didn't like it much, so reversed it:
So you just got Verizon FIOS installed and are starting to realize that the ActionTec MI424-WR modem/wifi router that they gave you is a piece of junk...(unless of course you want to go back to the stone age and use an ethernet cord!!) Don't worry, there's hope. You can disable the router features and hook up your trusty old linksys, just use the instructions below.
!!WARNING:Following these instructions will disable your Verizon TV service features, such as On-Demand.