Skip to content

Instantly share code, notes, and snippets.

@turnersr
turnersr / Cargo.toml
Created May 17, 2019 — forked from jcdyer/Cargo.toml
Updated for v 0.12.0
View Cargo.toml
[package]
name = "edge"
version = "0.1.0"
authors = ["J. Cliff Dyer <jcd@sdf.org>"]
[dependencies]
indradb = "0.12.0"
indradb-lib = "0.12.0"
serde_json = "*"
uuid = "*"
View lettest.ml
let test_eval_basic_block_formula ctxt =
let open Bap.Std in
let open Bap_primus.Std in
let open Monads.Std in
let module Machine = struct
type 'a m = 'a
include Primus.Machine.Make(Monad.Ident)
end in
View UiccUnlock.cpp
#include <android/log.h>
#include <jni.h>
#include <binder/Binder.h>
#include <binder/Parcel.h>
#include <binder/IServiceManager.h>
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@turnersr
turnersr / rep_finder.ipynb
Last active Apr 7, 2017
Gven a binary stream, try to find repeating values by considering the frequency and autocorrelation of different n-bit string parsings of binary data stream
View rep_finder.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@turnersr
turnersr / x86_counts.txt
Created Mar 29, 2017
x86 counts for up to 4 byte grams
View x86_counts.txt
This file has been truncated, but you can view the full file.
450c8b 9984
fffe 998
f783 998
f304 998
c60fac 998
89c60fac 998
848c 998
46ff 998
4220 998
3d0508 998
@turnersr
turnersr / arm_counts
Created Mar 29, 2017
Distribution up to 4 byte grams for ARM 32
View arm_counts
This file has been truncated, but you can view the full file.
0020a0e3 9990
e10800a0 999
9de509 999
8de530 999
54e2 999
2930 999
0c1094 999
0be54430 999
01007040 999
@turnersr
turnersr / estimate_pilots.ipynb
Last active Mar 22, 2017
Estimating Pilots given CP and number of subcarriers
View estimate_pilots.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@turnersr
turnersr / entropy_analysis.ipynb
Created Mar 20, 2017
Analysis data matrix by columns
View entropy_analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@turnersr
turnersr / log.txt
Created Jan 31, 2017
Apktool Error
View log.txt
: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: /Users/turnersr/Downloads/dji/dji_3.1.1./dji.pilot_3.1.1/res/layout/account_view_new.xml:32: error: No resource identifier found for attribute 'djiTextFace' in package 'dji.pilot'
W:
W: /Users/turnersr/Downloads/dji/dji_3.1.1./dji.pilot_3.1.1/res/layout/account_view_new.xml:34: error: No resource identifier found for attribute 'djiTextFace' in package 'dji.pilot'
W:
@turnersr
turnersr / 2d_heat_equation.py
Created Oct 24, 2014
Solution to 2d heat equation
View 2d_heat_equation.py
# coding: utf-8
# In[1]:
get_ipython().magic(u'pylab inline')
# In[3]: