Presentation
Experiment and Extension Projects
dst mac addr src mac addr ethertype | |
| | | IP version | |
| | | |.- IHL | |
| | | || .-- DSCP / ECN | |
|---------------| |---------------| |---| || || | |
0000 a0 99 9b 14 be 35 d8 fe e3 80 42 e2 08 00 45 00 .....5....B...E. | |
.-- total length | |
| .-- identification |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
open my $fh, "<&=", 3 | |
or die "fd 3 not open!\n"; | |
while (<$fh>) { | |
chomp; | |
printf("read '$_' from fd 3\n"); | |
} |
--- | |
⠇⠓⠶⠶⠤⠑⠕⠄⠉: | |
⡉⡊: | |
- ⠜⠞⠞ | |
- ⠹⠶⠶⠤⠑⡁⡑ | |
⠉⠉⠉⠄⡪⡪: 10.20.40.30 | |
⡉⡊: | |
⡜: | |
⠉⠉⠉⠍⡶: | |
⠾: true |
### | |
## ## | |
## ## | |
## ## | |
######### | |
## ## | |
## ## | |
######## | |
## ## | |
## ## |
#!/bin/bash | |
set -x | |
if [[ -z $TMUX ]]; then | |
echo "Not in TMUX; starting one up" | |
exec tmux new-session -s tmux-test -n bosh \ | |
$0 "$@" \; \ | |
attach | |
exit 1 | |
fi |
#!/bin/bash | |
GITHUB_USER=jhunt | |
ORG=bolo | |
ORGUSERS=$(curl -sLk -u ${GITHUB_USER}:${GITHUB_TOKEN} https://api.github.com/orgs/$ORG/members | jq --raw-output '.[] | .login') | |
(echo "LOGIN|NAME" | |
for USER in $ORGUSERS | |
do | |
NAME=$(curl -sLk -u ${GITHUB_USER}:${GITHUB_TOKEN} https://api.github.com/users/${USER} | jq --raw-output '.name') |
latch | |
PUT /path/to/key | |
failing\n | |
... | |
200 OK | |
changed\n | |
GET /path/to/key | |
... |
echo "Configuring DNS..." | |
apt install -y bind9 bind9utils bind9-doc | |
cat > /etc/bind/named.conf.options <<EOF | |
acl goodclients { | |
10.0.0.0/8; | |
localhost; | |
localnets; | |
}; | |
options { |
master:de32bad*2) +safe|265+13:11:43:544:0:91568m 10.200.0.105 jhunt@mac ~/code/go/safe/src/github.com/starkandwayne/safe | |
→ DEBUG=1 ./safe write /secret/jrh foo=bar | |
Request: | |
GET /v1//secret/jrh HTTP/1.1 | |
Host: $IP:8200 | |
X-Vault-Token: $TOKEN | |
---------------- | |
Response: |