Skip to content

Instantly share code, notes, and snippets.

pdxmph / catppuccin-simple-custom.css
Created Jan 22, 2023
Sample custom CSS to override simplecss with Catppuccin palette
View catppuccin-simple-custom.css
@import url('');
@import url('');
@import url('');
h1, h2, h3, h4, h5, h6 {
font-family: 'Neuton', serif;
:root {
pdxmph /
Created Jan 12, 2023
Sample config for obsidian43-text-transporter plugin

Keybase proof

I hereby claim:

  • I am pdxmph on github.
  • I am pdxmph ( on keybase.
  • I have a public key ASAx8GzdJNTg9VBxmxJs5L4A8HPrAN1-6OIiHw2Zy0uGNwo

To claim this, I am signing this object:

pdxmph / make_data.rb
Last active May 17, 2022
Populate Jekyll data directories with the jpegs found in _galleries/foo.
View make_data.rb
#!/usr/bin/env ruby
require 'yaml'
require 'mini_exiftool'
# Run this in the root of your jekyll install.
gallery_name = ARGV[0]
target_dir = "_galleries/#{gallery_name}"
data_file = "_data/galleries/#{gallery_name}.yml"
pdxmph /
Last active May 16, 2022
Using Jekyll data to provide descriptions to a cheesy-gallery gallery
pdxmph /
Last active Apr 19, 2022
Simple Markdown RFC template



**Created: **

**Deadline/Timeframe: **


**Driver: **

pdxmph / kcrw_current_track_to_things.rb
Last active May 15, 2020
Save current KCRW Eclectic 24 track to a Things list
View kcrw_current_track_to_things.rb
#!/usr/bin/env ruby
require 'json'
require 'date'
require 'net/http'
require 'rb-scpt'
include Appscript
# Set up things
list = "To read, etc."

February 6, 2010 at 2:02:28 AM PST

Taking the Dumb Pipe to China

Note: This story finally ended


So, yesterday I tweeted:

Dialed an 866 WebEx number on my iPhone, getting charged by AT&T for calling China. idontevenknowwhotoblamefail

pdxmph / increase_itunes_playlist_volume.scpt
Created Aug 9, 2019
Make the tracks in a playlist louder (experimental)
View increase_itunes_playlist_volume.scpt
tell application "iTunes"
set myList to the user playlist "Ride"
set myTracks to the file tracks of myList
repeat with theTrack in myTracks
tell theTrack
set the volume adjustment to "75"
end tell
end repeat
end tell
pdxmph / sprint_animal.rb
Last active Apr 1, 2019
Animal Sprint Name Generator: takes a letter and a sentiment as arguments. (e.g.`sprint_animal.rb a negative` or `sprint_animal.rb z positive`
View sprint_animal.rb
#!/usr/bin/env ruby
require 'sentimental'
# takes two arguments (starting letter and sentiment, where sentiment should be 'positive,' 'negative,' 'neutral.')
letter = ARGV[0]
sentiment = ARGV[1] || "negative"
analyzer = 0.3)