View post-receive
#!/bin/bash
DOCKER_DIR=
DOCKER_IMAGE=
PORT=
echo "Copying tree to Docker directory"
git --work-tree=$DOCKER_DIR --git-dir=$GIT_DIR checkout -f
echo "Building Docker image"
View keybase.md

Keybase proof

I hereby claim:

  • I am hstntn on github.
  • I am harry (https://keybase.io/harry) on keybase.
  • I have a public key whose fingerprint is 6E93 04C5 B4C3 6AAF F779 2A8D E24E FAE3 3000 0A6E

To claim this, I am signing this object:

View whatismymessengerid.js
var express = require('express')
var app = express()
var body_parser = require('body-parser')
app.use(body_parser.json())
var verify_token = 'x'
app.get('/webhook', function(req, res) {
if (req.query['hub.verify_token'] == verify_token) {
res.send(req.query['hub.challenge'])
View indexed_redis.js
// Indexed hashes in Redis
// github.com/hstntn
var redis = require('redis')
var client = redis.createClient(process.env.REDIS)
exports.append = function(key, value, cb) {
client.send_command('scan', ['0', 'match', key], function(err, resp) {
resp = resp[1]
if (resp.length) {
View .profile
# wget ~/Downloads/https://raw.githubusercontent.com/chriskempson/tomorrow-theme/master/OS%20X%20Terminal/Tomorrow%20Night.terminal; open ~/Downloads/Tomorrow\ Night.terminal
# touch ~/.hushlogin
# touch ~/.bash_sessions_disable
# Mac specific
alias reset-launchpad='defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock'
alias icloud-drive='cd ~/Library/Mobile\ Documents/com~apple~CloudDocs'
# Universal stuff
alias post='curl -H "Content-Type: application/json" -X POST -d'
View list.py
import os
folders = []
files = []
def main(path):
while True:
if os.path.isdir(path):
for x in os.listdir(path):
x = os.path.join(path, x)
View scambaiting.html
<!DOCTYPE html>
<html>
<head>
<title>Security Warning</title>
<style type="text/css">
body {
background-color: #CD3426;
}
#main {
View twitter.rb
require 'oauth'
require 'json'
consumer = OAuth::Consumer.new("consumer key", "consumer secret key", {:site => "https://api.twitter.com"})
token_hash = { :oauth_token => "access token", :oauth_token_secret => "access secret key" }
access_token = OAuth::AccessToken.from_hash(consumer, token_hash)
# Tweets
post = access_token.post("https://api.twitter.com/1.1/statuses/update.json", "status=Sample%20tweet", {"Content-Type"=>"application/x-www-form-urlencoded"})
puts post.code
View nabaztag.php
<?php
function weather() {
$weather = file_get_contents('http://api.openweathermap.org/data/2.5/weather?zip=ZIP,uk');
$weatherJSON = json_decode($weather, true);
$weatherText = $weatherJSON["weather"][0][main];
date_default_timezone_set('Europe/London');
$nabaztagIP = 'IP';
$minute = date('i', time());