Skip to content

Instantly share code, notes, and snippets.

View ealgase's full-sized avatar

Ellie Algase ealgase

  • Ann Arbor, Michigan
View GitHub Profile
@freemo
freemo / Bring up container (aws-cli)
Last active November 12, 2019 10:31
QOTO on AWS
aws ecs register-task-definition --family load-balancer --network-mode bridge --container-definitions "$(cat container-def.json)" --volumes "$(cat volumes-def.json)"
# Launch ECS task, when above command ran once X == 1, for every update X increases by one.
# will have too double check docs how to get latest
aws ecs run-task --cluster default --task-definition load-balancer:X --count 1
@MCJack123
MCJack123 / DisplaySong.py
Last active March 6, 2021 16:53
iPod-style Spotify track info display (or clock when no track is playing) using 16x2 I2C LCD (Python 2 only)
# Requires smbus: sudo apt install python-smbus
import I2C_LCD_driver
import time
import json
import httplib
import io
import os
from sys import exit
# Add the refresh key here (https://bit.ly/2DM1oRZ)
@MCJack123
MCJack123 / hexedit.cpp
Last active May 6, 2018 23:44
A simple ncurses-based hex editor supporting files up to 4GB
// compile with: g++ -o hexedit -std=c++11 hexedit.cpp -lncurses
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <utility>
#include <iomanip>
#include <stdint.h>
#include <math.h>
#include <ncurses.h>
@nzec
nzec / README.MD
Last active February 23, 2024 01:08
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@fwenzel
fwenzel / b2.md
Last active July 31, 2023 04:40
Mastodon --> Backblaze B2

Using Mastodon with Backblaze B2

Mastodon can store its assets in Amazon S3 (it speaks the S3 protocol). But it does not, by default, speak to Backblaze B2.

There are a couple of reasons why you might want that:

  • you already know and trust B2
  • it's cheaper
  • you do not want to make your instance dependent on AWS
  • etc.