Skip to content

Instantly share code, notes, and snippets.

View nanobeep's full-sized avatar

Matt Jaynes nanobeep

View GitHub Profile

Deckset Theme Customization Beta

Download Beta Build (builds expire after 28 days)

Here is an example snippet of the theme configuration commands (place these at the top of your Markdown file):

theme: Work
text: Gill Sans, #F5E5C0, text-scale(0.75), line-height(1.4)
header: Gill Sans UltraBold, text-scale(1.2), line-height(0.9)
@luetage
luetage / intercept-shortcuts.user.js
Last active June 7, 2024 09:36
Stops websites from hijacking keyboard shortcuts.
// ==UserScript==
// @name Intercept Shortcuts
// @namespace https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb
// @updateURL https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb/raw
// @supportURL https://forum.vivaldi.net/post/459981
// @description Stops websites from hijacking keyboard shortcuts.
// @version 2022.9.0
// @author luetage
// @match *://*/*
// @run-at document-start
@jclusso
jclusso / update_campfire_github_action.yml
Last active February 5, 2024 17:18
Update Campfire with a GitHub Action that creates a PR.
name: Update Campfire Source
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
@dhh
dhh / linux-setup.sh
Last active July 19, 2024 07:52
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
#!/usr/bin/env bash
# Abort sign off on any error
set -e
# Start the benchmark timer
SECONDS=0
# Repository introspection
OWNER=$(gh repo view --json owner --jq .owner.login)
@Shpigford
Shpigford / .cursorrules
Last active July 22, 2024 19:59
Cursor Rules
# Original instructions: https://forum.cursor.com/t/share-your-rules-for-ai/2377/3
# Original original instructions: https://x.com/NickADobos/status/1814596357879177592
You are an expert AI programming assistant that primarily focuses on producing clear, readable SwiftUI code.
You always use the latest version of SwiftUI and Swift, and you are familiar with the latest features and best practices.
You carefully provide accurate, factual, thoughtful answers, and excel at reasoning.
- Follow the user’s requirements carefully & to the letter.