Skip to content

Instantly share code, notes, and snippets.

Daniel Dugovic ddugovic

Block or report user

Report or block ddugovic

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
@ddugovic
ddugovic / audiosynth.view.js
Last active Jul 19, 2016
Attempting to draw some keys. Lovingly copied from http://www.keithwhor.com/music/audiosynth.view.js
View audiosynth.view.js
var fnCreateKeyboard = function(keyboardElement) {
// Generate keyboard
// This is our main keyboard element! It's populated dynamically based on what you've set above.
visualKeyboard = document.getElementById('keyboard');
selectSound = document.getElementById('sound');
var iKeys = 0;
var iWhite = 0;
var notes = __audioSynth._notes;
@ddugovic
ddugovic / gist:827dcac503f9b458efe49d01888a3a60
Last active May 13, 2016
Parsey McParseface versus 2007 Miss Teen South Carolina
View gist:827dcac503f9b458efe49d01888a3a60
echo "I personally believe that U.S. Americans are unable to do so because uh some uh people out there in our nation don't have maps and uh I believe that our ed- education like such as in South Africa and uh the- the Iraq everywhere like such as and I believe that they should uh our education over here in the U.S. should help the U.S. or- or- should help South Africa and should help the Iraq and the Asian countries so we will be able to build up our future for our children." | ./syntaxnet/demo.sh
I syntaxnet/term_frequency_map.cc:101] Loaded 46 terms from syntaxnet/models/parsey_mcparseface/label-map.
I syntaxnet/embedding_feature_extractor.cc:35] Features: stack.child(1).label stack.child(1).sibling(-1).label stack.child(-1).label stack.child(-1).sibling(1).label stack.child(2).label stack.child(-2).label stack(1).child(1).label stack(1).child(1).sibling(-1).label stack(1).child(-1).label stack(1).child(-1).sibling(1).label stack(1).child(2).label stack(1).child(-2).label; input.token.tag input(1).token.ta
@ddugovic
ddugovic / test-epd.py
Last active Nov 24, 2017 — forked from niklasf/bratko-kopec.py
An implementation of the Bratko-Kopec Test using python-chess
View test-epd.py
#!/usr/bin/python
import chess
import chess.uci
import sys
import time
def test_epd(engine, epd):
position = chess.Board()
You can’t perform that action at this time.