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
package simple | |
import ( | |
"reflect" | |
"runtime" | |
"testing" | |
) | |
func AssertDeepEqual(x, y interface{}, t *testing.T) { | |
if !reflect.DeepEqual(x, y) { |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
<scene id="scene1" height="280"> | |
<label t="translate(0,275)"> |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<body> | |
<scene id="scene1" height="280"> | |
<label t="translate(0,275)"> | |
<tspan x="0" y="0em">On Mars</tspan> | |
</label> | |
<actor t="translate(131,15 )" pose="-11,9|-4,125|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-27,89|-35,71|17,102|32,124"> |
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 assumes Docker, Fig, and boot2docker have already been installed | |
# and that you've set up the app specified in Fig's Quick Start at http://www.fig.sh/. | |
# Try it! | |
boot2docker init | |
boot2docker up | |
export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 | |
fig up | |
# Uh oh, that didn't work, let's set up rsync |
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
for fruit in prices: | |
value=(prices[fruit])*(stock[fruit])+value | |
print value |
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
# Make sure we're using Ruby 1.9.3 and checkout the heroku-demo branch of our fork | |
rvm use 1.9.3 | |
git clone git://github.com/chrisconley/clockworkraven.git my-raven | |
cd my-raven/ | |
git checkout heroku-demo | |
# Create the heroku app and add the Redis and Mysql add-ons | |
heroku create | |
heroku addons:add redistogo:nano | |
heroku addons:add cleardb:ignite |
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
0!7bace5f477d160d707fdb3f90afda89e!20120814-2128-zumega-binemete | |
| define | |
| {} | |
`-parent--> 0_2!f477c80edd489737ad1ca30bd24e7ba7!20120814-2128-zumega-binemete | |
0!a4713120da75192a0e18f35a3efaef53!20120814-2128-zumega-binemete | |
| define | |
| {} | |
`-parent--> nil | |
0!d6ccd5add1fcd316fd105a4aac4d0ad6!20120814-2128-zumega-binemete | |
| define |
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
/Users/chris/.rvm/gems/ruby-1.9.3-p194/gems/jasmine-core-1.2.0/lib/jasmine-core/jasmine.js | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/gems/jasmine-core-1.2.0/lib/jasmine-core/jasmine-html.js | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/gems/jasmine-core-1.2.0/lib/jasmine-core/jasmine.css | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/bundler/gems/jasmine-headless-webkit-724541a2cb3e/vendor/assets/javascripts/jasmine-extensions.coffee | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/bundler/gems/jasmine-headless-webkit-724541a2cb3e/vendor/assets/javascripts/intense.coffee | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/bundler/gems/jasmine-headless-webkit-724541a2cb3e/vendor/assets/javascripts/headless_reporter_result.js | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/bundler/gems/jasmine-headless-webkit-724541a2cb3e/vendor/assets/javascripts/jasmine.HeadlessReporter.coffee | |
/Users/chris/.rvm/gems/ruby-1.9.3-p194/bundler/gems/jasmine-headless-webkit-724541a2cb3e/vendor/assets/javascripts/jasmine.HeadlessReporter.ConsoleBase.coffee | |
/Users/chris/.rvm/gems/ru |
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
> db.tasks.count() | |
58561 | |
> db.tasks.count() | |
58562 | |
> db.tasks.count() | |
58562 | |
> db.tasks.count() | |
58562 | |
> db.tasks.count() | |
58562 |
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
--- | |
- views | |
- components | |
- base.js # or _init.js or setup.js ? | |
- index.js # FormBuilder.Views.Components.Index | |
- show/ | |
- show.js # FormBuilder.Views.Components.Show | |
- text_field.js # if necessary | |
- text_area.js # if necessary | |
- edit/ |
NewerOlder