Skip to content

Instantly share code, notes, and snippets.


Florian Echtler floe

View GitHub Profile
floe /
Last active Jan 12, 2022
Analyse 5-letter words for optimum Wordle guess
# cf.
#letters = "etaoinshrdlcumwfgypbvkjxqz"
words = { }
def skip_double(word):
pos = 1
for letter in word:
#!/usr/bin/env bash
set -e
# GitHub: iddo
floe / PCS-Janitor.user.js
Last active Feb 26, 2021
TamperMonkey script to manage the messy submission page in PrecisionConference
View PCS-Janitor.user.js
// ==UserScript==
// @name PCS-Janitor
// @namespace
// @version 0.2
// @description Clean out all hidden submissions from PCS
// @author @floe, based on code by @karalix
// @match
// @run-at document-end
// @grant none
// ==/UserScript==
View HideScoresPCS.js
// ==UserScript==
// @name HideScoresPCS
// @namespace
// @version 0.1
// @description try to take over the world!
// @author You
// @match*
// @run-at document-end
// @grant none
// ==/UserScript==
floe /
Last active Oct 17, 2018
Export reading list from ACM SIGCHI Android App
# written at 7am before coffee. don't @ me.
import os
import re
import tarfile
import sqlite3
import subprocess
import urllib.request
View dump_nrf51.rb
#!/usr/bin/env ruby
# Dump firmware from nrf51 and maybe other cortex-m devices
# The script thats missing from
# Also inspired by
# Requires seperate instace gdb server already running, for my jlink I use
# openocd -f interface/jlink.cfg -c "adapter_khz 2000; transport select swd;" -f target/nrf51.cfg
# uicr and ficr are always accessible so you might want to dump those externally and compare?
# openocd -f interface/jlink.cfg -c "adapter_khz 2000; transport select swd; set WORKAREASIZE 0;" -f target/nrf51.cfg -c "init; reset halt; flash read_bank 1 uicr-normal.bin 0x0 0x100; exit"

Keybase proof

I hereby claim:

  • I am floe on github.
  • I am floe ( on keybase.
  • I have a public key whose fingerprint is 93E0 53F4 7102 0081 15E3 3235 EC2C F2B2 11AF 6AD8

To claim this, I am signing this object:

floe / gst-appsrc.c
Last active Aug 15, 2021
example appsrc for gstreamer 1.0 with own mainloop & external buffers
View gst-appsrc.c
// example appsrc for gstreamer 1.0 with own mainloop & external buffers. based on example from gstreamer docs.
// public domain, 2015 by Florian Echtler <>. compile with:
// gcc --std=c99 -Wall $(pkg-config --cflags gstreamer-1.0) -o gst-appsrc gst-appsrc.c $(pkg-config --libs gstreamer-1.0) -lgstapp-1.0
#include <gst/gst.h>
#include <gst/app/gstappsrc.h>
#include <stdint.h>
int want = 1;