Skip to content

Instantly share code, notes, and snippets.

View Thomashighbaugh's full-sized avatar

Thomas Leon Highbaugh Thomashighbaugh

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Thomashighbaugh / neomemphis-template.html
Last active December 13, 2023 12:21
Current (Q4 2023) HTML email and cover letter template. Inspired by Neo-Memphis design (like neubrutalism but not hideous or gawdy).
<!doctype html>
<html lang="en">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Neubrutalist Email Template</title>
@import url(",wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

Getting Pinback to Work With Firefox Versions That Are Not Bookmarklet Friendly

  1. Go to the GitHub repository for Pinback and open up the the file pinback.js
  2. Click the button for Raw and when that opens, Ctrl + a then Ctrl + c
  3. Go to your pintrest user name logged in like the regular instructions
  4. Open up the developer tools by hitting F12 then click the tab for Console that will open up a command-prompt/terminal like line. This will run Javascript locally, which is useful for things like this especially
  5. Now paste the content into the console with ctrl + v and hit Enter (or Return if you are using an Apple keyboard)

Boom! Now It Runs As Expected

#!/usr/bin/env bash
# Check if ffmpeg is installed
if ! command -v ffmpeg &>/dev/null; then
echo "Error: ffmpeg is not installed. Please install it before running this script."
exit 1
# Check for the correct number of command-line arguments
if [ $# -ne 1 ]; then
#!/usr/bin/env bash
# Check if the required commands are available
if ! command -v ffmpeg &>/dev/null; then
echo "Error: FFmpeg is not installed. Please install FFmpeg."
exit 1
if ! command -v convert &>/dev/null; then
echo "Error: ImageMagick's 'convert' command is not installed. Please install ImageMagick."
#! /usr/bin/env python
import sys, os
inputOne = sys.argv[1]
inputTwo = sys.argv[2]
for i in sys.argv[1:]:
if ".mp3" in i:
output = i.replace("mp3", "mp4")
Thomashighbaugh / metasearch.user.js
Last active November 12, 2023 23:54
Metasearch user script but without Chinese sites I don't use and some extra search engines I do use.
// ==UserScript==
// @name Metasearch
// @namespace
// @version 1.2.6
// @description Toolbar on the bottom of search result pages for using the same query to search other search engines. Fork of Jkker's Metasearch
// @author Thomas Leon Highbaugh
// @license MIT
// @match *://*
// @match *://**
// @match *://*
Thomashighbaugh /
Created August 31, 2023 21:32
Bash script to generate favicons of an assortment of sizes. Lighter, faster and more portable than online tools to achieve the same task necessary for creativity infused web development.
#!/usr/bin/env bash
# from
# Provide an image as a parameter, recieve favicons
declare -a SIZES
Thomashighbaugh / ublock-origin-urls.txt
Last active April 14, 2024 10:09
The copy-paste url links I throw on ublock-origin to really keep the BS down to a low level while searching the web. From