Skip to content

Instantly share code, notes, and snippets.

View iFreilicht's full-sized avatar
☘️
This day is 24 hours long

Felix Uhl iFreilicht

☘️
This day is 24 hours long
View GitHub Profile
git clone https://github.com/nix-community/nixd.git
cd nixd
nix build -L .#
@iFreilicht
iFreilicht / test_debug_stop.py
Created October 24, 2017 14:55
Run this file in a python debugger and then stop execution. The final print statement should be reached.
#!/usr/bin/env python3
import time
try:
while True:
print('Sleeping...')
time.sleep(1)
finally:
print('Reached finally clause!')
@iFreilicht
iFreilicht / arduino_stl_printf_blocking.ino
Last active August 10, 2017 17:59
Demo-code of a potential bug in ArduinoSTL
#include <ArduinoSTL.h>
void setup() {
Serial.begin(9600);
pinMode(13, OUTPUT);
}
bool led_on = false;
void loop() {
@iFreilicht
iFreilicht / keybase.md
Last active July 19, 2016 17:58
keybase.md

Keybase proof

I hereby claim:

  • I am ifreilicht on github.
  • I am ifreilicht (https://keybase.io/ifreilicht) on keybase.
  • I have a public key whose fingerprint is A3E6 E11A 81B7 339B F1D9 E6E6 82C7 8DFB 006C 3990

To claim this, I am signing this object: