Skip to content

Instantly share code, notes, and snippets.

Jake McGinty mcginty

Block or report user

Report or block mcginty

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mcginty / hw_template.tex
Created Feb 8, 2012
LaTeX Homework Template
View hw_template.tex
View gist:7246020
#include "FastSPI_LED2.h"
#include <avr/pgmspace.h>
// Move a white dot along the strip of leds. This program simply shows how to configure the leds,
// and then how to turn a single pixel white and then off, moving down the line of pixels.
// How many leds are in the strip?
#define NUM_LEDS 40

Keybase proof

I hereby claim:

  • I am mcginty on github.
  • I am mc ( on keybase.
  • I have a public key whose fingerprint is D9B5 B818 D5FD 2131 454A CCCB EDBD 3E13 EF8B 8E23

To claim this, I am signing this object:

mcginty / material_colors.xml
Last active May 1, 2019
Android XML resource with the full material color palette. Source:
View material_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<color name="material_red50">#ffffebee</color>
<color name="material_red100">#ffffcdd2</color>
<color name="material_red200">#ffef9a9a</color>
<color name="material_red300">#ffe57373</color>
<color name="material_red400">#ffef5350</color>
<color name="material_red500">#fff44336</color>
<color name="material_red600">#ffe53935</color>
<color name="material_red700">#ffd32f2f</color>
View gist:0c5e2049b98badcdc431
11204 android
5 android.animation
3 android.animation.Animator
1 android.animation.AnimatorListenerAdapter
1 android.animation.ValueAnimator
View lilia.patch
From 0038bcf8357699fc20e73ed8abaa2079d138e638 Mon Sep 17 00:00:00 2001
From: Jake McGinty <>
Date: Fri, 18 Dec 2015 15:00:35 -0800
Subject: [PATCH] blahblah
AndroidManifest.xml | 8 ++++----
build.gradle | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
View -Users-kaonashi-bin-lapsify
find . -name '*.jpg' \
| awk 'BEGIN{ a=0 }{ printf "mv \"%s\" %04d.jpg\n", $0, a++ }' \
| bash
ffmpeg -y -i "%04d.jpg" -framerate 30 -r 30 -c:v prores_ks -b:v 15M -s:v 1920x1080
View -Users-kaonashi-bin-lapsify
find . -name '*.jpg' \
| awk 'BEGIN{ a=0 }{ printf "mv \"%s\" %04d.jpg\n", $0, a++ }' \
| bash
ffmpeg -y -i "%04d.jpg" -framerate 30 -r 30 -c:v prores_ks -s:v 1920x1080
mcginty / lapsify
Last active Jun 17, 2016
Simple time-lapse script using ffmpeg. Put all your pictures in a single folder, run lapsify in that folder. That's it.
View lapsify
set -e
mkdir -p tmp_lapse_container
find . -iname '*.jpg' \
| awk 'BEGIN{ a=0 }{ printf "cp \"%s\" tmp_lapse_container/%04d.jpg\n", $0, a++ }' \
| bash
ffmpeg -y -i "tmp_lapse_container/%04d.jpg" -framerate 30 -r 30 -c:v prores_ks -s:v 1920x1080
View gist:129fe0b68916af64fac1d6ec98cb6860
$ lunch omni_d5110-eng
$ make clean
You can’t perform that action at this time.