I hereby claim:
- I am mguymon on github.
- I am mguymon (https://keybase.io/mguymon) on keybase.
- I have a public key whose fingerprint is F334 2954 A9FA FFEE E8C2 0324 1A8E DBCB C460 E960
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am mguymon on github. | |
| * I am mguymon (https://keybase.io/mguymon) on keybase. | |
| * I have a public key ASBZXyG8fiannOhVWmBsBp7S1-SaclXT0AWcxopUxOdP_go | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
| # Load all symlinked directories in bin to the path | |
| for file in ~/bin/*; do | |
| if [[ -L "$file" && -d "$file" ]] | |
| then | |
| export PATH=$file:$PATH | |
| fi | |
| done |
| ByteArrayOutputStream stream = new ByteArrayOutputStream(); | |
| PrintStream printStream = new PrintStream(stream); | |
| printStream.print("initial text"); | |
| LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory(); | |
| PatternLayoutEncoder encoder = new PatternLayoutEncoder(); | |
| encoder.setContext(context); | |
| encoder.setPattern("%d{HH:mm:ss} %-5level %logger{36} - %msg%n"); | |
| encoder.start(); |
| using https://github.com/mguymon/nobrainer/tree/latest_rethinkdb | |
| rspec spec/integration/queries/count_spec.rb | |
| ..F. | |
| Failures: | |
| 1) count when scoped returns the number of documents | |
| Failure/Error: SimpleDocument.where(:field1 => 'ohai').count.should == 2 | |
| RethinkDB::RqlRuntimeError: |
| # Activate the gem you are reporting the issue against. | |
| gem 'activerecord', '4.0.0' | |
| require 'active_record' | |
| require 'minitest/autorun' | |
| require 'logger' | |
| # This connection will do for database-independent bug reports. | |
| ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
| ActiveRecord::Base.logger = Logger.new(STDOUT) |
| module FactoryGirlHelper | |
| def find_or_create(*args) | |
| name = args.shift | |
| clazz = nil | |
| # convert from underscores String to camelcase Class | |
| if name.is_a? Hash | |
| name = name.first[0] | |
| clazz = name.first[1].to_s.camelize.constantize |
| key = /etc/certs/server.key | |
| cert = /etc/certs/server.crt | |
| CApath = /etc/ssl/certs | |
| socket = l:TCP_NODELAY=1 | |
| socket = r:TCP_NODELAY=1 | |
| setuid = stunnel4 | |
| setgid = stunnel4 | |
| pid = /var/run/stunnel4/websocket.pid |
| this.YourApp = { | |
| stompSubscribe: function(queue, callback) { | |
| var client; | |
| client = Stomp.client("ws://localhost:8675/"); | |
| client.connect("", "", function(frame) { | |
| client.subscribe(queue, function(msg) { | |
| return callback(msg); | |
| }); | |
| }); | |
| return client; |
| require 'torquebox-stomp' | |
| class DemoStomplet | |
| def initialize() | |
| super | |
| @subscribers = [] | |
| # passthrough for local messages to skip auth | |
| @passthrough_code = "e32f53ac7569ae3a1f692177" | |
| end |