Skip to content

Instantly share code, notes, and snippets.

View martianinteractive's full-sized avatar

Martian Interactive martianinteractive

View GitHub Profile
@martianinteractive
martianinteractive / gist:b2b97a0076aa36e1c16e
Created November 13, 2014 15:22
curl -sSL https://get.rvm.io | bash -s stable --ruby=1.9.3-p545
contents of: /Users/sergiobayona/.rvm/log/1415891059_ruby-1.9.3-p545/package_install_autoconf_automake_libtool_pkg-config_gcc48_libyaml_readline_libksba_openssl.log
[2014-11-13 10:04:23] requirements_osx_brew_libs_install
requirements_osx_brew_libs_install ()
{
brew unlink "$@" || true;
brew install "$@" || {
typeset ret=$?;
rvm_warn "There were package installation errors, make sure to read the log.
#!/usr/bin/env ruby
require "openssl"
p OpenSSL::X509::Request.new(<<-CSR)
-----BEGIN NEW CERTIFICATE REQUEST-----
MIGkMIGaAgEAMIGJMRYwFAYDVQQDEw13d3cuZm9vLTMubmV0MQswCQYDVQQGEwJV
UzEeMBwGCSqGSIb3DQEJARYPZW1haWxAdGVzdC5ob3N0MRAwDgYDVQQHEwdPcmxh
bmRvMRMwEQYDVQQKEwpSYWlscyBFbnZ5MQkwBwYDVQQLEwAxEDAOBgNVBAgTB0Zs
b3JpZGEwBzACBgADAQCgADACBgADAQA=
-----END NEW CERTIFICATE REQUEST-----