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
(defn inc-all [] | |
(let [x '(1,2,3)] | |
(println (map inc x)) | |
(println x))) | |
(inc-all) |
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
(verse 1) | |
The boss thinks you are get-ting la-zy and fat, | |
Want's you to get up and get off your ass. | |
What's a better motivator than a stat? | |
Even better if it just happens like that. | |
Take off your shoes and walk on the grass | |
I'm on your belt and I don't take any sass | |
(chorus) |
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
Ext.define('CustomApp', { | |
extend: 'Rally.app.App', | |
componentCls: 'app', | |
launch: function() { | |
var id; | |
var inProgressDate; | |
var acceptedDate; | |
var cycleTime; |
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
class Player | |
def initialize | |
end | |
def play_turn(warrior) | |
@warrior = warrior | |
move_forward |
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
data = | |
a: 0 | |
b: "foo" | |
result = _(data).reject((v,k) -> k == 'b') | |
expect(result).toEqual(a: 0) #but fail! it returns: [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
Account = (function(startingBalance) { | |
return { | |
balance: startingBalance, | |
getBalance: function() { | |
return this.balance | |
} | |
}; | |
}) | |
var accountOne = Account(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
module Raptor | |
class App | |
def run options | |
require 'rack' | |
Rack::Handler::WEBrick.run(app, options) | |
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
$.fn.inFieldLabels = function() {} | |
$.fn.map_control = function() {} | |
$(document).ready(function() { | |
new MapForm(); | |
}); | |
(function() { | |
window.MapForm = function() { | |
$(document).ready(this.initialize); | |
}; |