This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --pretty=format:'%Cgreen%s%Creset (%an)%n%b%n' --first-parent $(git describe --tags --abbrev=0)..HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
[dependencies] | |
hyper = "0.12.25" | |
tokio = "0.1.17" | |
*/ | |
extern crate hyper; | |
extern crate tokio; | |
extern crate futures; | |
use hyper::Client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate num; | |
use std::env; | |
use std::str::FromStr; | |
use num::bigint::BigInt; | |
use num::pow; | |
fn main() { | |
let args: Vec<String> = env::args().collect(); | |
let x = BigInt::from_str(&args[1]).unwrap(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A is a QObject with | |
void A::doStuff() { | |
qDebug() << "I'm in" << QThread::currentThread(); | |
} | |
*/ | |
#include <QCoreApplication> | |
#include <QDebug> | |
#include <QThread> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# ./adbtest.py ~/Downloads/1GB.zip | |
import sys, subprocess, os, time, tempfile, hashlib, shutil | |
#ADB = os.path.expanduser("~/genymotion/tools/adb") | |
ADB = "adb" | |
payload = sys.argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() | |
{ | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROOT=/home/cedc/android/src.master | |
export PATH=$PATH:$ROOT/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/ | |
export CFLAGS="-nostdlib -isystem ${ROOT}/system/core/include -isystem ${ROOT}/hardware/libhardware/include -isystem ${ROOT}/hardware/libhardware_legacy/include -isystem ${ROOT}/hardware/ril/include -isystem ${ROOT}/libnativehelper/include -isystem ${ROOT}/frameworks/native/include -isystem ${ROOT}/frameworks/native/opengl/include -isystem ${ROOT}/frameworks/av/include -isystem ${ROOT}/frameworks/base/include -isystem ${ROOT}/frameworks/base/opengl/include -isystem ${ROOT}/external/skia/include -isystem ${ROOT}/out/target/product/maguro/obj/include -isystem ${ROOT}/bionic/libc/arch-arm/include -isystem ${ROOT}/bionic/libc/include -isystem ${ROOT}/bionic/libstdc++/include -isystem ${ROOT}/bionic/libc/kernel/common -isystem ${ROOT}/bionic/libc/kernel/arch-arm -isystem ${ROOT}/bionic/libm/include -isystem ${ROOT}/bionic/libm/include/arm -isystem ${ROOT}/bionic/libthread_db/include" | |
export CPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src.4.0.4/dalvik/vm/native/dalvik_system_Zygote.cpp | |
=================================================================== | |
--- src.4.0.4.orig/dalvik/vm/native/dalvik_system_Zygote.cpp | |
+++ src.4.0.4/dalvik/vm/native/dalvik_system_Zygote.cpp | |
@@ -27,6 +27,8 @@ | |
#include <errno.h> | |
#include <paths.h> | |
#include <sys/personality.h> | |
+#include <sys/time.h> | |
+#include <sys/resource.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install gperf bison zip python-markdown flex curl gnupg ncurses.x86_64 ncurses-devel.i686 ncurses-devel.x86_64 ncurses-libs.i686 ncurses-libs.x86_64 libstdc++.i686 libstdc++.x86_64 libstdc++-devel.i686 libstdc++-devel.x86_64 zlib.i686 zlib.x86_64 zlib-devel.i686 lib-devel.x86_64 glibc-devel.i686 glibc-devel.x86_64 glibc.i686 mesa-libGL-devel.i686 mesa-libGL-devel.x86_64 mesa-libGLES-devel.i686 mesa-libGLES-devel.x86_64 libX11-devel.i686 perl-Switch | |
#cyanogenmod | |
yum install lzma schedtool pngcrush |