This file contains hidden or 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
# Use whatever your test app directory is for ExampleTest, and whatever the | |
# package you are testing for com.example.test | |
export PATH="$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH" | |
pushd ExampleTest | |
# adb shell throws away the return value, so we have to hack do some magic | |
# see https://code.google.com/p/android/issues/detail?id=3254 |
This file contains hidden or 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
# The number of bits in the S-box | |
sbits = 6 | |
# Calculate the maximum value / differential | |
ssize = 2**6 | |
# Generate the matrix of differences, starting | |
# at all zeros | |
count = [] | |
for i in range(ssize): |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>William D. Neumann</string> |
This file contains hidden or 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
do_a_trap | |
mov esi, [trap] | |
test esi, 0x10000 | |
jnz normal_trap | |
test esi, 0x20000 | |
jnz register_trap | |
jmp near return_no_cigar | |
normal_trap | |
cmp si, [_PC] | |
jnz near return_no_cigar |
This file contains hidden or 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
#!/bin/bash | |
NAME="something" | |
d=$(date "+%F--%H-%M-%S") | |
/usr/local/bin/tarsnap -c --keyfile /root/tarsnap.key --cachedir /usr/local/tarsnap-cache -f $NAME-backup-$d /etc /home /root /var |
This file contains hidden or 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
proc f() : (int, int) { | |
return f(); | |
} | |
proc main() { | |
f(); | |
} |
This file contains hidden or 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
proc f() : (int, int) { | |
return f(); | |
} | |
proc main() { | |
f(); | |
} |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
def f(): | |
a0 = 0 | |
a1 = 1 | |
a2 = 2 | |
a3 = 3 | |
a4 = 4 | |
a5 = 5 | |
a6 = 6 | |
a7 = 7 | |
a8 = 8 |
This file contains hidden or 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
from collections import defaultdict | |
import json | |
import os | |
import os.path | |
import shutil | |
from pygments.formatters import HtmlFormatter | |
from pygments.lexers import get_lexer_for_filename | |
from pygments import highlight |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.