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
from ptrace.debugger import PtraceDebugger | |
from ptrace.debugger.child import createChild | |
from ptrace.tools import locateProgram | |
from ptrace.func_call import FunctionCallOptions | |
class Program(object): | |
def waitForSyscall(self, name, withResult=False): | |
while True: | |
self.process.syscall() | |
self.process.waitSyscall() |
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
# Base configuration of marietje zuid | |
includes: | |
- maried/classic | |
- maried/gstreamer | |
- sarah/log | |
- sarah/shell | |
- maried/ajax/ajax | |
- maried/lastfm | |
- maried/bertha | |
instances: |
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
import pygst | |
pygst.require("0.10") | |
import gst | |
import sys | |
import gobject | |
class Player: | |
def __init__(self, filename): | |
self.filename = filename | |
self.player = gst.element_factory_make("playbin2", "player") |
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
import tc | |
import os.path | |
import pprint | |
db = tc.HDB() | |
db.open(os.path.expanduser( | |
'~/Library/Containers/com.sparrowmailapp.sparrow/Data/Library/'+ | |
'Application Support/Sparrow/bas.westerbaan@gmail.com.sparrowdb/'+ | |
'data.db/data.tch'), tc.HDBOREADER ) |
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
--- /etc/xen/scripts/vif-route 2013-01-22 17:41:48.000000000 +0100 | |
+++ /etc/xen/scripts/our-vif-route 2015-05-16 20:52:46.000000000 +0200 | |
@@ -23,11 +23,37 @@ | |
dir=$(dirname "$0") | |
. "${dir}/vif-common.sh" | |
+ip6_of() | |
+{ | |
+ ip -6 addr show "$1" | perl -wane '/scope global/ && /inet6 (([0-9a-f]+:*)+)/ && print $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
# autogenerated by Vagrantfile--- | |
secrets: | |
chucknorris: 4fc80eba58ec111d80c428777b8607e2 | |
mysql_forum: bfb170afc7d2751589f20bb98a8ff7c8 | |
django_secret_key: 0a92901e77362f27240de17efae8e3fb | |
mysql_wiki: 3fe280c48f7820b3da7dffcdf4b09ffb | |
mysql_wolk: d8f4d98841e84ae9716a49548647015f | |
apikey: e363fb6984515c72522692d920870559 | |
mailman_default: 0a9d5b9aed2f6cfa0ffb417b6da79f00 | |
ldap_infra: 7d40946647e37313ac99f0169b8fed6c |
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
diff -r 530cb0bd2428 pypy/jit/backend/arm/codebuilder.py | |
--- a/pypy/jit/backend/arm/codebuilder.py Thu Jan 24 18:30:38 2013 +0100 | |
+++ b/pypy/jit/backend/arm/codebuilder.py Thu Jan 24 20:08:12 2013 +0100 | |
@@ -1,5 +1,5 @@ | |
from pypy.jit.backend.arm import arch | |
-from pypy.jit.backend.arm import conditions as cond | |
+from pypy.jit.backend.arm import conditions | |
from pypy.jit.backend.arm import registers as reg | |
from pypy.jit.backend.arm.arch import (WORD, FUNC_ALIGN) | |
from pypy.jit.backend.arm.instruction_builder import define_instructions |
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@wheezy:~/pypy# python pypy/jit/backend/arm/test/test_assembler.py | |
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-release-2.0-beta2-6/gcctest.c -o /tmp/usession-release-2.0-beta2-6/gcctest.o | |
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-release-2.0-beta2-6/module_cache/module_0.c -o /tmp/usession-release-2.0-beta2-6/module_cache/module_0.o | |
[platform:execute] gcc -shared /tmp/usession-release-2.0-beta2-6/module_cache/module_0.o -pthread -Wl,--export-dynamic,--version-script=/tmp/usession-release-2.0-beta2-6/dynamic-symbols-0 -lrt -o /tmp/usession-release-2.0-beta2-6/shared_cache/externmod.so | |
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-release-2.0-beta2-6/platcheck_5.c -o /tmp/usession-release-2.0-beta2-6/platcheck_5.o | |
[libffi:WARNING] 'libffi.a' not found in [] | |
[libffi:WARNING] trying to use the dynamic library instead... |
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@raspberrypi:~/pypy# python pypy/jit/backend/arm/test/test_assembler.py | |
[platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/usession-release-2.0-beta2-4/gcctest.c -o /tmp/usession-release-2.0-beta2-4/gcctest.o |