Skip to content

Instantly share code, notes, and snippets.

Lars Burgess larsburgess

  • CA
Block or report user

Report or block larsburgess

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am larsburgess on github.
  • I am larsburgess ( on keybase.
  • I have a public key whose fingerprint is AEC2 4B5E 2E51 6D4D 627B 0159 60BE B340 3ECD 1DA6

To claim this, I am signing this object:

larsburgess / sidekiq-ui
Last active Jun 20, 2016
Simple script to run sidekiq web console given a redis url
View sidekiq-ui
#! /usr/bin/env ruby
require 'rack'
require 'sidekiq'
require 'sidekiq/web'
require 'sidekiq-failures'
url = ARGV[0] || 'redis://localhost:6379'
Sidekiq.configure_client do |config|
config.redis = { size: 1, url: url }
View fill-redis.rb
#!/usr/bin/env ruby
require 'redis'
require 'hiredis'
require 'digest/sha1'
require 'benchmark'
def new_digest
Digest::SHA1.hexdigest("%9N").to_s )
larsburgess / gist:1138117
Created Aug 10, 2011
To disable the "rubber-band" effect of UIWebView (only if using jquery)
View gist:1138117
document.ontouchmove = function(e){ e.preventDefault(); }
You can’t perform that action at this time.