Old luggage! - Powered by Pikchur.com
YES - Powered by Pikchur.com
Quack - Powered by Pikchur.com
Using cloudfuse to mount the Rackspace Cloud Files service
Rackspace offers a cloud files service, basically akin to Amazon S3, and at the same price (I think). Installing cloudfuse and mounting a share on Ubuntu at boot is pretty simple:
-
$ sudo apt-get install libcurl4-openssl-dev libfuse-dev git-core $ git clone git://github.com/redbo/cloudfuse.git $ cd cloudfuse $ ./configure $ make $ sudo make install -
You’ll want to create a new container on Cloud Files via their interface. These display as a directory under your cloudfuse mount.
-
Edit /etc/fstab. Add this line:
cloudfuse /media/cloudfiles fuse defaults,gid=110,umask=007,allow_other 0 0You will need to retrieve the gid for the fuse group and use that in place of “110” above. You can also adjust the umask as needed, but this will allow owner+group rwx access only.
-
$ sudo mkdir /media/cloudfiles $ sudo usermod -a -G fuse username $ sudo mount /media/cloudfiles -
At this point the cloudfiles mount should be active, but you may find yourself unable to cd to this directory. Your group membership may not be active and may need to log in again. From this point you should have an automatically mounted Cloud Files partition.
LEMON DROPS - Powered by Pikchur.com
Spiraling clouds - Powered by Pikchur.com
This church has a drive-thru - Powered by Pikchur.com
Waaarbrrbghghrgll - Powered by Pikchur.com
There is only zuul - Powered by Pikchur.com
I renamed pgoptparse, since I added more than just option parsing to it.
My new readme:
pglunchbox
-----------------
This module provides a couple of convienence classes for use with scripting
against a PostgreSQL database. PGOptionParser extends OptionParser from
optparse to add default options akin to psql's options. PGOptionParser will
also parse your pgpass file, if present, by way of the PGPassFile class.
PGPassFile also has get_login and get_password methods, that will match the
following keyword arguments against lines in your pgpass file, and return
the first matching login and/or password:
hostname
port
database
username (needed for get_password)
I extended the python module optparse to add some default options useful for scripting against PostgreSQL databases. If you’re like me, you have a number of scripts that have a random smattering of optparse setups for connecting to PostgreSQL databases, and get annoyed when you forget just how exactly you wrote the syntax for that particular script. This is my attempt to unify that behavior in as much of a psql-like way as possible. Like psql, the option parser will also read your pgpass.
Since Virginia Governor Bob McDonnell has declared April “Confederate History Month,” I updated the “Visit Virginia” logo to better reflect this historical focus.
(Garamond Semibold Italic, in case you were wondering. The line through the heart is a thickened trace of the border between Virginia and West Virginia. Regard as parody.)
Old steps - Powered by Pikchur.com
Bark damage from flooding last month - Powered by Pikchur.com
Stepin-law inspects a tree - Powered by Pikchur.com





