Skip to content

Instantly share code, notes, and snippets.

@htormey
htormey / gist:637539
Created October 20, 2010 23:05
AKDump
D/dalvikvm( 249): GC freed 82 objects / 4000 bytes in 136ms
I/ActivityManager( 53): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.akproduction.notepad/.activity.NoteList }
I/ActivityManager( 53): Start proc com.akproduction.notepad for activity com.akproduction.notepad/.activity.NoteList: pid=464 uid=10027 gids={3003, 1015}
D/ddm-heap( 464): Got feature list request
I/ActivityThread( 464): Publishing provider com.akproduction.provider.AKNotepad: com.akproduction.notepad.dataprovider.DataProvider
I/ActivityManager( 53): Starting activity: Intent { act=com.akproduction.intent.action.NOTE_LIST flg=0x10000000 cmp=com.akproduction.notepad/.activity.NoteListActivity }
D/ ( 464): unable to unlink '/data/data/com.akproduction.notepad/shared_prefs/com.akproduction.notepad_preferences.xml.bak': No such file or directory (errno=2)
D/ ( 464): unable to unlink '/data/data/com.akproduction.notepad/shared_prefs/_has_set_defau
/* <![CDATA[ */
// Function
function three()
{
// Validate Correct Entry Data
if ( isNaN(hrswork1) | isNaN(hrswork2) | isNaN(hrswork3) | isNaN(hrsrt1) | isNaN(hrsrt2) | isNaN(hrsrt3) ){
alert("Please enter valid numbers.");
-------------------- >> begin captured stdout << ---------------------
122ΨΩβφψϖ
send: 'POST /accountCreate.action HTTP/1.1\r\nHost: qixtest.snaptic.com\r\nAccept-Encoding: identity\r\nContent-Length: 160\r\nContent-type: application/x-www-form-urlencoded\r\n\r\n'
send: 'createName=acctest258318&createPassword=122%CE%A8%CE%A9%CE%B2%CF%86%CF%88%CF%96&signup=true&viewNodeKey=&viewNodeId=&createEmail=acctest%2B9788776%40snaptic.com'
POST
/accountCreate.action
createName=acctest258318&createPassword=122%CE%A8%CE%A9%CE%B2%CF%86%CF%88%CF%96&signup=true&viewNodeKey=&viewNodeId=&createEmail=acctest%2B9788776%40snaptic.com
{'Content-type': 'application/x-www-form-urlencoded'}
reply: 'HTTP/1.1 302 Found\r\n'
header: Server: nginx/0.6.32
header: Date: Wed, 01 Sep 2010 23:11:15 GMT
header: Content-Type: text/html; charset=UTF-8
header: Connection: keep-alive
header: Pragma: no-cache
header: Cache-Control: no-cache
header: Location: https://qixtest.snaptic.com/m/
header: Content-Length: 110
header: Set-cookie: cookie_epass=acd9cfc0b6659e6e8a254339b0b634cf467e9380BxRWCgdwN1NBvZztIqDkfTVNMErCTc7FEm99EC3vor1TpSUuFXUF+epUll5Kd0sLBHfkjwMgnWDuiiS0Nr4/CfZCj/PJvXirZ9i/bPOCn4rQTx0u5NPAu+oOGvvLMP2gO15B6b6cLIDTA16uBYrQ3z8XyUVF/0pXE8rut041K6rzPeOC1VAj00xTsAgcUrmTFSgAx//0; Domain=.snaptic.com; Path=/; secure
http://qixtest.snaptic.com/federatedLogonSnaptic.action
POST /federatedLogonSnaptic.action HTTP/1.1
Host: qixtest.snaptic.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
44 #Set arbitrary limit on how large user_store session can grow to
45 #http://www.mongodb.org/display/DOCS/Capped+Collections
46 #if not conn[self.collection].findOne():
47 if not self.collection in conn:
48 print "Create velruse I get in here"
49 conn.create_collection(self.collection, dict(capped=True, size=100000))
50 return conn
51
"""MongoDB UserStore implementation"""
try:
import cPickle as pickle
except ImportError:
import pickle
import pymongo
from pymongo import Connection
from pymongo.errors import ConnectionFailure