This file contains 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
import threading | |
try: | |
from Queue import Queue | |
except ImportError: | |
from queue import Queue | |
def fact(n, queue=None): | |
if n == 0 or n == 1: | |
if queue: |
This file contains 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
Process: firefox [57590] | |
Path: /Users/USER/*/Nightly.app/Contents/MacOS/firefox | |
Identifier: org.mozilla.nightly | |
Version: 19.0a1 (1912.10.17) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [57588] | |
User ID: 501 | |
Date/Time: 2012-10-17 18:07:25.867 -0500 | |
OS Version: Mac OS X 10.8.2 (12C60) |
This file contains 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
function supportsWebRTC() { | |
return !!( | |
(window.mozRTCPeerConnection || window.RTCPeerConnection) | |
&& (navigator.mozGetUserMedia || navigator.getUserMedia) | |
); | |
} | |
if (window.mozRTCPeerConnection) { | |
RTCPeerConnection = mozRTCPeerConnection; | |
} |
This file contains 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
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 | |
[Switching to process 21612 thread 0xb803] | |
fsm_init_fcb (fcb=0x0, call_id=0, dcb=0x0, type=FSM_TYPE_MIN) at /Users/ianbicking/src/mozilla-central-alder/media/webrtc/signaling/src/sipcc/core/gsm/fsm.c:147 | |
147 fcb->call_id = call_id; |
This file contains 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
Process: firefox [21212] | |
Path: /Users/USER/*/Nightly.app/Contents/MacOS/firefox | |
Identifier: org.mozilla.nightly | |
Version: 18.0a1 (1812.9.26) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [21210] | |
User ID: 501 | |
Date/Time: 2012-09-26 15:55:57.986 -0500 | |
OS Version: Mac OS X 10.8.1 (12B19) |
This file contains 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
Process: firefox [20711] | |
Path: /Users/USER/*/Nightly.app/Contents/MacOS/firefox | |
Identifier: org.mozilla.nightly | |
Version: 18.0a1 (1812.9.26) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [20709] | |
User ID: 501 | |
Date/Time: 2012-09-26 15:33:29.839 -0500 | |
OS Version: Mac OS X 10.8.1 (12B19) |
This file contains 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
Process: firefox [19591] | |
Path: /Users/USER/*/Nightly.app/Contents/MacOS/firefox | |
Identifier: org.mozilla.nightly | |
Version: 18.0a1 (1812.9.26) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [5138] | |
User ID: 501 | |
Date/Time: 2012-09-26 14:01:36.076 -0500 | |
OS Version: Mac OS X 10.8.1 (12B19) |
This file contains 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
Process: firefox [13279] | |
Path: /Users/USER/*/Nightly.app/Contents/MacOS/firefox | |
Identifier: org.mozilla.nightly | |
Version: 18.0a1 (1812.9.21) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [13277] | |
User ID: 501 | |
Date/Time: 2012-09-24 16:09:34.491 -0500 | |
OS Version: Mac OS X 10.8.1 (12B19) |
This file contains 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
function someLibraryCode(callback, dataProvider) { | |
dataProvider(function (error, data) { | |
if (error) { | |
callback(error); | |
return; | |
} | |
var newData = mungeData(data); | |
callback(null, newData); | |
}); | |
} |
This file contains 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
storage = navigator.getDeviceStorage("pictures"); | |
console.log(storage); | |
// => [object DeviceStorage] | |
cursor = storage.enumerate(); | |
console.log(cursor, cursor.readyState, cursor.result); | |
// => [object DeviceStorageCursor] pending undefined | |
data = new Blob(["test file"], {type: "text/plain"}); | |
result = storage.addNamed(data, "test.txt"); | |
console.log(result, result.readyState); | |
// => [object DOMRequest] pending |