Skip to content

Instantly share code, notes, and snippets.

@patrickwolf
patrickwolf / aax_audio_converter_keep_json.py
Created June 21, 2024 10:59
Post processing for AAX Audio Converter to keep JSON files
"""
AAX Audio Converter PostJob v0.1
Post processing for AAX Audio Converter to keep JSON files.
This script maps and copies JSON files based on AAX filenames to their respective destinations.
Authors: Patrick Wolf, ChatGPT
Year: 2024
License: Open source (all rights allowed)
# Setup:
Settings > General > Copy .aax to second folder with (flat) \ <book> - <author>
@patrickwolf
patrickwolf / git_rebase_two_repos.txt
Created September 9, 2022 12:25
How to merge Git repos with common code BUT NO common ancestry
git init
git remote add new https://github.com/patrickwolf/sandbox_repoNew
git remote add old https://github.com/patrickwolf/sandbox_repoRoot
git fetch new
git fetch old
echo "first" > readme.md
git add readme.md
git commit -m "first"
git branch combined
git rebase --rebase-merges --onto 9086ffd 80ece84 combined
Verifying that "patrickmwolf.id" is my Blockstack ID. https://onename.com/patrickmwolf
@patrickwolf
patrickwolf / seq_lib_performance_test.py
Last active May 20, 2016 02:29
Quick script to compare performance of sequence detection libraries
'''
Quick script to compare performance of sequence detection libraries
Created on Aug 26, 2014
Refernced libraries:
https://github.com/4degrees/clique
http://pyseq.rsgalloway.com/
@author: patrick.wolf
'''
import time