Testing
This will be cool
.DS_Store |
{ | |
"1" : { | |
"date" : "2014-08-13", | |
"count" : 5 | |
}, | |
"2" : { | |
"date" : "2014-08-14", | |
"count" : 3 | |
} | |
} |
#!/bin/bash | |
# command -v lsb_release >/dev/null 2>&1 || { echo "This script requires lsb_release, but the command is not available." >&2; exit 1; } | |
# echo -e "This script will need to be run as root. To view the source of this script, visit:\n" | |
YOUR_INSTALL=$(head -1 /etc/issue | sed 's/ \\n \\l//') |
#!/bin/sh | |
# script to check for complete torrents in transmission folder, then stop and move them | |
# either hard-code the MOVEDIR variable here? | |
# ?or set MOVEDIR using the first command-line argument | |
# MOVEDIR=%1 | |
# use transmission-remote to get torrent list from transmission-remote list | |
# use sed to delete first / last line of output, and remove leading spaces | |
# use cut to get first field from each line |
This will be cool
The following script will allow you to use PocketCast with the Distorted View Superfreak Sideshow RSS feed. Simply plug it in to a Webscript.io endpoint with your username and password and point PocketCast at it.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
cassandra_config.py | |
*.pyc | |
project/ |
To run this, simply run:
python cassandra-cql.py hostname port script_file [-f]
This will soon be packaged for pip.
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: cassandra | |
# Required-Start: $remote_fs $network $named $time | |
# Required-Stop: $remote_fs $network $named $time | |
# Should-Start: ntp mdadm | |
# Should-Stop: ntp mdadm | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: distributed storage system for structured data |