Skip to content

Instantly share code, notes, and snippets.

Parnell Springmeyer ixmatus

Block or report user

Report or block ixmatus

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
@ixmatus
ixmatus / gist:af352b3f01a0934acd9f
Created Feb 25, 2015
Sample rabbitmq_management plugin output
View gist:af352b3f01a0934acd9f
RABBITMQ_OBJECT_TOTALS_QUEUES 43 rabbit@production
RABBITMQ_OBJECT_TOTALS_CHANNELS 60 rabbit@production
RABBITMQ_OBJECT_TOTALS_EXCHANGES 9 rabbit@production
RABBITMQ_OBJECT_TOTALS_CONSUMERS 49 rabbit@production
RABBITMQ_OBJECT_TOTALS_CONNECTIONS 48 rabbit@production
RABBITMQ_MESSAGE_STATS_DELIVER 10195492 rabbit@production
RABBITMQ_MESSAGE_STATS_DELIVER_DETAILS_RATE 1.4 rabbit@production
RABBITMQ_MESSAGE_STATS_DELIVER_GET 10195495 rabbit@production
RABBITMQ_MESSAGE_STATS_DELIVER_GET_DETAILS_RATE 1.4 rabbit@production
RABBITMQ_MESSAGE_STATS_REDELIVER 1189 rabbit@production
View gist:22b5290322d6b9091d13
-module(new_dim_handler).
-export([init/3]).
-export([allowed_methods/2]).
-export([ content_types_provided/2
, content_types_accepted/2
]).
-export([ dim_to_json/2
, dim_from_json/2
View gist:828abd42de02b43f7b27
{relx,
[ {extended_start_script, false}
, {include_src, false}
, {vm_args, "./config/vm.args"}
, {sys_config, "./config/sys.config"}
, {root_dir, "/opt/arm/lib/erlang"}
, {lib_dirs, ["./apps/*/ebin"]}
, {include_erts, "/opt/arm/lib/erlang"}
, {release, {lightpad, "1.0.0"},
[ "plumlog>=1.0.0"
View gist:e7e495112c4ff71e513d
{cover_enabled, true}.
{erl_opts, [ debug_info
, {i, "deps/*/include"}
, {i, "apps/*/include"}
, {i, "apps/include"}
]}.
{edoc_opts, [{preprocess, true}]}.
View gist:932bc375bda632cc2111
-- Once we have an AMQP connection (which is stuffed into the RouterState data type) we then spawn multiple subscribers.
startSubscribers :: RouterState -> IO ()
startSubscribers r = do
stamp <- createTimestamp
tlist <- replicateM (amqpConsumers $ rstateSettings r) $ subscribe r
-- Link ALL of the async subscribers to this parent
debugM "Console" $ stamp ++ " [DEBUG] Linking subscribers"
forM_ tlist link
View gist:101d2c1f91a41d39e4ed
http://www.jerf.org/iri/post/2908
http://mwotton.github.com/hs_gbu/
http://reddit.com/r/haskell/comments/y6i7d/do_we_have_real_world_examples_of_where_static/
http://reddit.com/r/haskell/comments/12e3a0/the_good_the_bad_and_the_ugly_haskell_in/
http://blog.codersbase.com/2010/09/composability-laziness-testing-and.html
https://www.fpcomplete.com/user/imalsogreg/functional-programming-elevator-pitch
http://evincarofautumn.blogspot.com/2012/07/so-i-write-compilers-for-living-now.html
http://www.reddit.com/r/haskell/comments/2gz7s1/please_point_me_at_an_eloquent_paper_or_post_on/
View gist:fb9c9f6deedd027e8f6c
Host cmoon.chrisweaver.com
User cweaver
IdentityFile ~/.ssh/{yourkey}
IdentitiesOnly yes
PasswordAuthentication no
@ixmatus
ixmatus / pas.pub
Created Jun 29, 2014
Parnell's generic pubkey
View pas.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCknbhIPK7DhwCz2V5MwHbnXaZgbxr84oP4lW2mhEnjqDtQFAAiYwgKKgvngfbKDtuzSsUAGT3os9W3Zf+Zrw2M6YCQLRvyNUNlr//gK8tuofiyBViSe+jX+wlmUr7Mra8uLIxbcZrzkRG/3uUeqlcO7joNF3iWnqn3giHjcNgtxORFqEovrX/WV0Cdicuee8+Hn2WbBDxb4Nu36PNtI8cOrCzrXzz+8SrUeIXvI3Y92HfvN57BBElivDTp3iJYbmqUdqcJHiXrgIJ2L5Ynf4AkpsWue8CesP4900llsu61xVC1aLwfWAZOUk2UQdVtHk251S8WFo75hpojV39dlAmb
View gist:9917099
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCknbhIPK7DhwCz2V5MwHbnXaZgbxr84oP4lW2mhEnjqDtQFAAiYwgKKgvngfbKDtuzSsUAGT3os9W3Zf+Zrw2M6YCQLRvyNUNlr//gK8tuofiyBViSe+jX+wlmUr7Mra8uLIxbcZrzkRG/3uUeqlcO7joNF3iWnqn3giHjcNgtxORFqEovrX/WV0Cdicuee8+Hn2WbBDxb4Nu36PNtI8cOrCzrXzz+8SrUeIXvI3Y92HfvN57BBElivDTp3iJYbmqUdqcJHiXrgIJ2L5Ynf4AkpsWue8CesP4900llsu61xVC1aLwfWAZOUk2UQdVtHk251S8WFo75hpojV39dlAmb
View gist:9696617
accept4(9, 0x7f34f08041d0, [16], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x34a629c, FUTEX_WAIT_PRIVATE, 12111, NULL) = -1 EAGAIN (Resource temporarily unavailable)
You can’t perform that action at this time.