Skip to content

Instantly share code, notes, and snippets.

294 people are currently looking at this profile

Luckydonald luckydonald

294 people are currently looking at this profile
  • Some basement in Equestria.
View GitHub Profile
luckydonald /
Last active Apr 2, 2018
A script to scale images to a monitor resulution and add the best fitting background color
Makes border aware sizing of desktop wallpapers.
You need to install:
$ pip install Pillow easygui joblib
import glob
import os
View utf8_javascript_decode # # #
luckydonald / Api
Last active Apr 20, 2016 — forked from anonymous/Api urls
json api of several pages I encountered.
View Api


sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apt-rdepends

Get the stuff needed for compiling

sudo apt-get install `apt-rdepends python3 | grep ^lib`
luckydonald / Pipboy
Last active Dec 13, 2018
Fallout 4 Protocol description
View Pipboy

luckydonald/JavaPipBoyServer/ Now summarizes this and other findings, and is generally more maintainend.

C Structs

struct Entry {
  uint8_t type;
  uint32_t id;
  switch (type) {
    case 0:
      uint8_t boolean;
View snaphu_windows_install_instructions_de.txt
Hier die Schritte zum Installieren/Compilieren:
0- Download
Download > Richtige Version (meist 64 Bit)
Dann kann schon mal mit SChritt (1) gestartet werden.

This documents how I did setup my Stereo to automatically turn on when I play music over airplay, and turns off afterwards.


gpio_pin_5 = port:PB15<0><0><default><0>
luckydonald /
Last active Mar 15, 2021
How I configure the Cubietruck to work as an WLAN bridge.

In this file I document the steps taken to get the onboard wifi chip of the Cubietruck (Cubieboard 3) up and running.

Add the wifi driver to the modules to load on startup.

sudo nano /etc/modules

Now add at the end of the file, if not already in the list:

luckydonald /
Last active Dec 1, 2016
How to install an Airplay server (shairport-sync) on a Cubietruck

Install Shairport-Sync on a Cubieboard

I did the steps in this Cubietruck GPIO tutorial before, so I might miss dependencies already installed there. If that is the case, bug me in a comment.

Licensed under a Luna-Will-Cry-If-You-Modify-Or-Redistribute-This 1.0 licence.

Install dependencies


sudo apt-get install -y autoconf libtool libdaemon-dev libasound2-dev libpopt-dev avahi-daemon libavahi-client-dev libssl-dev git
sudo apt-get install -y libsoxr-dev
luckydonald /
Last active Feb 1, 2021
How to setup and use GPIO ports/pins on a Cubietruck

Setup and use GPIOs on a Cubietruck

Cubietruck is also known as Cubieboard 3

Note: This file documents just what I did, first of all as a note for myself. So this is not primarily intended as a tutorial. Because it still might be helpfull, I uploaded it. The GPIO function is now confirmed to work, tested with my multimeter, but I am still waiting for my jumper cables to arrive, so I can use them securely.

Licensed under a Luna-Will-Cry-If-You-Modify-Or-Redistribute-This 1.0 licence.