Skip to content

Instantly share code, notes, and snippets.

View michaelklishin's full-sized avatar

Michael Klishin michaelklishin

View GitHub Profile
posting from Emacs...
show me what you post, gist
what if I want XML back?
Gem structure:
/merb-slices
/lib
/spec
...
/merb_generators
/components
/slice_generator
/thin_slice_generator
%% 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]}
]}
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
[
{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"},
class Grandparent
end
class Parent < Grandparent
end
class Child < Parent
end
class Grandparent
# ==== 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]
[
{rabbit, [
{tcp_listeners, [{"127.0.0.1", 5672}]}
]}
].