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
(ns groovyclojure.core | |
(:use [overtone.live] | |
[overtone.inst.piano] | |
[overtone.inst.drum]) | |
(:require [quil.core :as q])) | |
(defn play-chord [instrument chord] | |
(doseq [note chord] (instrument note))) | |
(defn play-piano-chord [chord] |
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
// TinyTween.cs | |
// | |
// Copyright (c) 2013 Nick Gravelyn | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, | |
// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// |
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
# This script backs up your settings from a Xamarin Studio CSharp solution file. | |
# This is useful for when your settings randomly disappear after doing some git | |
# operations, but it is really just a workaround for not having figured out why | |
# the setings are disappearing in the first place. | |
# | |
# USAGE: | |
# to backup: python backup_settings.py <solution_filename> | |
# to restore: python backup_settings.py -r (OR --restore) <solution_filename> | |
import sys |
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 | |
import math | |
class InvalidTestFileException(Exception): | |
pass | |
ERRORS = { | |
"novars": "Test file is missing either input or output variables" | |
} |
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
/* LISTS */ | |
var empty_list = function(selector) { | |
return selector(undefined, undefined, true); | |
}; | |
var prepend = function(el, list) { | |
return function(selector) { | |
return selector(el, list, 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
; VARIABLES | |
program_files := "C:\Program^ Files" | |
cmd := "C:\Windows\System32\cmd.exe /k " . program_files . "\nodejs\nodejsvars.bat" | |
home := "C:\Users\Bill" | |
code := home . "\Code" | |
; FUNCTIONS | |
CD(path) { | |
SendInput cd %path% {enter} | |
return |
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
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) | |
[Bb]in/ | |
[Oo]bj/ | |
# mstest test results | |
TestResults | |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. |
NewerOlder