Skip to content

Instantly share code, notes, and snippets.

View andrewvaughan's full-sized avatar
🇺🇦

Andrew Vaughan andrewvaughan

🇺🇦
View GitHub Profile
#include <stdbool.h>
#include <AnalogKeypad.h>
#include <Servo.h>
// Arduino Pin Assignments
#define PIN_KEYS A0
#define PIN_SERVO 9
#define PIN_LED 13
// Servo Configurations
@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
@andrewvaughan
andrewvaughan / photoshop.less
Created June 6, 2014 17:53
Less with Photoshop Mixins
// Use Less.js 1.3.2 or higher to compile.
.round-box(@tl: 9, @tr: 9, @br: 9, @bl: 9) {
@val: ~'@{tl}px' ~'@{tr}px' ~'@{br}px' ~'@{bl}px';
-moz-border-radius: @val;
-webkit-border-radius: @val;
-o-border-radius: @val;
-ms-border-radius: @val;
-khtml-border-radius: @val;
@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 / 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 / .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 / 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 / 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 / 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 / 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