Skip to content

Instantly share code, notes, and snippets.

View mcginty's full-sized avatar
🖤
strange sensation to feel alive

Jake McGinty mcginty

🖤
strange sensation to feel alive
  • in between kate bush albums
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mcginty on github.
  • I am mc (https://keybase.io/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:

11204 android
5 android.animation
3 android.animation.Animator
1 android.animation.AnimatorListenerAdapter
1 android.animation.ValueAnimator
227 android.app
50 android.app.Activity
2 android.app.ActivityManager
3 android.app.ActivityOptions
2 android.app.AlarmManager
@mcginty
mcginty / hw_template.tex
Created February 8, 2012 19:56
LaTeX Homework Template
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{algpseudocode}
\usepackage{graphicx}
From 0038bcf8357699fc20e73ed8abaa2079d138e638 Mon Sep 17 00:00:00 2001
From: Jake McGinty <me@jake.su>
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(-)
#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
#!/bin/bash
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 lapse.mov
#!/bin/bash
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 lapse.mov
@mcginty
mcginty / lapsify
Last active June 17, 2016 09:27
Simple time-lapse script using ffmpeg. Put all your pictures in a single folder, run lapsify in that folder. That's it.
#!/bin/bash
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 lapse.mov
$ lunch omni_d5110-eng
$ make clean
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=omni_d5110
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
\'<(
%s %x:%x
value: %s
value: %i
-34.5 db
-33 db
-31.5 db
-30 db
-28.5 db
-27 db