Skip to content

Instantly share code, notes, and snippets.

Jeremy Weatherford jweather

  • Zenith Systems
Block or report user

Report or block jweather

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:fa084a8df881a8a92debd34ff29444fa
#INTEGRATIONID,1,01EF4C85,7736KP
#INTEGRATIONID,1,01EF4C7E,7738KP
#INTEGRATIONID,1,01EF4E55,7740KP
#INTEGRATIONID,1,01EF4E5D,7742KP
#INTEGRATIONID,1,01EF4E59,7744KP
#INTEGRATIONID,1,01EF51DF,7746KP
#INTEGRATIONID,1,01EF51E5,7748KP
#INTEGRATIONID,1,01EF51DA,7750KP
#INTEGRATIONID,1,01EF51DE,7752KP
#INTEGRATIONID,1,01EF4C87,7754KP
View gist:f153f8daf146847bdf4a68b5a2b7a98b
#INTEGRATIONID,1,0x01EF51E7,7731KP
#INTEGRATIONID,1,0x01EF4C83,7730KP
#INTEGRATIONID,1,0x01EF4E5B,7728KP
#INTEGRATIONID,1,0x01EF4C89,7726KP
#INTEGRATIONID,1,0x01EF51E2,7724KP
#INTEGRATIONID,1,0x01EF51DC,7722KP
#INTEGRATIONID,1,0x01EF4C80,7720KP
#INTEGRATIONID,1,0x01EF51D7,7718KP
#INTEGRATIONID,1,0x01EF4C82,7716KP
#INTEGRATIONID,1,0x01EF51E0,7714KP
View gist:a9e615014768c7b645f9f4291e468c40
xA = ((Y[1]-Y[0])*(X[0]-X[2]) + (Y[2]-Y[0])*(X[1]-X[0]))/((X[0]-X[2])*(X[1]*X[1]-X[0]*X[0]) + (X[1]-X[0])*(X[2]*X[2]-X[0]*X[0]));
xB = ((Y[1] - Y[0]) - xA*(X[1]*X[1] - X[0]*X[0])) / (X[1]-X[0]);
xC = Y[0] - xA*X[0]*X[0] - xB*X[0];
View spi-win32-extensions.patch
diff --git a/app/server/vendor/interception/ext/extconf.rb b/app/server/vendor/interception/ext/extconf.rb
index 3d118d4..852848c 100755
--- a/app/server/vendor/interception/ext/extconf.rb
+++ b/app/server/vendor/interception/ext/extconf.rb
@@ -20,6 +20,7 @@ else
File.open("Makefile", "w") do |f|
f.write "install:\n\t:\n"
+ f.write "clean:\n\t:\n"
end
View ffi.patch
diff --git a/app/server/vendor/ffi-1.9.10/ext/ffi_c/libffi/Makefile.in b/app/server/vendor/ffi-1.9.10/ext/ffi_c/libffi/Makefile.in
index cbe1589..3a268f1 100755
--- a/app/server/vendor/ffi-1.9.10/ext/ffi_c/libffi/Makefile.in
+++ b/app/server/vendor/ffi-1.9.10/ext/ffi_c/libffi/Makefile.in
@@ -218,7 +218,7 @@ DVIS = doc/libffi.dvi
PDFS = doc/libffi.pdf
PSS = doc/libffi.ps
HTMLS = doc/libffi.html
-TEXINFOS = doc/libffi.texi
+TEXINFOS =
View rugged.patch
*** orig/ext/rugged/extconf.rb Thu Aug 6 05:27:24 2015
--- ext/rugged/extconf.rb Thu Aug 6 05:23:51 2015
*************** else
*** 65,67 ****
Dir.chdir("build") do
! sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\"")
sys(MAKE)
--- 65,67 ----
Dir.chdir("build") do
! sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\" -DCMAKE_INSTALL_PREFIX=C:/ -DWINHTTP=OFF")
@jweather
jweather / gist:b0d2870f1f280dce5a70
Created Apr 6, 2015
Sonic Pi: untitled composition refactored
View gist:b0d2870f1f280dce5a70
# based on https://vimeo.com/50061269 by Andrew Sorensen
# refactored and clarified
use_bpm 90
use_synth :dsaw
# five loops, each has a volume from 0 to 1
volumes = [0, 0, 0, 0, 0]
# play a pattern of <notes> with <amps>, with <time> between notes
# use loop index <loop> for the note volumes
@jweather
jweather / gist:200c7925a38b08215b8f
Created Mar 23, 2015
Sonic Pi: untitled composition
View gist:200c7925a38b08215b8f
# based on https://vimeo.com/50061269 by Andrew Sorensen
use_bpm 90
use_synth :dsaw
loops = [0, 0, 0, 0, 0]
define :pat do |notes, amps, time, count, rel, loop|
with_fx :reverb do
count.times do |i|
play notes[i], amp: loops[loop]*rrand(amps[i]-0.05, amps[i]+0.05), release: rel
You can’t perform that action at this time.