Skip to content

Instantly share code, notes, and snippets.

@rogerallen
rogerallen / get_iso3166_data.ipynb
Last active Sep 12, 2021
Code to scrape Wikipedia for iso3166 data
View get_iso3166_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Sep 24, 2021
Archive September 2, 2021
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started September 2, 2021
:clisk-random-seed 210902
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Aug 31, 2021
Archive July 7, 2021
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started July 7, 2021
:clisk-random-seed 210707
Learn more at https://tweegeemee.com
View make.log
mkdir -p deps/cubemx/Src/
set -e; rm -f deps/cubemx/Src/adc.c.d; \
arm-none-eabi-g++ -MM -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -mfloat-abi=hard -mlittle-endian -DUSE_HAL_DRIVER -DSTM32F405xx -DDSP_CLASS_NAME=panel -I. -Icubemx/Inc -Icubemx/Drivers/CMSIS/Include -Icubemx/Drivers/CMSIS/Device/ST/STM32F4xx/Include -Icubemx/Drivers/STM32F4xx_HAL_Driver/Inc -Icubemx/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -lc -lm -lnosys -Wall -O3 --std=c++17 -ffast-math -fno-math-errno --exceptions cubemx/Src/adc.c > deps/cubemx/Src/adc.c.d.$$; \
sed 's,\(cubemx/Src/adc\)\.o[ :]*,\1.o deps/cubemx/Src/adc.c.d : ,g' < deps/cubemx/Src/adc.c.d.$$ > deps/cubemx/Src/adc.c.d; \
rm -f deps/cubemx/Src/adc.c.d.$$
mkdir -p deps/cubemx/Src/
set -e; rm -f deps/cubemx/Src/usart.c.d; \
arm-none-eabi-g++ -MM -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -mfloat-abi=hard -mlittle-endian -DUSE_HAL_DRIVER -DSTM32F405xx -DDSP_CLASS_NAME=panel -I. -Icubemx/Inc -Icubemx/Drivers/CMSIS/Include -Icubemx/Drivers/CMSIS/Device/ST/STM32F4xx/
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Jul 5, 2021
Archive May 31, 2021
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started May 31, 2021
:clisk-random-seed 210531
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active May 30, 2021
Archive April 17.2021
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started April 17, 2021
:clisk-random-seed 210417
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Mar 4, 2021
Archive started January 19, 2021
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started January 19, 2021
:clisk-random-seed 210119
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Jan 19, 2021
tweegeemee archive 12/17/2020
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started December 17, 2020
:clisk-random-seed 201217
Learn more at https://github.com/rogerallen/tweegeemee
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active Oct 27, 2020
tweegeemee archive 9/13/2020
View 0_tweegeemee.txt
Archive of the code for images posted to https://twitter.com/tweegeemee
Started September 13, 2020
:clisk-random-seed 200913
Learn more at https://github.com/rogerallen/tweegeemee
@rogerallen
rogerallen / solution.txt
Last active Sep 12, 2021
Oregon State West Hall Dorm Math Series
View solution.txt
At Oregon State University, when you walk into West Hall, there is a series of numbers written on
the walls, near the ceiling.
The numbers are:
3 7 31 127 [EXIT sign] 8191 131071 524287 8388607 536870911 2147483647 137438953471 2199023255551
8796093022207 140737488355327 9007199254740991 576460752303423487 2305843009213693951
There is nothing else describing the numbers. I wondered what they were & figured it out below.
----- SPOILERS BELOW -----