Skip to content

Instantly share code, notes, and snippets.

View pauljacobson's full-sized avatar
:octocat:

Paul Jacobson pauljacobson

:octocat:
View GitHub Profile
@pauljacobson
pauljacobson / Dnd_campaign_MOC.md
Created June 10, 2021 08:38
This is my current template for DnD Campaign overview notes. It is optimized for my use using Obsidian
alias tags cssclass

Main: Related:

{{title}}

@pauljacobson
pauljacobson / Lazy_DM_checklist_adaptation.md
Created June 10, 2021 08:39
This is my adaptation of the Lazy DM checklist for my use in Obsidian
alias tags cssclass

Main: [[Campaigns]] Related:

{{title}}

@pauljacobson
pauljacobson / vault_stats.py
Last active April 8, 2022 15:19
A Python script to generate Obsidian vault stats
# Huge thanks to Rythm for the original code
# that I adapted for this script
# Source: https://j.mp/2UPeDJh
import os.path
import datetime
FILE_PATH = "/path/to/vault/directory/"
TODAY = datetime.datetime.today()
LAST_UPDATE = "{:%A %d %B, %Y at %H:%M}".format(TODAY)
@pauljacobson
pauljacobson / image_manipulation.py
Created May 30, 2022 05:48
Script to take in TIFF images and reformat them as JPEG images using Pillow
#!/usr/bin/env python3
from pathlib import Path
from PIL import Image
from rich.console import Console
from rich.traceback import install
# Add support for Rich traceback formatting
install(show_locals=True)
@pauljacobson
pauljacobson / .zshrc
Created January 19, 2023 12:22 — forked from bashbunni/.zshrc
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"