Skip to content

Instantly share code, notes, and snippets.

@jrstarke
jrstarke / gist:1709250
Created January 31, 2012 06:35
Full stacktrace
E, [2012-01-31T01:29:34.487357 #349028] ERROR -- : Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.) (RuntimeError)
/home/jrstarke/apps/charity-ratings/releases/20120131045227/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:71:in `rescue in establish_connection'
/home/jrstarke/apps/charity-ratings/releases/20120131045227/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:68:in `establish_connection'
/home/jrstarke/apps/charity-ratings/releases/20120131045227/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in `establish_connection'
/home/jrstarke/apps/charity-ratings/releases/20120131045227/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specificat
@jrstarke
jrstarke / index.html
Created July 22, 2012 20:42
Clustering of Bus Stops. For Breeze (https://github.com/lgrammel/breeze)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Bus stops on UVic Bus Lines, Victoria, BC</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/2.8.1/d3.v2.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/simplegeo/polymaps/v2.5.0/polymaps.min.js"></script>
<script type="text/javascript" src="jquery.qtip.min.js" ></script>
<link rel="stylesheet" type="text/css" href="jquery.qtip.min.css">
@jrstarke
jrstarke / gist:7059436
Created October 19, 2013 18:13
Log results to a Google App Engine Twilio validation
2013-10-19 11:07:10.812 /sms 200 732ms 0kb TwilioProxy/1.1
23.23.41.137 - - [19/Oct/2013:11:07:10 -0700] "POST /sms HTTP/1.1" 200 165 - "TwilioProxy/1.1" "go-phone.appspot.com" ms=733 cpu_ms=302 cpm_usd=0.000018 loading_request=1 app_engine_release=1.8.6 instance=00c61b117c0cf6c68f98f80095682637f370bdbd
I 2013-10-19 11:07:10.808
Validation: False
I 2013-10-19 11:07:10.809
Computed signature: qEGQ7+tI1nTTh8rG3N93+x7vMjc=
I 2013-10-19 11:07:10.809
Received signature: 2/FImJJyOtlWCy3IjXBo7PD16kY=
I 2013-10-19 11:07:10.809
Request URL: https://go-phone.appspot.com/sms
{:timestamp=>"2014-11-29T04:30:54.755000+0000", :message=>"Adding plugin path", :path=>"/opt/logstash/agent/lib", :level=>:debug, :file=>"logstash/agent.rb", :line=>"282"}
{:timestamp=>"2014-11-29T04:30:54.766000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:54.769000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:54.790000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:55.045000+0000", :message=>"Compiled pipeline code:\n@inputs = []\n@filters = []\n@outputs = []\n@input_file_1 = plugin(\"input\", \"file\", LogStash::Util.hash_merge_many({ \"path\" => (\"/home/silkstart/logs/*.log\".force_encoding(\"UTF-8\")) }, { \"type\" => (\"nginx\".force_encoding(\"UTF-8\")) }))\n\n@inputs << @input_file_1\n@output_redis_2 = plugin(\"output\", \"redis\", LogStash::Util.hash_mer
@jrstarke
jrstarke / keybase.md
Created March 22, 2015 00:50
keybase.md

Keybase proof

I hereby claim:

  • I am jrstarke on github.
  • I am jamiestarke (https://keybase.io/jamiestarke) on keybase.
  • I have a public key whose fingerprint is A68C 3AEA 7DDD D7A5 AB1A F992 EE01 F378 6B6F 6337

To claim this, I am signing this object:

Started by an SCM change
Building in workspace /var/jenkins_home/jobs/chef-silkstart/workspace
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url [email protected]:silkstart/chef-silkstart.git # timeout=10
Fetching upstream changes from [email protected]:silkstart/chef-silkstart.git
> git --version # timeout=10
using GIT_SSH to set credentials Bitbucket deployment key
> git -c core.askpass=true fetch --tags --progress [email protected]:silkstart/chef-silkstart.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/packer^{commit} # timeout=10
@jrstarke
jrstarke / kern.log
Created January 29, 2016 15:24
Packer Docker Chef build
Jan 29 15:18:29 paradox kernel: [590466.782898] aufs au_opts_verify:1612:docker[5318]: dirperm1 breaks the protection by the permission bits on the lower branch
Jan 29 15:18:29 paradox kernel: [590466.818796] aufs au_opts_verify:1612:docker[5318]: dirperm1 breaks the protection by the permission bits on the lower branch
Jan 29 15:18:29 paradox kernel: [590466.897259] aufs au_opts_verify:1612:docker[1669]: dirperm1 breaks the protection by the permission bits on the lower branch
Jan 29 15:18:29 paradox kernel: [590466.978059] device vetha7db8fe entered promiscuous mode
Jan 29 15:18:29 paradox kernel: [590466.978843] IPv6: ADDRCONF(NETDEV_UP): vetha7db8fe: link is not ready
Jan 29 15:18:29 paradox kernel: [590467.316827] eth0: renamed from vethafc87c4
Jan 29 15:18:29 paradox kernel: [590467.334082] IPv6: ADDRCONF(NETDEV_CHANGE): vetha7db8fe: link becomes ready
Jan 29 15:18:29 paradox kernel: [590467.334141] docker0: port 2(vetha7db8fe) entered forwarding state
Jan 29 15:18:29 paradox kernel: [590467.334149] doc
{
parameter1 = value1
parameter2 = value2
}
AWSTemplateFormatVersion: "2010-09-09"
Description: "Main Stack"
Resources:
SubStack:
Type: "AWS::CloudFormation::Stack"
Properties:
TemplateURL: template2.yaml