Skip to content

Instantly share code, notes, and snippets.

View mattbailey's full-sized avatar
🦆
quack

Matt Bailey mattbailey

🦆
quack
View GitHub Profile
@mattbailey
mattbailey / com.local.KeyRemapping.plist
Last active February 23, 2024 12:27
macos plist for remapping caps lock to left control, and right control to Fn which you can't do in system settings
<!--
Generated with: https://hidutil-generator.netlify.app/
Put in new file: ~/Library/LaunchAgents/com.local.KeyRemapping.plist
load with:
$ launchctl load ~/Library/LaunchAgents/com.local.KeyRemapping.plist
unload with (if you change it):
$ launchctl unload ~/Library/LaunchAgents/com.local.KeyRemapping.plist
should preserve through reboots.
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
command_timeout = 1000
format = """
$cmd_duration\
$hostname\
${custom.pwd}\
${line_break}\
@mattbailey
mattbailey / TokyoNight_Day.js
Last active April 7, 2024 06:57
Blink iOS Theme - TokyoNight Day
// extended colors
color16 = "#b15c00";
color17 = "#c64343";
t.prefs_.set("color-palette-overrides", [
"#e9e9ed",
"#f52a65",
"#587539",
"#8c6c3e",
"#2e7de9",
"#9854f1",
@mattbailey
mattbailey / authorized_keys
Created July 8, 2022 18:43
authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1YscsSEL1owFiddqp1fgAm1Rz7iG4klT7XbETrnZ+Q
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOsufeA/Z17zwmo6j5VGZKPk4W0huqYAAJ/QbDlAn9Pb bromion@blink
@mattbailey
mattbailey / commitlint.yaml
Created May 18, 2022 15:49
github workflow action for conventional commit checking
# This action makes PRs require conventional commits in both
# the pull request title, and commit message.
#
# See: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional
name: commitlint
on:
pull_request:
types: ["opened", "edited", "reopened", "synchronize"]
@mattbailey
mattbailey / Catppuccin.js
Last active April 19, 2022 19:20
catppuccin blink theme
black = "#6E6C7E";
red = "#F28FAD"; // red
green = "#ABE9B3"; // green
yellow = "#FAE3B0"; // yellow
blue = "#96CDFB"; // blue
magenta = "#F5C2E7"; // pink
cyan = "#89DCEB"; // cyan
white = "#D9E0EE"; // light gray
lightBlack = "#988BA2"; // medium gray
lightRed = "#F28FAD"; // red
This file has been truncated, but you can view the full file.
@font-face {
font-family: 'Iosevka-MB';
src: url('data:font/ttf;charset=utf-8;base64,AAEAAAASAQAABAAgRkZUTZJvdGAAJHmsAAAAHEdERUa7UeS/AB/+jAAAAOpHUE9TU0jMfgAhTNwAAyzOR1NVQim8Jh8AH/94AAFNZE9TLzJwaIVYAAABqAAAAGBjbWFwOW03tgAArkwAABkCY3Z0IDFNEnUAANY0AAAAyGZwZ21iLwN/AADHUAAADgxnYXNwAAAAEAAf/oQAAAAIZ2x5Zp0jzWgAAYpEABxfcGhlYWQh1aqiAAABLAAAADZoaGVhByMrsAAAAWQAAAAkaG10eDAV3JcAAAIIAACsRGxvY2F09YVgAADW/AAAs0htYXhwMDkO2wAAAYgAAAAgbmFtZWpSzIMAHem0AAAMsXBvc3RPIKmkAB32aAACCBpwcmVwmtgFhwAA1VwAAADWAAEAAAAPGZn3EbYZXw889QKfA+gAAAAA3lE2NgAAAADeehch/Sj+NQYhBJcAAgAIAAAAAQAAAAAAAQAAA8f/KQAABiH9KPyxBiEAZAAQAAAAAAAAAAAAAAAAKVEAAQAALNEIxABcAMcACAACAMABOACNAAABsgQUAAQAAgAEAvgAyAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQgJAgADCQMAAAAABOEAAv9QQP3/AgQAIAAAAABVS1dOAIEADf//A8f+5QAAA8cBGyAAAR/EAAAAAggC3wAAACAAIQJYACcAAAAAAAAAAAJYAAACWADKAlgAsAJYADYCWAA4Alj/9wJYADsCWAEoAlgApQJYACQCWABqAlgAXAJYAJgCWABcAlgAxwJYAAwCWAA/AlgAnAJYACcCWAA0AlgAQQJYAD4CWABAAlgAigJYADgCWAByAlgAxwJYAJgCWABcAlgATAJYADUCWACCAlgAOAJYABACWAAnAlgAPQJYACcCWAAvAlgAVgJYAD4CWAAnAlg
@mattbailey
mattbailey / gdrive.service
Created May 1, 2020 00:03
/etc/systemd/system/gdrive.service
[Unit]
Description=%p
After=network-online.target docker.service
Requires=docker.service
[Service]
Restart=always
EnvironmentFile=/etc/environment
ExecStartPre=-/usr/bin/mkdir /gdrive
@mattbailey
mattbailey / rclone.conf
Last active May 1, 2020 00:01
/etc/gdrive/rclone.conf
[drive]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id = 0AJGpk8TSr75xUk9PVA
service_account_file =
token = {"access_token":"","token_type":"Bearer","refresh_token":"","expiry":""}
[drive-cache]
### Keybase proof
I hereby claim:
* I am mattbailey on github.
* I am ribo (https://keybase.io/ribo) on keybase.
* I have a public key whose fingerprint is 05FF 0F7C 25C7 F396 4F41 63B5 6F29 5689 D3AC C14F
To claim this, I am signing this object: