Skip to content

Instantly share code, notes, and snippets.

View rtucker's full-sized avatar

Rey Tucker rtucker

View GitHub Profile
@rtucker
rtucker / woman-here.txt
Last active August 21, 2018 23:54
e-mail in response to the abort() documentation discussion
Hi there!
I’m not on the list (and would rather not spend the time hand-jamming headers
to keep this at its proper place in the thread), but I do have a response to
https://sourceware.org/ml/libc-alpha/2018-05/msg00196.html. You may choose to
post this if you’d like, with attribution.
> So in this discussion we should watch for any bias. How many women have
> spoken up? When the actual experience of a woman has been brought up, have
> we paid all due attention? Etc.
@rtucker
rtucker / gist:0c73297a564c19dfa6d4a6f9ec5b7de8
Created December 13, 2017 16:28
sync_rxtx w/ timestamps
RX actual_count: 10000, timestamp: 34300012
TX actual_count: 0, timestamp: 34310012
RX actual_count: 10000, timestamp: 34310012
TX actual_count: 0, timestamp: 34320012
RX actual_count: 10000, timestamp: 34320012
TX actual_count: 0, timestamp: 34330012
RX actual_count: 10000, timestamp: 34330012
TX actual_count: 0, timestamp: 34340012
RX actual_count: 10000, timestamp: 34340012
TX actual_count: 0, timestamp: 34350012
@rtucker
rtucker / gist:d9875a712d51791b8b37
Created February 26, 2016 02:29
www.rit.edu possible PMTUD issue?
rtucker@ernestine:~$ ip -6 addr
[...]
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2001:470:8aed:100::22/64 scope global
valid_lft forever preferred_lft forever
[...]
rtucker@ernestine:~$ mtr --report --report-wide www.rit.edu
Start: Thu Feb 25 21:24:41 2016
HOST: ernestine Loss% Snt Last Avg Best Wrst StDev
@rtucker
rtucker / colors
Created February 19, 2016 01:41
my mutt configuration (from long ago)
color normal white default
color attachment brightyellow default
color hdrdefault cyan default
color indicator brightwhite default
color markers brightred default
color quoted green default
color signature cyan default
color tilde blue default
color tree red default
color quoted1 green default
@rtucker
rtucker / Dockerfile
Created February 13, 2016 17:43
Nuand/bladeRF issue 454 reproduction Dockerfile
# docker build --tag="bladerf-issue454" .
# docker run -i -t --rm bladerf-issue454
FROM ubuntu:wily
MAINTAINER Ryan Tucker <[email protected]>
# Resynchronize the package index files
RUN apt-get update
RUN apt-get -y dist-upgrade
#!/bin/bash
echo -n Starting firewall.
while true; do
sleep 1
echo -n .
if [ $(($RANDOM%13)) -eq 2 ]; then
break;
fi
done
echo

Keybase proof

I hereby claim:

  • I am rtucker on github.
  • I am rtucker (https://keybase.io/rtucker) on keybase.
  • I have a public key whose fingerprint is 1125 240E C955 6970 8A52 71BA BCB5 ADAE A448 79DD

To claim this, I am signing this object:

#!/bin/bash
FONTFILE=/usr/share/fonts/truetype/freefont/FreeSerif.ttf
TEXT="BladeRF_ATSC_Demo_%T_Ch1"
VIDEOFILE="-i /home/rtucker/Videos/Bike?Cam/2012-09-09-002-afternoon.AVI"
AUDIOFILE="-i /home/rtucker/Music/Track?N?Field/Marathon/04?-?Track?N?Field?-?Iso?Maha.mp3"
OUTFILE="udp://127.0.0.1:1234?pkt_size=188&buffer_size=65535"
FILTERS="-vf drawtext=fontfile=${FONTFILE}:text=${TEXT}:x=100:y=50:fontsize=72:[email protected]:box=1:[email protected]"
VIDEO_CODEC="-vcodec mpeg2video -s hd720 -r 30"
#!/bin/bash
FONTFILE=/usr/share/fonts/truetype/freefont/FreeSerif.ttf
TEXT="bladeRF_ATSC_Demo_TBM2"
VIDEOFILE="tbm_tdf_2.mp4"
OUTFILE="tbm_tdf_2.ts"
FILTERS="-vf drawtext=fontfile=${FONTFILE}:text=${TEXT}:x=100:y=50:fontsize=72:[email protected]:box=1:[email protected] -t 327"
VIDEO_CODEC="-vcodec mpeg2video -s hd720 -r 25"
VIDEO_QUALITY="-b:v:0 8M"
#!/usr/bin/env /usr/bin/python
# Copyright 2013 Clayton Smith ([email protected])
# Copyright 2014 Ryan Tucker ([email protected])
# (Add UDP streaming support, tweak RRC filter)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.