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
import math, random, wave | |
import numpy as np | |
import scipy.io.wavfile | |
def noteToFreq(halfSteps): | |
return 440 * (2 ** ((halfSteps - 49) / 12.)) | |
sr = 44100 | |
def sineOf(freq): | |
x = np.arange(sr * 5) |
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
def vmul(a, b): | |
return (a[0] * b, a[1] * b, a[2] * b) | |
def vmin(*x): | |
cur = x[0] | |
for v in x[1:]: | |
cur = min(v[0], cur[0]), min(v[1], cur[1]), min(v[2], cur[2]) | |
return cur | |
def vmax(*x): |
This file has been truncated, but you can view the full file.
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
------------------------------------------------------------------------ | |
r190374 | [email protected] | 2015-09-30 23:56:51 +0000 (Wed, 30 Sep 2015) | 10 lines | |
Changed paths: | |
M /trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json | |
M /trunk/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py | |
M /trunk/Tools/ChangeLog | |
Rename iOS builders/testers to include version | |
https://bugs.webkit.org/show_bug.cgi?id=149685 |
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
------------------------------------------------------------------------ | |
r212097 | [email protected] | 2017-02-10 08:26:45 +0000 (Fri, 10 Feb 2017) | 5 lines | |
Changed paths: | |
M /trunk/Source/WebKit2/ChangeLog | |
M /trunk/Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp | |
Unreviewed. Fix GTK+ build with threaded compositor disabled. | |
* WebProcess/WebPage/AcceleratedDrawingArea.cpp: | |
(WebKit::AcceleratedDrawingArea::enterAcceleratedCompositingMode): |
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
------------------------------------------------------------------------ | |
r209424 | [email protected] | 2016-12-06 22:43:16 +0000 (Tue, 06 Dec 2016) | 107 lines | |
Changed paths: | |
M /trunk/JSTests/ChangeLog | |
M /trunk/JSTests/stress/get-from-scope-dynamic-onto-proxy.js | |
D /trunk/JSTests/stress/proxy-dont-infinite-loop.js | |
D /trunk/JSTests/stress/proxy-json-path.js | |
D /trunk/JSTests/stress/rest-parameter-allocation-elimination-watchpoints-6.js | |
M /trunk/LayoutTests/ChangeLog | |
M /trunk/LayoutTests/TestExpectations |
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
------------------------------------------------------------------------ | |
r210821 | [email protected] | 2017-01-17 18:55:55 +0000 (Tue, 17 Jan 2017) | 121 lines | |
Changed paths: | |
M /trunk/Source/JavaScriptCore/API/JSAPIWrapperObject.mm | |
M /trunk/Source/JavaScriptCore/API/JSCallbackObject.h | |
M /trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h | |
M /trunk/Source/JavaScriptCore/API/JSObjectRef.cpp | |
M /trunk/Source/JavaScriptCore/ChangeLog | |
M /trunk/Source/JavaScriptCore/bytecode/EvalCodeBlock.cpp | |
M /trunk/Source/JavaScriptCore/bytecode/FunctionCodeBlock.cpp |
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
import re | |
def regex(pattern, flags=0): | |
def sub(text): | |
match = pattern.match(text) | |
if match == None: | |
return False | |
return match.groups() | |
pattern = re.compile(pattern, flags) | |
return sub |
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
My heartfelt prayers and thoughts go out to the brave folks in Paris #hashplatitudes | |
My heartfelt prayers and thoughts go out to the brave folks of Savannah #hashplatitudes | |
My heartfelt prayers and thoughts go out to the brave people in Paris #hashplatitudes | |
My heartfelt prayers and thoughts go out to the brave people of Paris #hashplatitudes | |
My heartfelt prayers and thoughts go out to the brave people of Savannah #hashplatitudes | |
My heartfelt prayers and thoughts go out to the strong folks of Paris #hashplatitudes | |
My heartfelt prayers go out to the brave people in Savannah #hashplatitudes | |
My heartfelt prayers go out to the brave people of Savannah #hashplatitudes | |
My heartfelt prayers go out to the strong folks in Paris #hashplatitudes | |
My heartfelt prayers go out to the strong folks in Savannah #hashplatitudes |
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
EPS = .03125 | |
clamp = (x) -> Math.min Math.max(x, 0), 1 | |
class Collider | |
constructor: (@tree) -> | |
checkCollision: (a, b, bbox) -> | |
outputStartsOut = true | |
outputAllSolid = false |
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
import sys | |
from Struct import * | |
import struct | |
@Struct | |
def Frame(): | |
mins, maxs = vec3, vec3 | |
local_origin = vec3 | |
radius = float | |
name = string(16) |