Skip to content

Instantly share code, notes, and snippets.

View christippett's full-sized avatar

Chris christippett

View GitHub Profile
@christippett
christippett / rclone-cron.sh
Last active February 1, 2025 22:21 — forked from jaredmales/rclone-cron.sh
An rclone backup script for cron
#!/bin/bash
##############################################################################
# An rclone backup script by Chris Tippett ([email protected])
#
# Originally adapted from the great work by Jared Males ([email protected])
# https://gist.github.com/jaredmales/2f732254bb10002fc0549fa9aa0abdd7
#
# Copyright (C) 2020 Chris Tippett ([email protected])
#
@christippett
christippett / doit.tf
Last active June 11, 2020 15:09
Terraform definition to create a service account for DoIT in Google Cloud Platform
locals {
org_id = ""
project_id = ""
}
resource "google_service_account" "doit" {
account_id = "doit-management"
display_name = "DoiT Service Account"
project = local.project_id
}
@christippett
christippett / README.md
Last active March 11, 2025 04:02
Hacker News Stylesheet

Hacker News userstyle

A modern re-styling of the Hacker News front page, including automatic light/dark mode.

Install directly with Stylus

Screenshots

HN 1

@christippett
christippett / README.md
Last active January 28, 2023 19:33
Custom Userstyle – freedesktop.org

freedesktop.org userstyle

A few light touches to improve the experience of finding and reading the documentation on freedesktop.org.

Install directly with Stylus

Screenshots

1

@christippett
christippett / split-grid.sh
Last active February 3, 2024 01:13
Split Midjourney image grid into individual images
#!/bin/sh
set -e
ext=".$(basename "$1" | rev | cut -d'.' -f1 | rev)"
fname="$(basename "$1" "$ext")"
width="$(identify -format "%w" "$1")"
height="$(identify -format "%h" "$1")"
@christippett
christippett / macos-plex-tls.sh
Created April 12, 2024 13:15
Configure Plex TLS with Tailscale on macOS
#!/bin/sh
DOMAIN='______.ts.net'
PASSWORD="____"
tailscale_cert="$HOME/Library/Containers/io.tailscale.ipn.macos/Data/${DOMAIN}.crt"
tailscale_key="$HOME/Library/Containers/io.tailscale.ipn.macos/Data/${DOMAIN}.key"
plex_cert="$HOME/Application Support/Plex Media Server/https.p12"
@christippett
christippett / tailscale-install.sh
Created May 31, 2024 23:14
Install Tailscale on Steam Deck ft. SquashFS & systemd-sysext
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# _____ _ _ _
# /__ \__ _(_) |___ ___ __ _| | ___
# / /\/ _` | | / __|/ __/ _` | |/ _ \
# / / | (_| | | \__ \ (_| (_| | | __/
# \/ \____|_|_|___/\___\__,_|_|\___| _ _
# ,d88b.d88b, / _\ |_ ___ __ _ _ __ ___ __| | ___ ___| | __
# 88888888888 \ \| __/ _ \/ _` | '_ ` _ \ / _` |/ _ \/ __| |/ /
# `Y8888888Y' _\ \ || __/ (_| | | | | | | (_| | __/ (__| <