Skip to content

Instantly share code, notes, and snippets.

# In-memory Cassandra-ish thingy... useful for unit tests. Maybe useful for other
# stuff too? No support for SuperColumns, but that should be easy enough to add.
import bisect
import copy
from cassandra.ttypes import NotFoundException, Column, ColumnPath, ColumnOrSuperColumn
class SSTable(object):
#!/bin/sh
temp=$(smartctl -d ata -A /dev/sda|grep Tempera|cut -c 88-90)
echo "`date +'%F %T'` Temperature: $temp"
[buildout]
eggs-directory = /home/bruce/tmp/buildout-eggs