Skip to content

Instantly share code, notes, and snippets.

View alanedwardes's full-sized avatar
👋

Alan Edwardes alanedwardes

👋
View GitHub Profile
@alanedwardes
alanedwardes / Program.cs
Last active January 26, 2020 14:06
Parse the UE4 Vault API to catalogue it in a spreadsheet (exports the JSON -> CSV)
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace UnrealVaultParser
{
class Program
{
@alanedwardes
alanedwardes / collector.py
Last active May 25, 2021 21:35
Uses the Pimoroni enviroplus board to capture statistics every second, update the screen and send them to a Graphite installation
#!/usr/bin/env python3
import graphyte
import time
import colorsys
import sys
import ST7735
try:
# Transitional fix for breaking change in LTR559
from ltr559 import LTR559
@alanedwardes
alanedwardes / create_playlist.py
Created April 20, 2024 23:10
Create a simple .m3u file from a folder heirarchy
import os
import sys
import pathlib
if len(sys.argv) < 2:
print("Error - pass the folder(s) you want to index as argument(s)")
exit(1)
directories = sys.argv[1:]