I hereby claim:
- I am henriklied on github.
- I am henriklied (https://keybase.io/henriklied) on keybase.
- I have a public key whose fingerprint is 62F2 87D3 8FA8 21DC D596 8D2C 43D4 593C BFD9 8623
To claim this, I am signing this object:
var player; | |
// Create a unique string for the current viewer, | |
// that way, we can identify him in the backend later on. | |
var user_id = new UUID(); | |
// Sleep function in JavaScript | |
function sleep(milliseconds) { | |
var start = new Date().getTime(); |
# Prevent pip from doing anything unless you're inside an activated virtualenv. | |
PIP=/usr/local/bin/pip | |
function pip { | |
if [ "x$VIRTUAL_ENV" = 'x' ]; then | |
echo "No virtualenv activated; bailing." | |
else | |
PIP -E `basename $VIRTUAL_ENV` "$@" | |
fi | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Graph-test</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
} |
1 | |
00:00:18,000 --> 00:00:25,000 | |
My Name is Angela Morelli and I graduated last year at Central St. Martins in London with an MA in communication design. | |
2 | |
00:00:25,000 --> 00:00:37,000 | |
I specialize in information design and my last self-initiated project is called the global water-footprint of humanity. | |
3 | |
00:00:38,000 --> 00:00:48,000 |
<?php | |
$comma_string = 'this,is,a,comma,string,with,some,content'; | |
$exploded = explode(',', $comma_string); | |
$multi_array = array(); | |
while($exploded) { | |
$multi_array[array_shift($exploded)] = array_shift($exploded); | |
} | |
var_dump($multi_array); |
I hereby claim:
To claim this, I am signing this object:
import time, os | |
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setwarnings(False) | |
GPIO.setup(10, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) | |
is_pushed = False | |
def button_callback(channel): | |
global is_pushed |
require "formula" | |
class Cubicsdr < Formula | |
homepage "https://github.com/cjcliffe/CubicSDR" | |
url "https://github.com/cjcliffe/CubicSDR/archive/0.2.3.tar.gz" | |
sha256 "b058883a82c466530000ec15aa6c7f690036efb0374ca4da87da441fbd2043cf" | |
head "https://github.com/cjcliffe/CubicSDR.git" | |
depends_on "cmake" => :build |
require "formula" | |
class Cubicsdr < Formula | |
homepage "https://github.com/cjcliffe/CubicSDR" | |
url "https://github.com/cjcliffe/CubicSDR/archive/0.2.3.tar.gz" | |
sha256 "b058883a82c466530000ec15aa6c7f690036efb0374ca4da87da441fbd2043cf" | |
head "https://github.com/cjcliffe/CubicSDR.git" | |
depends_on "cmake" => :build |
#!/bin/bash | |
capture_file=$(mktemp /tmp/capture.XXX) | |
keylog_file=$(mktemp /tmp/keylog.XXX) | |
capture_filter="port 443 or port 80 or port 8883" | |
add_firewall_rules () { | |
echo "Setting up firewall rules" | |
iptables -t nat -A PREROUTING -i wg0 -p tcp --dport 80 -j REDIRECT --to-port 8080 |