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
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
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
- [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
class Node: | |
def __init__(self, value, left, right): | |
(self.value, self.left, self.right) = (value, left, right) | |
def preorder(tree): | |
if tree.value: | |
print tree.value | |
if tree.left: | |
Node.preorder(tree.left) | |
if tree.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
Delivered-To: ###REMOVED### | |
Received: by 10.43.55.197 with SMTP id vz5csp354213icb; | |
Tue, 24 Jul 2012 05:29:07 -0700 (PDT) | |
Received: by 10.236.149.162 with SMTP id x22mr8020685yhj.92.1343132946580; | |
Tue, 24 Jul 2012 05:29:06 -0700 (PDT) | |
Return-Path: <admin+caf_=###REMOVED###@foiledspun.com> | |
Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) | |
by mx.google.com with ESMTPS id n64si14622153yhk.150.2012.07.24.05.29.06 | |
(version=TLSv1/SSLv3 cipher=OTHER); |
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
<?php | |
Configure::write('maintenance', 0); | |
?> |