Skip to content

Instantly share code, notes, and snippets.

View alexsarmiento's full-sized avatar

AS alexsarmiento

View GitHub Profile
@alexsarmiento
alexsarmiento / pyrewpw.py
Last active September 13, 2023 15:23
Python script to convert generic REW eq files to pipewire native filters.
#!/usr/bin/env python
import json
from pprint import pp
import argparse
import re
parser = argparse.ArgumentParser(
description="Convert REW Generic EQ file to Pipewire configuration file."
)
@alexsarmiento
alexsarmiento / ubuntu.sh
Last active November 21, 2021 17:55
vmbuilder for gyf304 / vmcli
#!/bin/bash
set -e
# this script creates a ubuntu VM which the current user's
# username and ssh public key.
# uncomment the following line to keep temp files
skip_cleanup=1
# disk size, default to 4096 mb
{
"device_name": "My Book Live NAS",
"listening_port" : 0, // 0 - randomize port
"storage_path" : "/DataVolume/cache/btsync/syncStorage",
"pid_file" : "/var/run/btsync.pid",
"check_for_updates" : true,
"use_upnp" : true, // use UPnP for port mapping