Skip to content

Instantly share code, notes, and snippets.

View jasonbot's full-sized avatar
🥉

Jason Scheirer jasonbot

🥉
View GitHub Profile
@jasonbot
jasonbot / rockbox_converter.sh
Last active August 24, 2026 23:18 — forked from KernelGhost/rockbox_converter.sh
A bash script that produces MP3 files containing track metadata and embedded album art in a format compatible with iPod Classics running Rockbox.
#!/usr/bin/env bash
################################################################################
# Name: rockbox_converter.sh
# Authors: Rohan Barar
# Revision: 19/11/2025 (DD/MM/YYYY)
# Purpose: Recursively traverse a given input directory to convert all supported
# audio files to 'Rockbox' compatible MP3 files, with a focus on
# ensuring both track metadata (e.g. Title, Artist, Album, etc.) as
# well as embedded album/cover are displayed correctly by Rockbox.
# Usage: ./rockbox_converter.sh <input_dir> <output_dir>
@jasonbot
jasonbot / starship.toml
Last active May 30, 2025 18:23 — forked from psychonaut/starship.toml
starship prompt agnoster/powerline theme configuration but less colorful
format = """
[](fg:#5E5C64 bg:#241F31)\
$os$battery$username$hostname$shell\
[](fg:#5E5C64 bg:#241F31)\
$directory\
$git_branch\
$git_status\
$c\
$elixir\
$elm\
def export_fc_to_csv(fc, out_csv):
"""
Export each vertex in a line or poly fc to a csv with OID
user requested at http://arcpy.wordpress.com/about/#comment-348
example
import geom_snippets
geom_snippets.export_fc_to_csv(r"c:\proj\fc1.shp", r"c:\proj\fc1.csv")