Skip to content

Instantly share code, notes, and snippets.

@Stantheman
Stantheman / 01-iwrp-notes.md
Last active November 18, 2018 01:56
Information Warfare Research Project (IWRP)

Information Warfare Research Project (IWRP)

The Information Warfare Research Project (IWRP) is being run by the Navy (SPAWAR).

Advanced Technologies International (ATI) won the contract to lead the consortium. This process is called "Other Transaction Authority" (OTA), which is why a contractor can lead the process of interacting with other companies.

IWRP website: https://www.theiwrp.org/ ATI website: https://www.ati.org/

The list of companies being subcontracted(?) to was released in the Federal Register:

@Stantheman
Stantheman / iwrp-companies.txt
Created November 18, 2018 01:48
Information Warfare Research Project (IWRP)
2 Twelve Solutions, Arlington, VA
Aeronix, Inc., Melbourne, FL
Applied Engineering Concepts, Inc., Eldersburg, MD
Applied Signals Intelligence, Inc., Sterling, VA
Applied Technical Systems, Inc., Silverdale, WA
Aquabotix Technology Corporation, Fall River, MA
Aspen Consulting Group, Inc., Point Pleasant, NJ
AT&T Government Solutions, Inc., Vienna, VA
Atlantic CommTech Corp., Norfolk, VA
Avineon, Inc., McLean, VA
@Stantheman
Stantheman / Main.py
Last active January 15, 2018 05:05 — forked from crushedhat/Main.py
#!/usr/bin/python
import gameClass
import time
def mainMenu():
clearScreen()
print " Welcome to the Blackjack table! Please select an option below"
print " ========================================================================="
print " ==============================(1) New Game =============================="
print " ==============================(2) Exit =============================="
@Stantheman
Stantheman / output.txt
Last active August 29, 2015 14:12
use xslt to parse html instead of one liners
# links.html came from:
# http://taint.org/2014/12/27/235802a.html
ubuntu:~/xslt$ xsltproc --html transform.xslt links.html
http://www.newyorker.com/business/currency/airlines-want-you-to-suffer
http://hackaday.com/2014/12/25/writing-a-virtual-machine-in-excel/
@Stantheman
Stantheman / test.sh
Created January 2, 2015 17:26
test perf between patched and unpatched go encoding/binary
#!/bin/bash
echo "Testing Original"
cp binary_orig.go.old binary.go
for i in {1..5}; do
go test -v -bench='[de]Ints' -run none | grep Read | tee /tmp/tmp.txt
done
echo "Original read ns/op average: $(tr -s ' ' < /tmp/tmp.txt | cut -d' ' -f3 | numaverage)"
echo "Testing Fixed"
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQChhoJQVfu1yh+WYeew0mrWpHn/loKMzyZUHGC8z2kHm8KaEV1IRCLsoxF+GEMhQwLw6YKbtYfmE0P8YhXjT0+mLb8qZNjz5ZEYyOgN+oVaVZ2HVc+K9LFfsgvjmc15+dOaB+Au6CJ5Cx/Mc1LZp7JNDNmfRKUaXfrE2oZPNdnqvH6E2yjf/aAScO/s83SPoko0HDcYUQ2NSasPIfBys2udMmI4EkWTwbcgD53OyaV5qHWu4dHKEDU+Nu2a5A+ZF0bPSVm8dVJGkSVm11PsvJa/Zcw0nOPZ+jiLyESaHLWhFegyrTOcvxA6e08K2EWESS5GhJdrn/L0qyEYHrsmRsQtEfcEt+iEz32E9XO7w7khkP9CMVoJXG2nMnJlQrAqMRZQaPdnd/w7Q4La8CNUvw+n7kbCegLelFRrZ6SAZjrmhz2xLm68gz6OIqdXupMBxuyD1UGFo7W1MT88jGt+NKycLir9LuIXwZiCAPZkjEgk8YzmMASaGAu/k9KrR0fRAmUppu3F2a6XmVDPZoLa899yjvUyGi/a5Vg36weZytr6qAS5a6Dp070j+HKoDeK3eTM7yGjGgBs64KAxr7XyZSyaaVP8EjT8vXazT4sBJw6oStjADGZZaTBTFE5PYucSVUNC3l99Dpj7R/Zxg25OoIJX9HtSE9qWKhxUKAQnaFvibw== sschweertly@soggycake
➜ pearls git:(master) ✗ time ~/code/rss2text/rss2text.pl -noc http://feeds.feedburner.com/shopify-technology | ~/code/shortenize/shortenize.pl
http://gaw.sh/akv
http://gaw.sh/akw
http://gaw.sh/akx
http://gaw.sh/aky
http://gaw.sh/akz
http://gaw.sh/al0
http://gaw.sh/al1
http://gaw.sh/al2
http://gaw.sh/al3
➜ pstree for i in {1..32768}; do if [[ -d /proc/$i ]]; then echo /proc/$i; fi done | wc -l
181
➜ pstree find /proc/ -maxdepth 1 -type d -name '[0-9]*' | wc -l
132
#!/bin/bash
choose_congestion_control="/proc/sys/net/ipv4/tcp_congestion_control"
ip=127.0.0.1
iperf -s
iperf_pid=$!
for i in $(ls /lib/modules/3.2.0-4-amd64/kernel/net/ipv4/tcp*); do
# transform the path from /lib/.../tcp_bic.ko to bic
package main
import (
"bufio"
"bytes"
"fmt"
IO "io/ioutil"
"os"
"sort"
"strings"