Skip to content

Instantly share code, notes, and snippets.

chrisconley

Block or report user

Report or block chrisconley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chrisconley
chrisconley / index.html
Last active Jan 26, 2016
CMX - Mark Plan
View index.html
<!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)">
@chrisconley
chrisconley / index.html
Last active Jan 26, 2016 — forked from darwin/index.html
Welcome to comix!
View index.html
<!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">
@chrisconley
chrisconley / notes.sh
Last active Aug 29, 2015
Docker Fig with boot2docker and rsync
View notes.sh
# 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
View loop.py
for fruit in prices:
value=(prices[fruit])*(stock[fruit])+value
print value
@chrisconley
chrisconley / heroku_deploy.sh
Created Aug 20, 2012
Deploying Twitter's Clockwork Raven to Heroku
View heroku_deploy.sh
# 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
View expressions.txt
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
View jhw-list
/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
View gist:2640792
> db.tasks.count()
58561
> db.tasks.count()
58562
> db.tasks.count()
58562
> db.tasks.count()
58562
> db.tasks.count()
58562
View form_builder.yml
---
- 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/
View with_index.js
db.turk_units.ensureIndex{
"step_id" : 1,
"response" : 1,
"status" : 1,
"data" : 1,
"training_example_id" : 1,
"tracking_example_id" : 1,
"generated_example_id" : 1
})
You can’t perform that action at this time.