Skip to content

Instantly share code, notes, and snippets.

View aeroevan's full-sized avatar

Evan McClain aeroevan

  • MITRE
  • Chantilly, VA
View GitHub Profile
@aeroevan
aeroevan / cm7.txt
Created April 24, 2012 17:42
List of patches from gerrit for my CM7.2 build
Added option to hide alarm icon in status bar:
- http://review.cyanogenmod.com/#/c/13799/
- http://review.cyanogenmod.com/#/c/13798/
Camera: Allow focus sound muting
- http://review.cyanogenmod.com/#/c/9457/
- http://review.cyanogenmod.com/#/c/9458/
- http://review.cyanogenmod.com/#/c/9459/
Fix typo in queue_property_triggers ident
@aeroevan
aeroevan / build.sh
Created September 8, 2012 22:55
Kernel Build Script
CPU_JOB_NUM=2
#TOOLCHAIN=/home/evan/src/android/android_prebuilts_gcc_linux-x86_arm_arm-eabi-4.6/bin
TOOLCHAIN=/home/evan/src/android/android-toolchain-eabi/bin
TOOLCHAIN_PREFIX=arm-eabi-
make -j$CPU_JOB_NUM ARCH=arm CROSS_COMPILE=$TOOLCHAIN/$TOOLCHAIN_PREFIX #V=1
@aeroevan
aeroevan / gist:3991399
Created November 1, 2012 03:07
update-alternatives for javac
update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_38/bin/javac 1 --slave /usr/bin/appletviewer appletviewer /usr/java/jdk1.6.0_38/bin/appletviewer --slave /usr/bin/apt apt /usr/java/jdk1.6.0_38/bin/apt --slave /usr/bin/extcheck extcheck /usr/java/jdk1.6.0_38/bin/extcheck --slave /usr/bin/jar jar /usr/java/jdk1.6.0_38/bin/jar --slave /usr/bin/jarsigner jarsigner /usr/java/jdk1.6.0_38/bin/jarsigner --slave /usr/bin/javadoc javadoc /usr/java/jdk1.6.0_38/bin/javadoc --slave /usr/bin/javah javah /usr/java/jdk1.6.0_38/bin/javah --slave /usr/bin/javap javap /usr/java/jdk1.6.0_38/bin/javap --slave /usr/bin/jconsole jconsole /usr/java/jdk1.6.0_38/bin/jconsole --slave /usr/bin/jdb jdb /usr/java/jdk1.6.0_38/bin/jdb --slave /usr/bin/jhat jhat /usr/java/jdk1.6.0_38/bin/jhat --slave /usr/bin/jinfo jinfo /usr/java/jdk1.6.0_38/bin/jinfo --slave /usr/bin/jmap jmap /usr/java/jdk1.6.0_38/bin/jmap --slave /usr/bin/jps jps /usr/java/jdk1.6.0_38/bin/jps --slave /usr/bin/jrunscript jrunscript /usr/java/jdk1.6.0_
@aeroevan
aeroevan / gist:3991400
Created November 1, 2012 03:08
update-alternatives for java
update-alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_38/jre/bin/java 1 --slave /usr/bin/rmid rmid /usr/java/jdk1.6.0_38/jre/bin/rmid --slave /usr/bin/keytool keytool /usr/java/jdk1.6.0_38/jre/bin/keytool --slave /usr/bin/orbd orbd /usr/java/jdk1.6.0_38/jre/bin/orbd --slave /usr/bin/policytool policytool /usr/java/jdk1.6.0_38/jre/bin/policytool --slave /usr/bin/rmiregistry rmiregistry /usr/java/jdk1.6.0_38/jre/bin/rmiregistry --slave /usr/bin/servertool servertool /usr/java/jdk1.6.0_38/jre/bin/servertool --slave /usr/bin/tnameserv tnameserv /usr/java/jdk1.6.0_38/jre/bin/tnameserv
update-alternatives --install /usr/lib64/browser-plugins/javaplugin.so javaplugin /usr/java/jdk1.6.0_38/jre/lib/amd64/libnpjp2.so 3 --slave /usr/bin/javaws javaws /usr/java/jdk1.6.0_38/jre/bin/javaws --slave /usr/share/man/man1/javaws.1 javaws.1 /usr/java/jdk1.6.0_38/man/man1/javaws.1
#!/usr/bin/env python
import os
import sys
import json
import argparse
import requests
if __name__ == '__main__':
parser = argparse.ArgumentParser()
@aeroevan
aeroevan / mutt 1.5.22 kyotocabinet
Created March 12, 2014 14:48
kyoto-cabinet support for mutt
From d05824c53dfeb99fd2f6846e4b8331dee10f96c9 Mon Sep 17 00:00:00 2001
From: Evan McClain <[email protected]>
Date: Wed, 12 Mar 2014 10:14:09 -0400
Subject: [PATCH] mutt: kyoto-cabinet support.
---
configure.ac | 30 +++++++++++++++++++++++++++++-
hcache.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 89 insertions(+), 1 deletion(-)
@aeroevan
aeroevan / d2lte_f2fs.txt
Last active August 29, 2015 13:57
d2lte f2fs /data
# device tree
http://review.cyanogenmod.org/#/c/61951/
http://review.cyanogenmod.org/#/c/61952/
# kernel
http://review.cyanogenmod.org/#/c/61570/
http://review.cyanogenmod.org/#/c/61571/
http://review.cyanogenmod.org/#/c/61572/
# recovery
http://review.cyanogenmod.org/#/c/61239/
# busybox
http://review.cyanogenmod.org/#/c/61273/ e2fsprogs: blkid: Add Flash-Friendly File System (f2fs) support
http://review.cyanogenmod.org/#/c/61238/ vold: Add Flash-Friendly File System (f2fs) support.
http://review.cyanogenmod.org/#/c/61420/ fs_mgr: Add f2fs filesystem check
http://review.cyanogenmod.org/#/c/64942/ add f2fs option to format sdcard menu
http://review.cyanogenmod.org/#/c/67117/ build: updater-script: Fix mount and format commands on F2FS
@aeroevan
aeroevan / keybase.md
Created September 23, 2014 00:45
keybase.md

Keybase proof

I hereby claim:

  • I am aeroevan on github.
  • I am aeroevan (https://keybase.io/aeroevan) on keybase.
  • I have a public key whose fingerprint is CE20 2283 336A 0DED 46E7 1551 9DAC 76ED 4761 DFCB

To claim this, I am signing this object: