Skip to content

Instantly share code, notes, and snippets.

@mrluanma
mrluanma / cgit.conf
Created August 19, 2011 12:51
cgit authenticate with HTTP Basic and LDAP.
Alias /cgit-data /usr/share/cgit
ScriptAlias /cgit /var/www/cgi-bin/cgit
<Directory /var/www/cgi-bin/>
order deny,allow
allow from all
AuthName "Authorization Required"
AuthType Basic
@benvd
benvd / android-addr2line.py
Created May 10, 2012 13:23
Android addr2line wrapper
#!/usr/bin/python
import sys
import re
import subprocess
ADDR2LINE_BINARY='' # full path to arm-linux-androideabi-addr2line
LIBRARY='' # full path to your .so file
def main():
print 'Paste the stack trace. CTRL-D to submit. CTRL-C to exit.'