Skip to content

Instantly share code, notes, and snippets.

View Snuggle's full-sized avatar

Evie ​Snuggle Snuggle

View GitHub Profile
@hector6872
hector6872 / delete-darktable-rejected.sh
Created August 18, 2019 12:46
Delete all Darktable rejected and low-rated pictures
#!/bin/sh
if [ -z "$1" ]; then
echo Delete all Darktable rejected pictures
echo
echo "Usage:"
echo $0 [source] --onestar to delete also all pictures with one star rating
exit 1
fi

💜 FairyShell v 0.1 💜

A Windows Terminal Theme based on @sailorhg's Fairy Floss theme

N.B. This uses Powershell as my shell but you can change this by changing the commandline value in the profile below!

Instructions:

Optional pre-setup

  • If you want the font I use here install instructions can be found here else Consolas is a fine replacement untill Cascadia is out 💖
  • If you want the Fairy Floss graphic in the background, you can get it from here and save it to the directory where your profile.json file is stored in the next step.
@artizirk
artizirk / gnupg_scdaemon.md
Last active June 22, 2025 17:26
OpenPGP SSH access with Yubikey and GnuPG

NB: This document describles a 'Old-School' way of using Yubikey with SSH

Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.

Pros of FIDO

  • Simpler stack / less moving parts
  • Works directly with ssh, ssh-add and ssh-keygen on most computers
  • Simpler
  • Private key can never leave the FIDO device

Cons of FIDO

@EvieePy
EvieePy / bot_example.py
Last active August 4, 2025 01:32
A Cogs Example for the rewrite version of - discord.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.
@jacksonpradolima
jacksonpradolima / install_source-pro_font.sh
Last active January 15, 2025 23:29
Installing Adobe's Source Pro fonts in Ubuntu: Source Code Pro, Source Serif Prof, and Source Sans Pro
#!/bin/bash
mkdir /tmp/adodefont
cd /tmp/adodefont
mkdir -p ~/.fonts
wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
unzip 1.050R-it.zip
cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/
wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip