Skip to content

Instantly share code, notes, and snippets.

View RamenJunkie's full-sized avatar
🍜
Noodles

Josh Miller RamenJunkie

🍜
Noodles
View GitHub Profile
@ssilverm
ssilverm / buildStepMania.sh
Last active April 29, 2024 15:13
Building StepMania on a Raspberry Pi 4
# Update and Install Packages
sudo apt-get update
sudo apt-get install -y build-essential cmake mesa-common-dev libglu1-mesa-dev libglew1.5-dev libxtst-dev libxrandr-dev libpng-dev libjpeg-dev zlib1g-dev libbz2-dev libogg-dev libvorbis-dev libc6-dev yasm libasound-dev libpulse-dev binutils-dev libgtk-3-dev libmad0-dev libudev-dev libva-dev nasm pulseaudio
# Clone and Build StepMania
git clone --depth=1 https://github.com/stepmania/stepmania.git
cd stepmania
git submodule update --init
cd Build
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DWITH_CRASH_HANDLER=OFF .. && cmake ..
@akderebur
akderebur / Program.cs
Created September 9, 2018 19:11
Wildstar M3 Model Load/Export
using System;
using System.IO;
using System.Text;
namespace M3Exporter
{
class Program
{
static void Main(string[] args)
{
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active May 24, 2024 08:27
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@jkubecki
jkubecki / ExportKindle.js
Last active February 25, 2024 00:45
Amazon Kindle Export
// The following data should be run in the console while viewing the page https://read.amazon.com/
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension
var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024);
getAmazonCsv = function() {
// Set header for CSV export line - change this if you change the fields used
var csvData = "ASIN,Title,Authors,PurchaseDate\n";
db.transaction(function(tx) {
@simcop2387
simcop2387 / gist:5493206
Last active May 4, 2022 10:57
List of all named curves on wolfram alpha!
{"Archimedean spiral",
"Archimedes’ spiral",
"astroid",
"astroid pedal curve",
"bifoliate",
"bifolium",
"butterfly catastrophe curve",
"second butterfly curve",
"cardioid",
"cardioid pedal curve",