This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% openssl s_client -connect app.calltrk.com:443 -showcerts | |
CONNECTED(00000003) | |
depth=3 /C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN - DATACorp SGC | |
verify error:num=20:unable to get local issuer certificate | |
verify return:0 | |
--- | |
Certificate chain | |
0 s:/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.calltrk.com | |
i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=EssentialSSL CA | |
-----BEGIN CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
require 'cgi' | |
require 'uri' | |
begin | |
uri = URI.parse(ENV["DATABASE_URL"]) | |
rescue URI::InvalidURIError | |
raise "Invalid DATABASE_URL" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
……………………………………………………..,`; ; ; ; ; ; ; ;/,_, | |
…………………………………………………..,-'‘; ; ; ; ; ; ; ; ; ; ; \_ | |
…….,-~--~’`*’~-,……………………………….\| ; ; ; ; ; ; ; ; ,’ ; ; ; / | |
…,-’`¯; ; ; ; ; ; ; ;’-,………….__,,,,,,_,,,,----~~’-,; ; ; ; ; ; ; ; ; ; ; ; ;\ | |
..( ;; ; ; ; ; ; ; ; ; ; ; ; ;’~-~*’’``¯¯; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;\ | |
….’~,; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;( | |
…….’~-,; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; \ | |
………..¯’~-,; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ,-‘; ; ; ; ; ; ; ; ; | | |
……………./¯’~-,_; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ,,-'; ; ; ; ; ; ; ; ; ; /, | |
……………)’; ; ; ; ¯’-,_; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;/_____; ; ; ; ; ; ; ; ;’, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$s = Time.now | |
Thread.new { loop { puts "[#{Time.now - $s}] hi 1"; sleep 1 } } | |
Thread.new { loop { puts "[#{Time.now - $s}] hi 2"; sleep 2 } } | |
sleep 0.5 | |
fork | |
sleep 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
require 'cgi' | |
require 'uri' | |
begin | |
uri = URI.parse(ENV["DATABASE_URL"]) | |
rescue URI::InvalidURIError | |
raise "Invalid DATABASE_URL" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ % gem --version | |
1.8.10 | |
~ % ruby -v | |
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Valim | |
class FacepalmError < StandardError ; end | |
def have_doubts | |
!!yield | |
end | |
extend self | |
end | |
module Kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
<%= ENV["RACK_ENV"] %>: | |
error_collector: | |
capture_source: true | |
enabled: true | |
ignore_errors: ActionController::RoutingError | |
apdex_t: 0.5 | |
ssl: false | |
monitor_mode: true | |
license_key: <%= ENV["NEW_RELIC_LICENSE_KEY"] %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% openssl s_client -connect www.ourreferralengine.com:443 | |
CONNECTED(00000003) | |
depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy Validation Authority/CN=http://www.valicert.com//emailAddress=info@valicert.com | |
verify error:num=19:self signed certificate in certificate chain | |
verify return:0 | |
--- | |
Certificate chain | |
0 s:/O=*.ourreferralengine.com/OU=Domain Control Validated/CN=*.ourreferralengine.com | |
i:/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287 | |
1 s:/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Africa | |
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers | |
Africa/Asmara | |
Africa/Asmera | |
Africa/Bamako | |
Africa/Bangui | |
Africa/Banjul |