VirtualTam's bookmarks
54 bookmarks found
-
1// THIS WILL SEND AN INTERRUPT TO ALL MATCHING THREADS 2Thread.getAllStackTraces().keySet().each() { 3 t -> if (t.getName().contains("PATTERN") ) { t.interrupt(); } 4} 5 6// THIS WILL FORCE-STOP ALL MATCHING THREADS 7// May be required for recursive loops 8Thread.getAllStackTraces().keySet().each() { 9 t -> if (t.getName().contains("PATTERN") ) { t.stop(); } 10}
-
Euclidean Rhythms
2016-03-22 - "Euclidean Rhythms" on tumblr: https://www.tumblr.com/search/euclidean%20rhythms
- http://cgm.cs.mcgill.ca/~godfried/rhythm-and-mathematics.html
- http://unthingable.eat-up.org/posts/2014/Jan/26/euclidean-rhythm-generator-in-clojure/
- https://github.com/heuermh/Euclidean-Pattern-Generator
- https://github.com/ideoforms/isobar
- http://blog.brianhouse.net/post/6470884605
- https://intimateandintricate.wordpress.com/2014/11/13/euclidean-rhythms-python-and-earsketch/
-
- Original sources: https://bitbucket.org/BruceEckel/python-3-patterns-idioms
- Forked sources: https://bitbucket.org/MatToufoutu/python-3-patterns-idioms/src
- ReadTheDocs Fork: http://python-3-patterns-idioms-test.readthedocs.org/en/latest/index.html
-
Bill Bruford and the Beat
2015-03-19 Part 1: ? Part 2: https://www.youtube.com/watch?v=0KCmETeBkEM Part 3: https://www.youtube.com/watch?v=Wl_S5k7ixGY
-
Bill Bruford - Discipline (1982)
2015-03-19 "The gig I have as the drummer in King Crimson is one of the few gigs in rock 'n' roll where it's even remotely possible to play anything in 17/16 and stay in a decent hotel"
-
Python: run specific unit tests
2015-02-13 Given your unittests are in the
tests
directory:1# run a specific test module 2python -m unittest tests.<module> 3 4# run a specific test suite 5python -m unittest tests.<module>.<class> 6 7# run a specific test 8python -m unittest tests.<module>.<class>.<test> 9 10# run tests matching a given pattern 11python -m unittest discover -s tests -p <pattern>