Skip to content

Instantly share code, notes, and snippets.

View kaderud's full-sized avatar
🏠
Working from home

Christian K. Kaderud kaderud

🏠
Working from home
View GitHub Profile
@kaderud
kaderud / keybase.md
Created November 15, 2017 11:58
### Keybase proof

Keybase proof

I hereby claim:

  • I am kaderud on github.
  • I am kaderud (https://keybase.io/kaderud) on keybase.
  • I have a public key ASBk6zrkG5mmxB5iOwiwa3SD6WONmGb-DyrhlQKlCfDSvgo

To claim this, I am signing this object:

; FDNODE.CTL - FrontDoor's nodelist control file
;
Dial / 009 ; Utrikes
46-8- ; Stockholm
46- 0 ; �vriga Sverige
End
;
; Kostnader i Sverige, inkl. moms 910101
;
Cost 125 1535
@kaderud
kaderud / ROUTE.FD
Last active June 23, 2020 20:15
Routing file for the FrontDoor Mailer
schedule @ *
route-to 2:201/307 1:* 2:* 3:* 4:* 5:* 6:* 255:*
route-files 2:201/307 1:* 2:* 3:* 4:* 5:* 6:* 255:*
hold *
Schedule C *
Poll 2:201/307
unhold *
[Desktop Entry]
Categories=Development;API;
Comment=The Collaboration Platform for API Development
Keywords=api;http;endpoints;
GenericName=Postman
Type=Application
Version=1.0
Name=Postman
Name[en_US]=Postman
Icon=~/Apps/Postman/app/resources/app/assets/icon.png
@kaderud
kaderud / purgepkgs.sh
Created June 23, 2020 20:20
Find and purge Ubuntu packages
#!/bin/bash
# list all Removed packages with conf files (rc), and just print the package name
dpkg --list | grep ^rc | awk '{ print $2 }'
# remove the packages/conf files
apt purge `dpkg --list | grep ^rc | awk '{ print $2 }'`
@kaderud
kaderud / code.py
Created June 2, 2022 06:26
2x 8x8 NeoMatrix-compatible LED signage with buttons
import board
import neopixel
import gc
from digitalio import DigitalInOut, Direction, Pull
from adafruit_debouncer import Debouncer
from time import sleep, monotonic
from adafruit_led_animation.color import (AQUA, BLACK, BLUE, PURPLE, WHITE,
CYAN, RED, AMBER, JADE, TEAL, PINK,