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
// Map URL query items to their values | |
// e.g. ?referrer=https... -> queryVals[referrer] returns 'https...' | |
var queryVals = (function (a) { | |
if (a === '') return {} | |
var b = {} | |
for (var i = 0; i < a.length; ++i) { | |
var p = a[i].split('=', 2) | |
if (p.length === 1) { | |
b[p[0]] = '' | |
} else { |
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
#!/bin/sh | |
# RWW.IO Web app deployer. Simply run `sh deploy.sh` inside your Web app dir and follow the steps. | |
CERTCMD="" | |
# get target URI | |
read -p "Please provide the URI of the target dir (ex: http://example.org/apps/myapp/): " HOST | |
if [ "$HOST" = "" ] | |
then |
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 | |
import urllib | |
import httplib2 | |
cert_file = 'my.pem' | |
http = httplib2.Http(disable_ssl_certificate_validation=True) | |
http.add_certificate('', cert_file, domain='') |
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
Verifying that +deiu is my openname (Bitcoin username). https://onename.com/deiu |
NewerOlder