I hereby claim:
- I am cap10morgan on github.
- I am wesmorgan (https://keybase.io/wesmorgan) on keybase.
- I have a public key whose fingerprint is 1BBD 17AE A766 1500 922A EA08 FE91 16B8 1E33 CB8A
To claim this, I am signing this object:
defaults: &defaults | |
adapter: jdbc | |
driver: com.mysql.jdbc.Driver | |
encoding: utf8 | |
collation: utf8_unicode_ci | |
reconnect: true | |
autocommit: false | |
pool: 100 | |
database: turbovote_development | |
username: <%= ENV['DB_USERNAME'].present? ? ENV['DB_USERNAME'] : 'root' %> |
$ bundle exec rake db:setup | |
Rake tasks not supported by '' adapter | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:172:in `class_for_adapter' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:73:in `create' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:87:in `create_current' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:12:in `each_current_configuration' | |
org/jruby/RubyArray.java:1613:in `each' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:11:in `each_current_configuration' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:86:in `create_current' | |
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/railties/databases.rake:20:in `(root)' |
I hereby claim:
To claim this, I am signing this object:
# This one is running on all 3 CoreOS hosts | |
# consul@.service | |
[Unit] | |
Description=Consul | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
EnvironmentFile=/etc/environment | |
TimeoutStartSec=0 |
wmorgan@docker1:~$ docker run --rm ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
ls: cannot read symbolic link /proc/1/exe: Permission denied | |
lrwxrwxrwx 1 root root 0 Dec 3 18:56 /proc/1/exe | |
wmorgan@docker1:~$ docker run --rm --cap-add SYS_PTRACE ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
ls: cannot read symbolic link /proc/1/exe: Permission denied | |
lrwxrwxrwx 1 root root 0 Dec 3 18:57 /proc/1/exe | |
wmorgan@docker1:~$ docker run --rm --privileged ubuntu /bin/bash -c 'echo -n; ls -l /proc/1/exe' | |
lrwxrwxrwx 1 root root 0 Dec 3 18:57 /proc/1/exe -> /bin/bash |
;; Nested data in tokens | |
(def template | |
"{{#parent}} | |
{{child1}} | |
{{child2}} | |
{{#child3}} | |
{{grandchild}} | |
{{/child3}} | |
{{/parent}}") |
(ns hbs-test.core | |
(:require [hbs.core :refer :all] | |
[hbs.helper :refer :all]) | |
(:gen-class)) | |
(def broken-template | |
"Hello, World! | |
{{#parent}} | |
{{child}} says hi too. | |
{{/parent}}") |
(ns hbs-test.core | |
(:require [hbs.core :refer :all] | |
[hbs.helper :refer :all]) | |
(:gen-class)) | |
(def broken-template | |
"Hello, World! | |
{{#parent}} | |
{{child}} says hi too. | |
{{/parent}}") |
#!/bin/bash | |
set -e | |
VERSION=$(grep '\[com.datomic/datomic-pro "' project.clj | awk -F\" '{print $2}') | |
curl -u $(<.datomic-credentials) -SL https://my.datomic.com/repo/com/datomic/datomic-pro/$VERSION/datomic-pro-$VERSION.zip -o /tmp/datomic.zip | |
unzip /tmp/datomic.zip -d /tmp/datomic | |
rm -f /tmp/datomic.zip |
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"eu-central-1" : { | |
"AMI" : "ami-0e300d13" | |
}, |