Skip to content

Instantly share code, notes, and snippets.

View juliavdkris's full-sized avatar

Julia van der Kris juliavdkris

View GitHub Profile
@juliavdkris
juliavdkris / docker-build-push.yaml
Last active July 13, 2024 18:01
Alexandria CI/CD template
name: Docker build & push image
on:
push:
branches: [main]
workflow_dispatch:
jobs:
docker:
@juliavdkris
juliavdkris / python_tutorial_thingy.md
Created September 12, 2024 14:40
Julia's deranged Python writeup

Okay so that lab was a lot of information very fast - and not very well explained... Here's a little writeup on how to set things up with as little hassle as possible

Mahmoud said to use anaconda, which is just python with some extra stuff that you don't need and will only make things more complicated imo

Instead I would recommend just downloading python directly. For some reason the code he provided only works on version 3.8, so if you already have python installed, I would recommend uninstalling all other versions first before installing 3.8 (Search for "add or remove programs", search for "python" or "anaconda" and uninstall everything)

  1. Go to https://www.python.org/downloads/release/python-310
  2. Scroll down to "files" and download "windows installer (64-bit)"
  3. Run the installer
@juliavdkris
juliavdkris / flac-to-opus.sh
Last active August 29, 2025 20:31
Modified version of Lily's script to convert music files from flac to opus <3
#!/usr/bin/env bash
set -euo pipefail
### ─── CONFIG ───────────────────────────────────────────────────────────────
INPUT_DIR="/home/julia/Music"
OUTPUT_DIR="/home/julia/MusicOpus"
HASH_FILE="$OUTPUT_DIR/.converted_hashes.txt"
COVER_HASH_FILE="$OUTPUT_DIR/.cover_hashes.txt"
LOG_FILE="$OUTPUT_DIR/conversion.log"
BITRATE="128" # opusenc bitrate in kbps