User login

Public

Do not overwrite files when copying from one server to another

If you are searching for a way to not overwrite files when copying files or directories recursively with scp, what you probably really want is rsync.

It will avoid copying files it does not need to copy, preserving existing files of the same name and path.

For example:

ben@ubuntu:~/code/data/drupal/sites/default/files$ rsync -av data.agaric.com:/sites/agaricdesign/www/sites/default/files/ .
receiving incremental file list
./
.htaccess
07-07 taking it all over.txt
...

Dvorak on Ubuntu (after something goes wrong)

Update: You probably won't run into any of the troubles below. See for how to set up Dvorak on Ubuntu in the first place.

Setting Dvorak as the default keyboard worked out of the box in Ubuntu. Someone else used the virtual machine and changed things and it broke now.

Currently, only way to change is:

setxkbmap dvorak

Using the system preferences user interface for keyboard settings does nothing and triggers this error in the background:

Execute command-line statements from within the vi editor

It is very simple and occasionally useful to access the power of the shell from within your vim text editor. In normal mode (esc from insert mode), simply type, colon included

:r

Commands must be preceded by a bang symbol (exclamation mark). Some examples:

:r !date
Wed Apr 21 23:04:22 PDT 2010

Personally, i'll find this useful simply for putting in paths from the file system that i may not be certain of but that bash's tab autocomplete will be able to verify for me.

Banning IP addresses safely (not banning real users)?

Well, just googling for an IP leads you to places where they list that IP as a spammer, pretty good chance its pretty dedicated to spam.

http://www.stopforumspam.com/ipcheck/92.241.164.105

Online Auctions

Please note that this is legacy marketing content from Agaric and almost certainly out of date, but is preserved on data.agaric.com for historical and/or hysterical reasons. See http://agaric.com for newer and perhaps better information.

On-line auctions, especially as fundraising auctions for nonprofit organizations, are one of Agaric Design Collective's unique strengths.

Sharing data between sites with RDF

Sharing data between sites in RDF (in theory).

The core RDF module provides an API for mapping RDF data.

Use the contrib RDF package to provide the rdfui and rdfx modules. As of right now, before the release of Drupal 7, the most up-to-date, 7.x version of these modules can be found at http://github.com/scor/rdf

For more advanced querying, the SPARQL module can be used.

Update: New modules for Sharing Data Semantically

Syndicate content