Skip to content

Instantly share code, notes, and snippets.

Avatar
👀
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
View KeyUserHandler.cs
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
View ScrapUserHandler.cs
using SteamKit2;
using SteamTrade;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Timers;
namespace SteamBot
{
public class ScrapUserHandler : UserHandler
@luckydonald
luckydonald / cubietruck_gpio.md
Last active Feb 1, 2021
How to setup and use GPIO ports/pins on a Cubietruck
View cubietruck_gpio.md

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.

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

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

source

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
luckydonald / cubietruck_wifi_bridge.md
Last active Mar 15, 2021
How I configure the Cubietruck to work as an WLAN bridge.
View cubietruck_wifi_bridge.md

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:

bcmdhd
View cubietruck_shairport_relais.md

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

FEX:

gpio_pin_5 = port:PB15<0><0><default><0>
View snaphu_windows_install_instructions_de.txt
Hier die Schritte zum Installieren/Compilieren:
0- Download
http://www.cygwin.com/
Download > Richtige Version (meist 64 Bit)
https://cygwin.com/setup-x86.exe
Dann kann schon mal mit SChritt (1) gestartet werden.
http://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/
@luckydonald
luckydonald / Pipboy Protocol.md
Last active Dec 13, 2018
Fallout 4 Protocol description
View Pipboy Protocol.md

luckydonald/JavaPipBoyServer/PROTOCOL.md 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 install_python.md

Prerequirements

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
luckydonald / Api urls.md
Last active Apr 20, 2016 — forked from anonymous/Api urls
json api of several pages I encountered.
View Api urls.md