Skip to content

Instantly share code, notes, and snippets.

💭
We wanted flying cars, instead we got GitHub status

Michael Klishin michaelklishin

💭
We wanted flying cars, instead we got GitHub status
Block or report user

Report or block michaelklishin

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
View gist:2919
Gem structure:
/merb-slices
/lib
/spec
...
/merb_generators
/components
/slice_generator
/thin_slice_generator
View rabbitmq.config
%% Disable SSLv3.0 support
[
{ssl, [{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}]},
{rabbit, [
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile,"/path/to/ca_certificate.pem"},
{certfile, "/path/to/server_certificate.pem"},
{keyfile, "/path/to/server_key.pem"},
{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}
]}
View gist:b785383cc6151b76fbca
The Cloud Foundry engineering team is looking for a few great
Site Reliability Engineers (SREs)
to join us in running a platform that transforms how the world
deploys and scales software.
== Desired Skills and Experience
Strong background
with CentOS and/or Ubuntu
Experience with
View rabbitmq.config
[
{ssl, [{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]},
{ciphers, [{dhe_rsa,aes_256_cbc,sha}]}
]},
{rabbit, [
{ssl_listeners, [5672]},
{tcp_listeners, []},
{ssl_options, [{cacertfile,"/path/to/cacert.pem"},
{certfile,"/path/to/server.pem"},
View gist:3800
class Grandparent
end
class Parent < Grandparent
end
class Child < Parent
end
class Grandparent
View gist:3805
# ==== Parameters
# name<~to_s>:: Name of the cookie.
# value<~to_s>:: Value of the cookie.
# options<Hash>:: Additional options for the cookie (see below).
#
# ==== Options (options)
# :path<String>:: The path for which this cookie applies. Defaults to "/".
# :expires<Time>:: Cookie expiry date.
def set_cookie(name, value, options)
options[:path] = '/' unless options[:path]
View gist:f6a07d13f33232c985cb
[
{rabbit, [
{tcp_listeners, [{"127.0.0.1", 5672}]}
]}
].
You can’t perform that action at this time.