Nodes
- id (big int)
- meta (jsonb)
- tags (jsonb)
- lat
- lng
| core@core-01 ~ $ etcdctl set /nodes/fuu bar | |
| bar | |
| core@core-01 ~ $ etcdctl ls | |
| /coreos.com | |
| /nodes | |
| core@core-01 ~ $ etcdctl get /nodes/fuu | |
| Error: 100: Key not found (/nodes) [12386] | |
| core@core-01 ~ $ etcdctl get /nodes | |
| Error: 100: Key not found (/nodes) [12386] |
| import re | |
| import time | |
| import requests | |
| URL = 'https://mobile.rwe-smarthome.de/MobileWeb' | |
| request_validation_re = re.compile(r'<input name="__RequestVerificationToken" type="hidden" value="(.*?)" />') | |
| #!/bin/sh | |
| # Simple init script to dig a ssh tunnel | |
| # Author: Christoph Heer <[email protected]> | |
| SSH_ARGS="[email protected] -p 22 -N -n -L 4950:localhost:4949" | |
| PID_FILE="/var/run/remote_host_tunnel.pid" | |
| case "$1" in | |
| start) | |
| if [ -f $PID_FILE ]; then |
| import xlrd | |
| # Example excel file under: http://d.pr/f/7ELQ | |
| wb_addresses = xlrd.open_workbook('addresses.xls').sheet_by_index(0) | |
| for rownum in range(wb_addresses.nrows): | |
| print "%s: " % rownum, | |
| row = wb_addresses.row_values(rownum) | |
| for cell in row: | |
| print cell, |
| magnet:?xt=urn:btih:D416308F29FA029BC068546F18588885C3FB88B1&dn=EuroPython2012Videos&tr=http%3a//thelabmill.de%3a4570/announce |
| import base64 | |
| from myapplication import app | |
| class MyTestCase(unittest.TestCase): | |
| def setUp(self): | |
| self.app = app.test_client() | |
| def tearDown(self): | |
| pass |
| var Base64 = { | |
| characters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" , | |
| encode: function( string ) | |
| { | |
| var characters = Base64.characters; | |
| var result = ''; | |
| var i = 0; | |
| do { |