Skip to content

Instantly share code, notes, and snippets.

View andrewvaughan's full-sized avatar
🇺🇦

Andrew Vaughan andrewvaughan

🇺🇦
View GitHub Profile
@andrewvaughan
andrewvaughan / disable-double-click-persist.url
Last active March 2, 2024 01:44
Javascript Bookmark Disable Double-Click Zoom
javascript:document.querySelectorAll("*").forEach(e=>{e.style["touch-action"]="manipulation"}),new MutationObserver(e=>{e.forEach(function(e){for(var o=0;o<e.addedNodes.length;o++)e.addedNodes[o].style["touch-action"]="manipulation"})}).observe(document.body,{childList:!0,subtree:!0});
@andrewvaughan
andrewvaughan / roasted_strawberry_icecweam.md
Last active June 19, 2020 21:42
Roasted Srawberry & Buttermilk Icecream

Roasted Strawberry & Buttermilk Ice Cream

Before starting this, place the Kitchenaid ice-cream maker bowl in the coldest part of your freezer for at least 24-hours.

Equipment

  • KitchenAid Mixer
  • KitchenAid Ice Cream Maker Attachment
  • Food Processor
  • 4+ Quart Saucepan
@andrewvaughan
andrewvaughan / weekly-bread.md
Last active June 12, 2020 23:19
Bread for a week recipe

Weekly Bread

Dough is stored in the refrigerator, bowl covered with oiled plastic-wrap, and can be used for up to 2-weeks after mixing.

Night (or more) Before Baking

Ingredients (each loaf is 1.5lb / 680g):

Ingredient Bakers % 2-Loaves 3-Loaves
@andrewvaughan
andrewvaughan / sourdough.md
Last active March 25, 2020 04:42
Sourdough Starter Guide

Sourdough Starter Guide

Hey! You got one of our Vaughan Family Sourdough Starters! Let's get you baking bread in no-time.

In order to use the yeast culture, we need to first rehydrate and multiply the yeast to a usable amount. This process usually takes about a week, when you will have enough to bake with.

Important! We highly recommend that you weigh all ingredients when baking bread, as it will give you the most predictable results. We will provide volumes as estimates, but weigh if you can! When weighing flour, use a separate spoon to drop the flour into your measuring cup, as we estimate volumes for loose (rather than packed) flour.

@andrewvaughan
andrewvaughan / mcassist.js
Created November 7, 2019 19:02
My Colony Assist
/**
* MyColony Asssist
*
* Provides overlay and helpful hints for the My Colony game by ApeWebApps. Play at:
*
* https://www.apewebapps.com/my-colony/
*
* @author Andrew Vaughan
*
* @since 0.1.0 - Initial release
@andrewvaughan
andrewvaughan / .bash_profile
Created April 27, 2019 01:28
A collection of git aliases for `.bash_profile`
#### SPECIAL GIT SHORTCUTS (Andrew Vaughan <hello@andrewvaughan.io>)
#
# Checkout a git branch - creates and pushes it if it doesn't exist
#
branch() {
local branch="$1"
if [ -z "$branch" ]; then
echo
@andrewvaughan
andrewvaughan / cast_iron.md
Created April 19, 2018 21:24
Cast Iron Repair

Cast Iron Repair

This guide covers cast iron repair, cleaning, and re-seasoning. Different tools are needed depending on how bad a shape the cast iron is in.

Tools Needed

If you are only cleaning and seasoning the pan (that is, there is no rust), you will need:

  • A [calibrated][calibrate-oven] oven with "cleaning cycle" capabilities
@andrewvaughan
andrewvaughan / RFID-Pi.md
Last active January 7, 2024 14:52
Reading RFID via UART on the RaspberryPi

RFID via UART on RaspberryPi

Download the Latest Version of Raspbian Lite

This can be downloaded here. It is highly recommended to download the Lite version. You can also download the full version, but most of the image is just bloat for this project.

Prepare the MicroSD Card

It is recommended to get a Class 10 or better card to improve speeds. Lower-quality cards will take tremendously longer to format, configure, and load on the RaspberryPi.

@andrewvaughan
andrewvaughan / lite-packages.txt
Created May 2, 2016 23:19
Packages included on Raspbian Jesse Lite
pi@raspberrypi:~ $ aptitude search '~i!~M'
i acl - Access control list utilities
i adduser - add and remove users and groups
i apt - commandline package manager
i apt-utils - package management related utility program
i aptitude - terminal-based package manager
i aptitude-common - architecture independent files for the apt
i avahi-daemon - Avahi mDNS/DNS-SD daemon
i base-files - Debian base system miscellaneous files
i base-passwd - Debian base system master password and gro
@andrewvaughan
andrewvaughan / install-pi.sh
Created April 30, 2016 18:44
Easy installer for Raspberry Pi images
#!/bin/bash
# SD Card Image Installer for Mac
#
# Formats a given SD Card and writes an image to it - now with progress bars!
#
# Before using, ensure "pv" is installed with Homebrew (brew install pv)
#
# Usage: sudo install-pi.sh disk2 your-pi-image.img