Skip to content

Instantly share code, notes, and snippets.

@ananelson
ananelson / gist:3029285
Created July 1, 2012 19:09
./configure output
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
@ananelson
ananelson / gist:3027405
Created July 1, 2012 07:51
tropo transcript
00000 473b 11:34:52 PM Received new TropoML document on Tropo-Thread-bea0143efb0855824fae04701624abd3: {"tropo": [{"on": {"event": "continue", "next": "/webapi/vote/menu"}}]}
00001 473b 11:34:52 PM Processing document http://morning-mountain-9168.herokuapp.com/webapi/start for instance bea0143efb0855824fae04701624abd3 callFactory for instance bea0143efb0855824fae04701624abd3
00002 473b 11:34:52 PM Processing events: continue
00003 473b 11:34:52 PM Sending TropoML Payload on Tropo-Thread-bea0143efb0855824fae04701624abd3 [url=http://morning-mountain-9168.herokuapp.com/webapi/vote/menu]: {"result":{"sessionId":"bea0143efb0855824fae04701624abd3","callId":"0304f604b7842752be86949a7ff4c25e","state":"RINGING","sessionDuration":0,"sequence":1,"complete":true,"error":null}}
00004 473b 11:34:52 PM Received new TropoML document on Tropo-Thread-bea0143efb0855824fae04701624abd3: {"tropo": [{"say": {"value": "hello, thank you for helping us choose the music"}}, {"ask": {"say":
@ananelson
ananelson / gist:3026220
Created July 1, 2012 00:34
pjsua transcript
ubuntu@ip-10-166-205-27:~$ pjsua --null-audio --rec-file=ex1.wav --auto-rec
00:33:08.624 os_core_unix.c pjlib 1.12.0 for POSIX initialized
00:33:08.626 sip_endpoint.c Creating endpoint instance...
00:33:08.626 pjlib select() I/O Queue created (0x1ae3cc0)
00:33:08.626 sip_endpoint.c Module "mod-msg-print" registered
00:33:08.626 sip_transport. Transport manager created.
00:33:08.626 sip_endpoint.c Module "mod-pjsua-log" registered
00:33:08.626 sip_endpoint.c Module "mod-tsx-layer" registered
00:33:08.626 sip_endpoint.c Module "mod-stateful-util" registered
00:33:08.626 sip_endpoint.c Module "mod-ua" registered
.body_foreground {
color : #AAAAAA;
}
.body_background {
background-color : #000000;
}
.body_foreground > .bold,.bold > .body_foreground, body.body_foreground > pre > .bold {
color : #FFFFFF;
@ananelson
ananelson / jython-pexpect-zombie.py
Created June 7, 2011 21:44
script to demonstrate jython/pexpect zombie on OSX
# Minimal example of jython -i causing zombie processes when called via pexpect.
import pexpect
EXECUTABLE = 'jython -i'
PROMPT = '>>>|\.\.\.' # Python uses >>> prompt normally and ... when in multi-line structures like loops
proc = pexpect.spawn(EXECUTABLE)
proc.expect(PROMPT)
print "=================================================="