Skip to content

Instantly share code, notes, and snippets.

View taylorzane's full-sized avatar
🙂

Taylor Glaeser taylorzane

🙂
View GitHub Profile
@rohansingh
rohansingh / README.md
Created April 5, 2021 13:26
Tidbyt LED matrix pinout

These pinouts are formatted for use with SmartMatrix, but the pin numbers will work for any library.

@mgilangjanuar
mgilangjanuar / blog.mgilangjanuar.com
Last active September 18, 2021 02:30
Make Notion page with your custom domain
const MY_DOMAIN = "blog.mgilangjanuar.com"
const START_PAGE = "M-Gilang-Januar-s-Blog-2f4e0d2882ab4bfbb6637e2dae7f710b"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
@zvecr
zvecr / pill_flash.sh
Last active April 6, 2021 16:58
Utility script to flash a bluepill with the STM32duino bootloader and test QMK firmware
#!/bin/bash
function error()
{
local RED='\033[0;31m'
local NC='\033[0m' # No Color
echo -e "${RED}$1${NC}"
}
function info()
@sfan5
sfan5 / alpine-container.sh
Last active July 26, 2024 22:24
Create bootable systemd-nspawn containers with Alpine, Arch Linux or Ubuntu
#!/bin/bash -e
# Creates a systemd-nspawn container with Alpine
MIRROR=http://dl-cdn.alpinelinux.org/alpine
VERSION=${VERSION:-v3.20}
APKTOOLS_VERSION=2.14.4-r0
wget_or_curl () {
if command -v wget >/dev/null; then
@xinan
xinan / material-theme.itermcolors
Created August 1, 2015 16:18
Material Theme iTerm2 Port
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.25882352941176467</real>
<key>Green Component</key>
<real>0.21176470588235294</real>
@maxim
maxim / tm2iterm.rb
Created June 10, 2012 04:04
Convert TextMate themes into iTerm 2 color schemes.
#!/usr/bin/env ruby
#
# This script is an astonishing feat of top notch
# rockstar craftsmanship. It totally uses artificial
# intelligence to extract colors out of tmTheme and
# build an itermcolors scheme file for iTerm2.
#
# I know this sounds crazy, but it actually knows
# approximately what colors should be used in the
# ANSI list, and tries to find nearest colors from