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
-- discipline + punish | |
-- | |
-- four outputs (subjects) process input 1 through randomized transfer functions (disciplines) | |
-- a trigger in input 2 selects a subject based on a fifth, secret discipline, | |
-- and punishes it, altering its transfer function | |
function rand10vpp() | |
return math.random() * 10 - 5 | |
end |
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
<?php | |
if ( class_exists( 'WP_CLI' ) ) : | |
/** | |
* List callbacks registered to a given action or filter. | |
* | |
* <hook> | |
* : The key for the action or filter. | |
* | |
* [--format=<format>] |
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
require 'colored' | |
def x(message) | |
puts 'x '.red << message | |
abort | |
end | |
def √(message) | |
puts '√ '.green << message | |
end |