Skip to content

Instantly share code, notes, and snippets.

View luckydonald's full-sized 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
using SteamKit2;
using System.Collections.Generic;
using SteamTrade;
using System;
using System.Timers;
namespace SteamBot
{
public class KeyUserHandler : UserHandler
{
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 June 23, 2024 20:59
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.

@luckydonald
luckydonald / cubietruck_shairport-sync.md
Last active December 1, 2016 16:33
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

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 March 15, 2021 15:39
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:

bcmdhd
@luckydonald
luckydonald / cubietruck_shairport_relais.md
Created September 3, 2015 16:41
Still in progress.............

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>
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 December 13, 2018 01:41
Fallout 4 Protocol description

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;

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 April 20, 2016 10:35 — forked from anonymous/Api urls
json api of several pages I encountered.