Skip to content

Instantly share code, notes, and snippets.

View steveburkett's full-sized avatar

Steve Burkett steveburkett

View GitHub Profile
@steveburkett
steveburkett / step_1
Last active April 25, 2018 16:06
Stonecrop ReactJS basics
rails g model Part name:string description:text
rake db:migrate
017-03-28T18:37:12.826Z 20268 TID-oxi3cqvik INFO: Running in ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
2017-03-28T18:37:12.826Z 20268 TID-oxi3cqvik INFO: Sidekiq Pro 3.4.5, commercially licensed. Thanks for your support!
2017-03-28T18:37:12.828Z 20268 TID-oxi3cqvik DEBUG: Client Middleware: Sidekiq::Batch::Client, SidekiqUniqueJobs::Client::Middleware
2017-03-28T18:37:12.828Z 20268 TID-oxi3cqvik DEBUG: Server Middleware: Sidekiq::Middleware::Server::Logging, Sidekiq::Middleware::Server::RetryJobs, Sidekiq::Middleware::Server::ActiveRecord, Sidekiq::Batch::Server, SidekiqUniqueJobs::Server::Middleware, Honeybadger::Plugins::Sidekiq::Middleware, NewRelic::SidekiqInstrumentation
2017-03-28T18:37:12.828Z 20268 TID-oxi3cqvik INFO: Starting processing, hit Ctrl-C to stop
2017-03-28T18:37:12.829Z 20268 TID-oxi3cqvik DEBUG: {:queues=>["default", "pentaho_job", "ruby_job"], :labels=>[], :concurrency=>10, :require=>".", :environment=>nil, :timeout=>8, :poll_interval_average=>nil, :average_scheduled_
@steveburkett
steveburkett / job1.rb
Last active March 26, 2017 22:04
sidekiq pro batch testing
class DwTestJob1
include Sidekiq::Worker
sidekiq_options queue: :default, retry: false
def perform(opts={})
puts('Starting Job1')
sleep(1.minute)
puts('Ending Job1')
end
end
/Users/steveburkett/.rvm/gems/ruby-1.9.3-p484/gems/honeybadger-1.16.1/lib/honeybadger/exception_extensions.rb:11: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-darwin13.4.0]
-- Control frame information -----------------------------------------------
c:0097 p:---- s:0330 b:0330 l:000329 d:000329 CFUNC :callers
c:0096 p:0034 s:0327 b:0327 l:000608 d:000608 METHOD /Users/steveburkett/.rvm/gems/ruby-1.9.3-p484/gems/honeybadger-1.16.1/lib/honeybadger/exception_extensions.rb:11
c:0095 p:---- s:0322 b:0322 l:000321 d:000321 FINISH
c:0094 p:---- s:0320 b:0320 l:000319 d:000319 CFUNC :default_proc=
c:0093 p:0018 s:0316 b:0315 l:001758 d:001758 TOP /Users/steveburkett/.rvm/gems/ruby-1.9.3-p484/gems/backports-3.6.3/lib/backports/2.0.0/hash/default_proc.rb:1
c:0092 p:---- s:0313 b:0313 l:000312 d:000312 FINISH
[ruby-2.1.2]master:g5-dashboard $ heroku releases --app g5-dsh-compass-rock-clone
=== g5-dsh-compass-rock-clone Releases
v20 Deploy c474228 jonnysamps@gmail.com 2015/03/13 12:23:39 (~ 13m ago)
v19 Deploy fa8e714 jonnysamps@gmail.com 2015/03/13 12:15:06 (~ 22m ago)
v18 Deploy fa8e714 jonnysamps@gmail.com 2015/03/13 11:33:53 (~ 1h ago)
v17 Deploy 3d4c218 steve@burkettnet.com 2015/03/13 11:33:09 (~ 1h ago)
v16 Deploy 6f0e9d6 jonnysamps@gmail.com 2015/03/13 09:44:55 (~ 2h ago)
[ruby-2.1.2]master:g5-dashboard $ git ls-remote cr-clone
Fetching repository, done.
module.exports = function(grunt) {
var deployConfiguration;
var s3_bucket;
if (grunt.option('release')) {
deployConfiguration = grunt.file.readYAML("deployment.yml");
s3_bucket = 'ember-build-dsh';
} else {
deployConfiguration = grunt.file.readYAML("deployment.development.yml");
s3_bucket = 'ember-dev-dsh';
module.exports = function(grunt) {
grunt.initConfig({
environment: {
default: 'development',
environments: ['development', 'production']
},
config: {
development: {
module.exports = function(grunt) {
var deployConfiguration = grunt.file.readYAML("deployment.yml");
var bucket = 'ember-build-dsh';
grunt.initConfig({
autobots: {
distDir: 'dist',
s3: {
accessKeyId: deployConfiguration.s3_access_key_id,
Failures:
1) POST /walkins logged in body
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordInvalid:
Validation failed: Email has already been taken, Uid has already been taken
# -e:1:in `<main>'
2) Configuring a Lead Task logged in with no associated forms can unconfigure a lead task
Failure/Error: Unable to find matching line from backtrace
@steveburkett
steveburkett / gist:bd29318bb94a2fc96f77
Created June 6, 2014 04:23
unicorn.log after using a $redis.quit
E, [2014-06-06T04:20:17.586128 #17157] ERROR -- : Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking. (Redis::InheritedError)
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:299:in `ensure_connected'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:191:in `block in process'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:270:in `logging'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:190:in `process'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:96:in `call'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis.rb:104:in `block in quit'
/data/reputation/shared/bundled_gems/ruby/2.0.0/gems/redis-3.0.7/lib/redis.rb:37:in `block in synchronize'
/usr/lib64/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/data/reputation/shared/bundled_gems/ruby/2.0