This file contains 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
define :mockingjay do | |
use_synth_defaults release: 0.7 | |
play 91 | |
sleep 0.6 | |
play 94 | |
sleep 0.6 | |
play 93 | |
sleep 0.6 | |
play 86 | |
end |
This file contains 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
#Thanks to Daniel Wagner for the original Overtone translation of the main melody from | |
# Daft Punk's Giorgio By Moroder | |
repetition_sub_a = [:C5, :A3, :B4, :A3, :C5, :E5, :A3, :A4, :C5, :A3, :B4, :A3, :C5, :A4] | |
repetition_a = [:a4, :a3] + repetition_sub_a + [:a3, :a4] + repetition_sub_a | |
repetition_b = [:F4, :F4, :A4, :F4, :G4, :F4, :A4, :C5, :F4, :F4, :A4, :F4, :G4, :F4, :A4, :F4] | |
#slight variation of the above with different distances between the 2nd and 3rd note | |
repetition_b3 = [:E4, :E4, :G4, :E4, :Fs3, :E4, :G4, :B4, :E4, :E4, :G4, :E4, :Fs3, :E4, :G4, :E4] |
This file contains 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
# key: ppc | |
# point_line: 0 | |
# point_index: 0 | |
# -- | |
#██████╗ ██████╗ ██╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗ | |
#██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝ ██╔════╝██╔═══██╗██╔══██╗██╔════╝ | |
#██████╔╝██║ ██║██║ ╚████╔╝ ██║ ██║ ██║██████╔╝█████╗ | |
#██╔═══╝ ██║ ██║██║ ╚██╔╝ ██║ ██║ ██║██╔══██╗██╔══╝ | |
#██║ ╚██████╔╝███████╗██║ ╚██████╗╚██████╔╝██║ ██║███████╗ |
This file contains 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
[λ] git pull | |
Already up-to-date. | |
∴ /Users/sam/Development/ioke | |
[λ] git status | |
# On branch master | |
nothing to commit (working directory clean) | |
∴ /Users/sam/Development/ioke | |
[λ] ant clean |
This file contains 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
module A | |
def hi(*list) | |
list.each do |l| | |
define_method l do | |
puts l | |
end | |
end | |
end | |
end | |
This file contains 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
module A | |
def hi(*list) | |
list.each do |l| | |
class_eval do | |
define_method l do | |
puts l | |
end | |
end | |
end | |
end |
This file contains 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
λ jruby speed.rb | |
user system total real | |
define_method :one 0.408000 0.000000 0.408000 ( 0.407368) | |
define_method :two 0.123000 0.000000 0.123000 ( 0.122547) | |
def three 0.078000 0.000000 0.078000 ( 0.077790) | |
∴ /Users/sam/Desktop | |
λ ruby speed.rb | |
user system total real | |
define_method :one 0.580000 0.240000 0.820000 ( 0.848865) |
This file contains 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
λ /usr/bin/ruby speed.rb | |
user system total real | |
warm up 0.070000 0.000000 0.070000 ( 0.073492) | |
define_method :one 0.710000 0.000000 0.710000 ( 0.719511) | |
define_method :two 0.710000 0.010000 0.720000 ( 0.718273) | |
def three 0.260000 0.000000 0.260000 ( 0.273669) | |
∴ /Users/sam/Desktop | |
λ ruby speed.rb | |
user system total real |
This file contains 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
λ /usr/bin/ruby speed.rb && ruby speed.rb && ruby-1-9-1-p2 speed.rb && macruby speed.rb && jruby speed.rb && rbx speed.rb | |
user system total real | |
warm up 0.070000 0.000000 0.070000 ( 0.076154) | |
define_method :one 0.710000 0.000000 0.710000 ( 0.729125) | |
define_method :two 0.710000 0.000000 0.710000 ( 0.714011) | |
def three 0.260000 0.000000 0.260000 ( 0.263946) | |
user system total real | |
warm up 0.070000 0.000000 0.070000 ( 0.071314) | |
define_method :one 5.820000 2.430000 8.250000 ( 8.348540) | |
define_method :two 5.800000 2.440000 8.240000 ( 8.345419) |
This file contains 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
{ | |
name = 'entity.object.mimic.face.ioke'; | |
begin = '\w+ = (?=.*mimic)'; end = '$'; | |
end = 'mimic\b'; | |
patterns = ( | |
{ name = 'entity.prototype-names.ioke'; | |
match = '\b("Base|DefaultBehavior|Ground|Origin|System|Runtime|Text|Number|Method|DefaultMethod|JavaMethod|Mixins|Restart|List|Dict")\b'; | |
}, | |
{ | |
name = 'keyword.operator.names.ioke'; |
OlderNewer