This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=200; // hurr. durr. | |
difference(){ | |
intersection(){ | |
cylinder(h=10,r1=2, r2=4); | |
translate([0,0,0]) sphere(r=6); | |
} | |
translate([-1,-1,0]) cube([2,2,2.5]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import subprocess | |
import json | |
import datetime | |
class ldict(dict): | |
def __missing__(self, key): | |
return 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEY | |
luchse sind halt tolle katzen | |
6c75636873652073696e642068616c7420746f6c6c65206b61747a656e | |
MSG | |
luchse luchsen luchsig in luxemburg umher | |
6c7563687365206c75636873656e206c75636873696720696e206c7578656d6275726720756d686572 | |
HMAC SHA3-224: 32 04 e3 2d bb b7 33 45 43 fe 11 cd 73 8d d5 21 25 b5 a1 88 70 38 fb c1 07 f9 21 c5 | |
HMAC SHA3-256: 3f 8c 69 1e 77 be 44 7d 4e cd cf 0d 61 f2 8b 9c 8c 00 67 f6 fd d8 22 46 4b 9d a3 69 f3 c2 85 2b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@irbis ~ # ./dn42_countroute | |
IPv4 | |
273 gre_dn42_tobee | |
178 dn42_ffbi | |
66 dn42_hexa | |
21 dn42_barnslig | |
8 gre_dn42_mortzu | |
7 dn42_docsteel | |
7 dn42_pyropeter | |
7 dn42_unbedenkli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Transkript Küchenradio KR387 | |
01:58:09 Und dann versuchen wir mal, ganz ganz leise ohne einen Ton in den | |
Raum zu gehen, wo die Leute mit dem 'Network' sitzen | |
01:58:15 Warum sind die so gefürchtet? | |
01:58:17 Ähm, […] weil die halt tierisch genervt sind von den Leuten, die | |
sie bei ihrer Arbeit stören. Also die sind, die haben halt gewissen | |
Personalmangel, die haben da ziemlich viel Verantwortung, die haben […] die | |
müssen hochkonzentriert Dinge tun, immer was fixen, wenn was kaputt geht, | |
wenn irgendwo ein Accesspoint nicht geht, wenn sich Frequenzen | |
überschneiden, whatsoever. Und das ist das allerletzte, was sie brauchen, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feuerrot@lynx ~ % cat bin/lockscreen | |
#!/usr/bin/env sh | |
feh -B black -F ~/.bg/cccadc1957166cf6d0df119271b7db7184228c58.jpg & | |
FEH_PID=$! | |
xtrlock && kill $! & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run | |
Starting program: /usr/bin/sigrok-cli -d sysclk-lwla -C CH1 --time 3s | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff4fdf700 (LWP 23066)] | |
sr: sysclk-lwla: Received size 64 does not match expected size 1008. | |
Program received signal SIGSEGV, Segmentation fault. | |
0x00007ffff6744804 in libusb_submit_transfer () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 | |
(gdb) bt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id = 0 | |
sda = 7 | |
scl = 6 | |
m = mqtt.Client("kuehlschrank", 120, nil, nil) | |
i2c.setup(id, sda, scl, i2c.SLOW) | |
function mqtt_init() | |
print("mqtt_init()") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import serial | |
import time | |
import sys | |
ser = serial.Serial('/dev/ttyS4') | |
cmd = [ | |
['a09', 'a1D', 'a1F', 'a0D'], | |
['a17', 'a12', 'a59', 'a08'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
error() { | |
>&2 echo $1 | |
if [ $2 -eq "1" ] | |
then | |
exit 1 | |
fi | |
} |