This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected]:simonvc/riak-dev-cluster.git | |
rake bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for x in {1..10000};do curl -v -X PUT -H 'Content-type: text/text' -d "This is some data $x" http://127.0.0.1:11098/riak/test/$x; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>bootp_enabled</key> | |
<false/> | |
<key>detect_other_dhcp_server</key> | |
<integer>1</integer> | |
<key>dhcp_enabled</key> | |
<array> | |
<string>en3</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from urllib2 import urlopen | |
import socket | |
UDP_ADDRESS = "carbon.hostedgraphite.com" | |
UDP_PORT = 2003 | |
RIAK_STATS_URL='http://localhost:11098/stats' | |
HG_API_KEY='YOUR_API_KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from urllib2 import urlopen | |
import socket | |
from time import sleep | |
UDP_ADDRESS = "carbon.hostedgraphite.com" | |
UDP_PORT = 2003 | |
RIAK_STATS_URL='http://localhost:11098/stats' | |
HG_API_KEY='Your Api Key from HostedGraphite.com' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "plotrandomnumbers" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see also http://www.pickysysadmin.ca/2013/03/25/how-to-install-gitlab-5-0-on-centos-6/ | |
su - | |
#dependcies | |
#centos 6.2 | http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-7.noarch.rpm | |
rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
yum -y groupinstall 'Development Tools' 'Additional Development' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, request, redirect | |
from pony.orm import * | |
import twilio.twiml | |
from twilio.rest import TwilioRestClient | |
import logging | |
log = logging.getLogger('werkzeug') | |
db = Database('sqlite', 'responses.sqlite', create_db=True) | |
class Response(db.Entity): | |
number = Required(unicode) | |
terrorist_number = Optional(unicode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from datetime import datetime, date | |
from csv import reader | |
from sys import argv | |
dateformat='%Y/%m/%d %H:%M:%S' | |
if __name__=='__main__': | |
filename = argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for shopping at our store | |
Your order details are: | |
1x #9171000184/31544 Turnigy 9XR Transmitter Mode 2 (No Module) = 50.22 | |
1x #9171000070/24656 OrangeRX DSMX/DSM2 2.4Ghz Transmitter Module (JR/Turnigy compatible) = 29.95 | |
1x #9387000027-0/42844 HobbyKing Pocket Quad V1.1 Ultra-Micro DSM2 MultiWii Quadcopter (PNF) = 49.84 | |
1x #9387000020-0/42098 0716 Replacement Brushed Set HobbyKing Pocket Quad V1.1 Quadcopter (4pc) = 5.56 | |
3x #9387000021-0/42099 45mm Replacement Prop Set HobbyKing Pocket Quad V1.1 Quadcopter (8pc) = 5.16 | |
Paypal Express |
OlderNewer