Skip to content

Instantly share code, notes, and snippets.

View feoh's full-sized avatar
💭
Excitedly diving in to my new position at MIT!

Chris Patti feoh

💭
Excitedly diving in to my new position at MIT!
View GitHub Profile
sdl 1.2.15-14 extra 1.1 MB
sdl2 2.0.12-2 extra 3.2 MB
sdl2_image 2.0.5-2 extra 137.1 kB
sdl2_net 1:2.0.1-3 extra 45.1 kB
sdl2_ttf 2.0.15-2 extra 44.8 kB
sdl_gfx 2.0.26-5 extra 177.4 kB
sdl_mixer 1.2.12-8 extra 214.6 kB
sdl_net 1.2.8-5 extra 37.8 kB
sdl_sound 1.0.3-8 extra 237.0 kB
rel="nofollow noopener" target="_blank">this MP3</a> of
<enclosure url="https://c10.patreonusercontent.com/3/eyJhIjoxLCJwIjoxfQ%3D%3D/patreon-media/p/post/40047918/9d6a51d07f8f4aada20de0c08f92bc75/1.mp3?token-time=2145916800&amp;token-hash=kD7D0xFfZfEwlZ3o72j-1bwfjB2PdcMQvOmOf_h4H2c%3D"
<enclosure url="https://c10.patreonusercontent.com/3/eyJhIjoxLCJwIjoxfQ%3D%3D/patreon-media/p/post/39313360/58266e186f344997955e506ca7e8b266/1.mp3?token-time=2145916800&amp;token-hash=RQcUi3p_hcdCTJW9tF7ITyerQRxFDWhA3wr9ewS8GEU%3D"
<enclosure url="https://c10.patreonusercontent.com/3/eyJhIjoxLCJwIjoxfQ%3D%3D/patreon-media/p/post/37598875/0223101903ad470c95307daebf714312/1.mp3?token-time=2145916800&amp;token-hash=DbAZHBl8520952UWPp5t4YWwank6zCQ8FrineT1XdlQ%3D"
<enclosure url="https://c10.patreonusercontent.com/3/eyJhIjoxLCJwIjoxfQ%3D%3D/patreon-media/p/post/35094336/61461d849bec4199a866a70bc897f961/1.mp3?token-time=2145916800&amp;token-hash=xG3_XgLU14Ffy2nWDhXjv7ZBciH7iNNpx3EYr5rt41E%3D"
<enclosure url="https://c10.pat
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0">
<channel>
<title>"You Are Listening to..." Patreon Feed</title>
<link>https://www.patreon.com/idontlikewords</link>
<description>youarelistening.to's Private RSS Feed for
Christopher</description>
feoh@yamato:~$ iperf3 -c 192.168.1.3
Connecting to host 192.168.1.3, port 5201
[ 4] local 192.168.1.223 port 39758 connected to 192.168.1.3 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 63.3 MBytes 531 Mbits/sec 0 2.49 MBytes
[ 4] 1.00-2.00 sec 65.0 MBytes 545 Mbits/sec 0 2.62 MBytes
[ 4] 2.00-3.00 sec 66.2 MBytes 556 Mbits/sec 0 2.62 MBytes
[ 4] 3.00-4.00 sec 64.7 MBytes 543 Mbits/sec 0 2.62 MBytes
[ 4] 4.00-5.00 sec 63.1 MBytes 530 Mbits/sec 0 2.62 MBytes
[ 4] 5.00-6.00 sec 62.9 MBytes 528 Mbits/sec 0 2.62 MBytes
Start-Date: 2020-06-04 11:22:01
Commandline: apt upgrade -y
Requested-By: feoh (1000)
Upgrade: appstream-data-pantheon-icons-hidpi:amd64 (5.0-0+r111~ubuntu5.1.4.1, 5.0-0+r112~ubuntu5.1.4.1), pantheon-files:amd64 (4.4.2+r3786+pkg92~ubuntu5.1.2.1, 4.4.3+r3882+pkg93~ubuntu5.1.4.1), appstream-data-pantheon:amd64 (5.0-0+r111~ubuntu5.1.4.1, 5.0-0+r112~ubuntu5.1.4.1), libpulsedsp:amd64 (1:11.1-1ubuntu7.7, 1:11.1-1ubuntu7.8), pulseaudio:amd64 (1:11.1-1ubuntu7.7, 1:11.1-1ubuntu7.8), workspacesclient:amd64 (3.0.6.444, 3.0.7.470), google-chrome-stable:amd64 (83.0.4103.61-1, 83.0.4103.97-1), appstream-data-pantheon-icons:amd64 (5.0-0+r111~ubuntu5.1.4.1, 5.0-0+r112~ubuntu5.1.4.1), libpulse0:amd64 (1:11.1-1ubuntu7.7, 1:11.1-1ubuntu7.8), libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.7, 1:11.1-1ubuntu7.8), chromium-codecs-ffmpeg-extra:amd64 (81.0.4044.138-0ubuntu0.18.04.1, 83.0.4103.61-0ubuntu0.18.04.1), libpulse-dev:amd64 (1:11.1-1ubuntu7.7, 1:11.1-1ubuntu7.8), pulseaudio-module-bluetooth:amd64 (1:11.1-1ubuntu7.7, 1:11.1
Script started on 2020-06-18 21:06:41-0400
]0;Homefeoh@yamato:~$ PS1='\h $ '
yamato $ iperf3 -c ubu # ethernet - direct connect o to UDM
yamato $ iperv3f3 -c ubuntu^C
yamato $ iperf3 -c ubuntu
Connecting to host ubuntu, port 5201
[ 4] local 192.168.1.95 port 47900 connected to 192.168.1.96 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 112 MBytes 937 Mbits/sec 1 245 KBytes
[ 4] 1.00-2.00 sec 111 MBytes 933 Mbits/sec 0 245 KBytes
# Living room - couch - wifi UDM
# Run under Windows since my Elementary Linux install
# apparently pulled down an OS update that poisoned the
# intel wlan wifi driver. Fun!

