Skip to content

Instantly share code, notes, and snippets.

View erbmicha's full-sized avatar

Michael Erb erbmicha

View GitHub Profile
require 'sidekiq/api'
# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear
@erbmicha
erbmicha / sidekiq_monitoring
Created March 1, 2023 01:08 — forked from ngsmrk/sidekiq_monitoring
Sidekiq queue checking via rails console
stats = Sidekiq::Stats.new
stats.queues
stats.enqueued
stats.processed
stats.failed

Keybase proof

I hereby claim:

  • I am erbmicha on github.
  • I am erbmicha (https://keybase.io/erbmicha) on keybase.
  • I have a public key whose fingerprint is 957A 59C7 8DDD 776F DF8C 2F7E 8FDB 27F3 EA1A 64AA

To claim this, I am signing this object:

@erbmicha
erbmicha / Gemfile
Last active August 29, 2015 14:07 — forked from nebiros/Gemfile
group :production do
gem "unicorn"
end

Keybase proof

I hereby claim:

  • I am erbmicha on github.
  • I am erbmicha (https://keybase.io/erbmicha) on keybase.
  • I have a public key whose fingerprint is 67E7 728D C7B2 0694 DB81 795C 46C0 57AC B7A7 228A

To claim this, I am signing this object:

@erbmicha
erbmicha / emberfire_embercli_howto.md
Last active August 29, 2015 14:01
How-to use the latest emberfire with the latest ember-cli.

ember-cli + emberfire

Update the following files in your EmberJS application so they resemble the following:

index.html

Add the firebase.js script tag in the following spot:

 <script>
   window.ENV = {{ENV}};
 </script>
# encoding: utf-8
# Copyright 2013-2014, Manfred Stienstra, <manfred@fngpts.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@erbmicha
erbmicha / 0001-search-cmd-updated-for-symlink-ability.patch
Last active December 19, 2015 14:58
patch for search-cmd script to allow symlinking (Riak v1.4.0) - FOR HOMEBREW USE ONLY
@erbmicha
erbmicha / 0001-riak-debug-updated-for-symlink-ability.patch
Last active December 19, 2015 14:58
patch for riak-debug script to allow symlinking (Riak v1.4.0) - FOR HOMEBREW USE ONLY
@erbmicha
erbmicha / 0001-riak-admin-updated-for-symlink-ability.patch
Last active December 19, 2015 14:58
patch for riak-admin script to allow symlinking (Riak v1.4.0) - FOR HOMEBREW USE ONLY