Skip to content

Instantly share code, notes, and snippets.

View audiodude's full-sized avatar

Travis Briggs audiodude

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAySWD/rWDV3spLN9oIAiQj0ztnHqUelsexSZlgNCghELD6k8/r/XhWTbGRUfknFcyh6Jn3n8AA2l8IQFZ7/IDbxG7Wol45TS2KN1GKd9GHTVFnKU+FXca+UCaln851+IiniEzApvI1vtPTLt3bnKzZogmB+T/UMaIuAS/WorMMQRYhYHYUHAoV2TKkDTxN68Hy5hwa4Y5kL4r8tTTlhtyTFHmIgjmcoYWzwjw1u3wZlzFHNQ9rYiOeDr/A76fvt8gucsjuUUZIb/LOW+o7PY44IRYVzmdz4kYccmwj2k+0vl4An+D3GeCfTDkDJDYIPfEV1tIARJndlxy+K9xFaI5oQ== audiodude@gmail.com
@audiodude
audiodude / gist:54213dd9831c96806888
Created June 26, 2015 16:41
PACER site using onclick handler to send user to a different "ShowDoc" URL
<a HREF="https://ecf.ca9.uscourts.gov/docs1/009027142706" ONCLICK="return doDocPostURL('009027142706','269610');" title="Open Document">&nbsp;1&nbsp;</a>
<SCRIPT type='text/javascript'>
function doDocPostURL(dls, caseIdStr){
aWin = window.open("TransportRoom?servlet=ShowDoc&dls_id="+dls+"&caseId="+caseIdStr+"&dktType=dktPublic","_blank","location=no,resizable,toolbar,status,scrollbars",false);
return false;
}
</SCRIPT>
@audiodude
audiodude / gist:31145ab05a0b0b387d68
Created June 28, 2015 00:29
No Who Tarveall Getl Wich meer heatteel
X:9318e2aebf079487242cb148be9365eddb560210
T:No Who Tarveall Getl Wich meer heatteel
M:C
Q:1/4=128
V:notes
V:chords
K:C
[V:notes] |:x4 A, C2 _E C C2 C2 D E E C E F E2 F F x E D D2 E D D E1/2 F1/2 D F F E E C1/2 E1/2 C' E C G, C B, C G,1 E,1/2 E, G, F,1 F,1 F, F, x B, D x1/2 G, G, x C1/2 C'1/2 C' D'1/2 C' x1/2 F1/2 E'1/2 A B A B G G A C'6 D'1/2 C'4 D' B, G, C1 F1 B,1/2 G,1/2 F1/2 C'1/2 x1/2 C'2 D'1/2 E'1/2 _B C' C' C'1/2 G1 G E'2 G1/2 G1/2 ^C'1/2 G C:|
[V:chords] |:[A,3C,3E,3] [B,5D,5F,5] [G,4A,4D,4] [D,5F,5A,5] [G,2B,2D,2] [G,2B,2D,2] [A,8C,8E,8] [C,3E,3G,3] [G,3B,3D,3] [A,3C,3E,3] [A,2C,2E,2] [F,7A,6C,7] [C,E,G,] [C,3E,3G,3] [D,3F,3A,3] [D,2F,2A,2] [F,2A,2C,2] [E,2G,2B,2] [F,2A,2C,2] [G,2B,2D,2] [G,2B,2D,2] [G,2B,2D,2] [A,2C,2E,2] [G,2B,2D,2] [E,4G,4B,4] [D,4F,4A,4] [C,8E,8G,8]:|
X:8d9f94eb405ea1cb2f68a399a93af2dea9707a82
T:New Project
M:C
Q:1/4=128
V:notes
V:chords
K:C
[V:notes] C,2 C,1/2 E,1/2 F,1/2 A,3 F1/2 F1/2 A,1/2 C'6 C'2 B,3 E C7 G G2 A C D F3 G F4 B,4 A, F1/2 B,1/2 D,1/2 F,1 E,1/2 D,1/2 B, D,1/2 G, C,1/2 B,,1/2 B,,1/2 E,1/2 A,3 A,2 B,1/2 A,2 A,2 E,2 F,2 E,4
[V:chords] [F,4A,4C,4] [F,4A,4C,4] [E,4G,4B,4] [G,4B,4D,4] [C,4E,4G,4] [G,2B,2D,2] [G,6B,6D,6] [G,8B,8D,8] [G,8B,8D,8] [F,4A,4C,4] [G,4B,4D,4] [C,4E,4G,4] [E,4G,4B,4] [F,8A,8C,8] [G,8B,8D,8]
X:a0bea802487f43c91890f7e032cf3d3e568b82
T:Will You
M:C
Q:1/4=149
V:notes
V:chords
K:C
[V:notes] A2 G3 G3 E2 E2 E E D D2 E2 D4 D2 C D2 D2 C1/2 C1/2 C1/2 D1/2 C4
[V:chords] [F,8A,8C,8] [F,8A,8C,8] [C,8E,8G,8] [F,8A,8C,8] [E,8G,8B,8] [A,8C,8E,8]
Leaf on the ocean
Thrown by the wind
When does it stop?
When did it begin?
Framed by a picture
Throwaway bin
Heralds the start
Of an exclamation
Internet workings
Leftover, thin
If I knew how to write a sonnet
A sonnet, oh it would be wrote
I'd write you a song of your choosing
But really I can't write a note
A thousand more things to be asking
What was it, the thought that I had
A puzzle is never completed
Opinions say that's not so bad
With prose, everything is so endless
The words travel on, quite inane
#include <iostream>
// GLEW
// #define GLEW_STATIC
// #include <GL/glew.h>
// GLFW
#include <GLFW/glfw3.h>
g++ -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I/opt/local/lib/ruby/1.8/i686-darwin9 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -fno-common -pipe -fno-common -c board_tanbo.cpp
g++ -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I/opt/local/lib/ruby/1.8/i686-darwin9 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -fno-common -pipe -fno-common -c point_tanbo.cpp
board_tanbo.h: In static member function ‘static bool BoardTanbo::in_bounds(const PointTanbo*)’:
board_tanbo.h:53: error: invalid use of undefined type ‘const struct PointTanbo’
board_tanbo.h:44: error: forward declaration of ‘const struct PointTanbo’
board_tanbo.h:53: error: invalid use of undefined type ‘const struct PointTanbo’
board_tanbo.h:44: error: forward declaration of ‘const struct PointTanbo’
board_tanbo.h:53: error: invalid use of undefined type ‘const struct PointTanbo’
board_tanbo.h:44: error: forward declaration of ‘const struct PointTanbo’
board_tanbo.h:53: error: inv
g++ -c -I/opt/local/include/ -I/Users/tmoney/code/rb/Ruby-Tanbo/ai/ruby_uct -o test/test_board.o test/test_board.cpp
g++ -c -I/opt/local/include/ -I/Users/tmoney/code/rb/Ruby-Tanbo/ai/ruby_uct -o test/test_moves.o test/test_moves.cpp
g++ -c -I/opt/local/include/ -I/Users/tmoney/code/rb/Ruby-Tanbo/ai/ruby_uct -o test/test_roots.o test/test_roots.cpp
g++ -c -I/opt/local/include/ -I/Users/tmoney/code/rb/Ruby-Tanbo/ai/ruby_uct -o test/ruby_uct_fixture.o test/ruby_uct_fixture.cpp
g++ -L/opt/local/lib/ -o testrunner test/test_board.o test/test_moves.o test/test_roots.o test/ruby_uct_fixture.o -lruby -lcppunit
Undefined symbols:
"typeinfo for RubyTanboTest", referenced from:
typeinfo for BoardTestin ruby_uct_fixture.o
"vtable for RubyTanboTest", referenced from:
__ZTV13RubyTanboTest$non_lazy_ptr in ruby_uct_fixture.o