Skip to content

Instantly share code, notes, and snippets.

View korishev's full-sized avatar

Morgan Nelson korishev

View GitHub Profile

Keybase proof

I hereby claim:

  • I am korishev on github.
  • I am korishev (https://keybase.io/korishev) on keybase.
  • I have a public key whose fingerprint is BA2D D716 4A9A F5D5 EE85 2F4D 049A 383A FFB3 7792

To claim this, I am signing this object:

@korishev
korishev / provisioning.rb
Created February 25, 2015 16:48
Provisioning data
#SETTINGS is a hash keyed on environment
config = SETTINGS[node.chef_environment || "staging"]
# in the staging env, driver is “aws-staging-us-east-1”
with_driver config["driver"]
num_index_nodes_per_zone = NUM_INDEX_NODES / config["az"].keys.count
####################################################
@korishev
korishev / gist:5832748
Created June 21, 2013 17:13
Rabbit 3.1.1, Erlang R14B04 crash and supervisor reports
=CRASH REPORT==== 20-Jun-2013::01:25:18 ===
crasher:
initial call: gen:init_it/6
pid: <0.14774.0>
registered_name: []
exception exit: {function_clause,
[{orddict,update,
[<0.14779.0>,#Fun<rabbit_limiter.3.113433752>,
[]]},
@korishev
korishev / multi-pane-iterm.osa
Last active December 10, 2015 07:28
General Applescript to setup a default iTerm2 session
-- While iTerm2 doesn't have internal scripting, if you are willing
-- to use Applescript, you can simulate a lot of stuff by sending
-- iTerm2 the appropriate keystrokes via Applescript
-- invoke via 'osascript multi-pane-item.osa'
-- I am in no way an Applescript programmer,
-- much of this inspired by/stolen from
-- http://iterm.sourceforge.net/scripting.shtml
-- http://code.google.com/p/iterm2/wiki/AppleScript
@korishev
korishev / gist:1050438
Created June 28, 2011 03:37
torquebox run with errors
22:36:30,485 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.1.0.Beta2
22:36:30,546 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-4) Starting remote JMX connector
22:36:30,583 WARN [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-3) Unable to set the URLStreamHandlerFactory
22:36:30,642 WARN [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-3) Unable to set the ContentHandlerFactory
22:36:30,833 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
22:36:30,842 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "dad2-knob.yml"
22:36:30,852 WARN [jacorb.codeset] (MSC service thread 1-2) Warning - unknown codeset (MacRoman) - defaulting to ISO-8859-1
22:36:30,865 INFO [org.jboss.as.modcluster] (MSC service thread 1-3) Mod_cluster uses default load balancer provider
22:36:30,869 INFO [org.hornetq.