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
View gist:617b78b73bdae5577097442d9f242b0b
-28.5 dbfs
-25.5 dbfs
-22.5 dbfs
-19.5 dbfs
-16.5 dbfs
-13.5 dbfs
-10.5 dbfs
constant gain
-76.5 dbfs
-73.5 dbfs
View gist:a00931f461cacb5d65f1e6427cc5d367
\'<(
%s %x:%x
value: %s
value: %i
-34.5 db
-33 db
-31.5 db
-30 db
-28.5 db
-27 db
View gist:129fe0b68916af64fac1d6ec98cb6860
$ 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
@mcginty
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
#!/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
View -Users-kaonashi-bin-lapsify
#!/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
View -Users-kaonashi-bin-lapsify
#!/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
View lilia.patch
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(-)
View gist:0c5e2049b98badcdc431
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 / material_colors.xml
Last active May 1, 2019
Android XML resource with the full material color palette. Source: http://www.google.com/design/spec/style/color.html#color-color-palette
View material_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<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 keybase.md

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:

You can’t perform that action at this time.