PS C:\Users\cpatt> iperf3 -c ubuntu
Connecting to host ubuntu, port 5201
[  4] local 192.168.1.223 port 50778 connected to 192.168.1.96 port 5201
[ ID] Interval           Transfer     Bandwidth
@feoh
feoh / xfinity-wifi-benchmarking-results.txt
Last active June 15, 2020 01:44
This is the proof from my rude attempt at benchmarking Xfinity wifi from various points in my house. Source was my Alienware 17 R5 running Elementary, dest was Raspberry Pi 4 running Ubuntu Server 20.04
Script started on 2020-06-14 12:42:53-0400
$ iperf3 -c 10.0.0.233
Connecting to host 10.0.0.233, port 5201
[ 4] local 10.0.0.75 port 35132 connected to 10.0.0.233 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 115 MBytes 965 Mbits/sec 0 1.03 MBytes
[ 4] 1.00-2.00 sec 111 MBytes 933 Mbits/sec 0 1.03 MBytes
[ 4] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 1.03 MBytes
[ 4] 3.00-4.00 sec 111 MBytes 933 Mbits/sec 0 1.03 MBytes
[ 4] 4.00-5.00 sec 111 MBytes 933 Mbits/sec 0 1.09 MBytes
@feoh
feoh / gist:c12d5ad9b3ca08ce7cf230a578db35cf
Created May 7, 2019 12:54
Attempt to draw a spiral in PICO-8
-- draw a spiral
-- in polar coordinates, you
-- do this by incrementing r
-- and theta at the same time.
for r = 1,99 do
theta = r / 100
x = r * cos(theta)
y = r * sin(theta)
pset(x,y)
@feoh
feoh / bipolar.p8
Last active April 4, 2019 02:00
Pico 8 code to convert from cartesian coordinates to polar and back. Only the 'back' isn't working :)
pico-8 cartridge // http://www.pico-8.com
version 16
__lua__
function c2p(x,y)
local polar={}
r=sqrt((x*x)+(y*y))
theta=atan2(y,x)
print("r="..r.." theta="..theta)
polar={r,theta}
return polar