nc -knvl $PORT
rm -f /tmp/f; mkfifo /tmp/f
{ | |
"links": [ | |
{ | |
"source": "staging.eff.org", | |
"target": "AC3933B1B95BA5254F43ADBE5E3E38E539C74456EE2D00493F0B2F38F991D54F", | |
"type": "uses" | |
}, | |
{ | |
"source": "AC3933B1B95BA5254F43ADBE5E3E38E539C74456EE2D00493F0B2F38F991D54F", | |
"target": "leez-dev-supporters.eff.org", |
{ | |
"links": [ | |
{ | |
"source": "google.lu", | |
"target": "6DA3AE8EA020D6B5DA74BD3DE4A60D897A4B1B13E5D2B34553036FB2D0D98AD3", | |
"type": "uses" | |
}, | |
{ | |
"source": "6DA3AE8EA020D6B5DA74BD3DE4A60D897A4B1B13E5D2B34553036FB2D0D98AD3", | |
"target": "google.lu", |
[main] | |
plugins=ifupdown,keyfile | |
[ifupdown] | |
managed=false | |
[keyfile] | |
unmanaged-devices=interface-name:docker0;interface-name:vmnet1;interface-name:vmnet8;interface-name:vboxnet0 |
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=OFF -DENABLE_FB=ON -DENABLE_TINKERFORGE=OFF -DENABLE_V4L2=OFF -EENABLE_QT4=OFF .. |
FROM ubuntu:trusty | |
RUN apt-get update | |
RUN apt-get install -y software-properties-common python-software-properties python-pip python-dev libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libyaml-dev libssl-dev libsasl2-dev libldap2-dev npm git python-virtualenv && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN ln -s /usr/bin/nodejs /usr/bin/node && \ | |
npm install -g bower |
package main | |
// | |
// Run with: | |
// docker run -it --rm -p 8000:8000 -v $(pwd):/data debian /data/ip | |
// | |
import ( | |
"fmt" | |
"net" | |
"io" | |
"net/http" |
/* | |
* Wiegand API Raspberry Pi | |
* By Kyle Mallory | |
* 12/01/2013 | |
* Based on previous code by Daniel Smith (www.pagemac.com) and Ben Kent (www.pidoorman.com) | |
* Depends on the wiringPi library by Gordon Henterson: https://projects.drogon.net/raspberry-pi/wiringpi/ | |
* | |
* The Wiegand interface has two data lines, DATA0 and DATA1. These lines are normall held | |
* high at 5V. When a 0 is sent, DATA0 drops to 0V for a few us. When a 1 is sent, DATA1 drops | |
* to 0V for a few us. There are a few ms between the pulses. |
#! /usr/bin/env bash | |
CERT_DIR=/etc/letsencrypt/live/ | |
for domain in $(ls $CERT_DIR) | |
do | |
cert_path="$CERT_DIR/$domain/cert.pem" | |
domains=$(openssl x509 -in $CERT_DIR/$domain/cert.pem -text | sed -nr '/^ {12}X509v3 Subject Alternative Name/{n;s/^ *//p}' | sed -e 's/DNS://g' | sed -e 's/,//g') | |
echo "$domains" | |
done |
################################################################# | |
# boblight.conf | |
# | |
# Designed for LightPack with Speedy's boblight daemon | |
# | |
# https://code.google.com/p/light-pack/ | |
# https://github.com/timsat/boblight-lightpack/wiki/Configuration | |
# | |
# | |
################################################################# |