Skip to content

Instantly share code, notes, and snippets.

View nomadicloudz's full-sized avatar

nomad nomadicloudz

View GitHub Profile
@gepron1x
gepron1x / beatfinder.py
Last active January 30, 2025 03:57
Kdenlive beat sync
import argparse
import librosa # you need librosa to get this working
import datetime
def parse_delta(s):
date = datetime.datetime.strptime(s, "%H:%M:%S")
return datetime.timedelta(hours=date.hour, minutes=date.minute, seconds=date.second)
@Killeroid
Killeroid / gpg-import-and-export-instructions.md
Created October 18, 2017 11:51
How to export and import gpg keys

Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.

Method 1

Gotten from the RedHat GPG migration manual

Backup the public and secret keyrings and trust database

## Export all public keys

gpg -a --export >mypubkeys.asc