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
- [09/Jul/2012:10:32:35 -0400] "GET /admin/users HTTP/1.1" 401 590 "-" "-" | |
crc14 [09/Jul/2012:10:32:38 -0400] "GET /admin/users HTTP/1.1" 302 5 "-" "-" | |
- [09/Jul/2012:10:32:38 -0400] "GET / HTTP/1.1" 401 590 "-" "-" | |
crc14 [09/Jul/2012:10:32:38 -0400] "GET / HTTP/1.1" 302 5 "-" "-" | |
crc14 [09/Jul/2012:10:32:38 -0400] "GET /admin/users HTTP/1.1" 200 2581 "-" "-" | |
crc14 [09/Jul/2012:10:32:39 -0400] "GET /psuicon.ico HTTP/1.1" 404 1311 "-" "-" |
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 random import randint | |
def mergesort(unsorted): | |
return unsorted if len(unsorted) < 2 else\ | |
merge( | |
mergesort(unsorted[:(len(unsorted) + 1) / 2]), | |
mergesort(unsorted[(len(unsorted) + 1) / 2:]) | |
) | |
def merge(left, right): |
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 random import randint | |
def quicksort(unsorted): | |
if len(unsorted) < 2: | |
return unsorted | |
pivot, less, more = unsorted.pop((len(unsorted) - 1) / 2), [], [] | |
for elem in unsorted: | |
if elem <= pivot: |
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 random import randint | |
def quicksort(unsorted): | |
if len(unsorted) < 2: | |
return unsorted | |
pivot, less, more = unsorted.pop((len(unsorted) - 1) / 2), [], [] | |
for elem in unsorted: | |
if elem <= pivot: |
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 random import randint | |
def mergesort(unsorted): | |
return unsorted if len(unsorted) < 2 else\ | |
merge( | |
mergesort(unsorted[:(len(unsorted) + 1) / 2]), | |
mergesort(unsorted[(len(unsorted) + 1) / 2:]) | |
) | |
def merge(left, right): |
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
sele order from deta | |
---- ------------- ---- ---- | |
0 0 0 SEARCH TABLE documents AS CommentDocument USING INTEGER PRIMARY KEY (rowid=?) (~1 rows) | |
0 1 1 SEARCH TABLE users AS DocumentUser USING INTEGER PRIMARY KEY (rowid=?) (~1 rows) | |
addr opcode p1 p2 p3 p4 p5 comment | |
---- ------------- ---- ---- ---- ------------- -- ------------- | |
0 Trace 0 0 0 00 | |
1 Integer 1 1 0 00 | |
2 Integer 5 2 0 00 |
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
; Launch console if necessary; hide/show on Ctrl+` | |
^`:: | |
DetectHiddenWindows, on | |
IfWinExist ahk_class Console_2_Main | |
{ | |
IfWinActive ahk_class Console_2_Main | |
{ | |
WinHide ahk_class Console_2_Main | |
; need to move the focus somewhere else. | |
WinActivate ahk_class Shell_TrayWnd |
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
{ | |
"_id" : ObjectId("4f27586918cb8eb40f000000"), | |
"user_id" : ObjectId("4f2398af18cb8e972b000000"), | |
"title" : "Equestrian Census", | |
"answers" : [ | |
{ | |
"survey_id" : "4f27586918cb8eb40f000000", | |
"user_id" : "4f22496a18cb8e8f2a000010", | |
"response" : false, | |
"question_id" : "4f27586918cb8eb40f000001", |
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
id | name | |
_____________________________ | |
1 | Test Survey | |
2 | Temp Survey | |
id | survey_id | text | type | |
__________________________________________________________________ | |
1 | 1 | First Name | CharField |
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
id | name | |
_____________________________ | |
1 | Test Survey | |
2 | Temp Survey | |
id | survey_id | text | type | |
__________________________________________________________________ | |
1 | 1 | First Name | CharField |