Skip to content

Instantly share code, notes, and snippets.

<HTML><HEAD>
<TITLE>503 Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable</H1>
This server is temporarily unable to service requests.
Error code: 95
<P>
<HR>
</BODY></HTML>
@Domon
Domon / rubykaigi-2018-workshop.md
Last active June 1, 2018 07:49
docker pull をスキップして notebook を実行しました。

docker pull をスキップして notebook を実行しました。

Installation

Workshop Repo

git clone https://github.com/RubyData/rubykaigi2018
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no,email=no,address=no">
<title>Binance</title>
<link rel="Shortcut Icon" href="favicon.ico">
</head>
<style>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Site Maintenance</title>
<style>
body { font: 20px Helvetica, sans-serif;}
.maintenance-container{
HTTP Status 500 - Error creating bean with name 'scopedTarget.horizonte.amazon.configuration.paris' defined in ServletContext resource [/WEB-INF/spring/authportal-config.xml]: Initialization of bean failed; nested exception is com.amazon.horizonte.amazon.configuration.impl.PARISException: CodigoInvalidResultsException[origin=PARISService::GetDomainByName validResults=false resultsTimedOut=false statusReason=HTTP request returned status: Service Unavailable message=HTTP request returned status: Service Unavailable]
type Exception report
message Error creating bean with name 'scopedTarget.horizonte.amazon.configuration.paris' defined in ServletContext resource [/WEB-INF/spring/authportal-config.xml]: Initialization of bean failed; nested exception is com.amazon.horizonte.amazon.configuration.impl.PARISException: CodigoInvalidResultsException[origin=PARISService::GetDomainByName validResults=false resultsTimedOut=false statusReason=HTTP request returned status: Service Unavailable message=HTTP request returned
<!DOCTYPE html>
<html>
<head>
<title>Runtime Error</title>
<meta name="viewport" content="width=device-width" />
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
@Domon
Domon / line_count_benchmark.rb
Last active June 9, 2017 03:29 — forked from guilhermesimoes/line_count_benchmark.rb
Ruby Benchmark: Counting the number of lines of a file
# gem install benchmark-ips
require "benchmark/ips"
path = "path/to/a_big_file"
Benchmark.ips do |x|
x.report("read + each_line") { File.read(path).each_line.count }
x.report("open + each_line") { File.open(path, "r").each_line.count }
x.report("open + readlines") { File.open(path, "r").readlines.length }
@Domon
Domon / time-vs-datetime.md
Last active May 3, 2017 01:39
Time vs DateTime
@Domon
Domon / keybase.md
Last active February 9, 2017 14:42

Keybase proof

I hereby claim:

  • I am Domon on github.
  • I am domon (https://keybase.io/domon) on keybase.
  • I have a public key whose fingerprint is 3248 27DC 5FB8 39AA D212 9C0C F80E 9640 1D1E BCD1

To claim this, I am signing this object:

{
"success": false,
"submission": {
"success": false,
"output": "",
"result": "<p>[“No space left on device - /var/folders/gr/lsv7cfrd28333_rdl6_w8_g40000gn/T/d20160924-391-3a9gnq”, “org/jruby/RubyDir.java:574:in <code>mkdir'\", \"/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:90:in </code>mktmpdir’”, “/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:0:in <code>create'\", \"/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:90:in </code>mktmpdir’”, “/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/project_manager.rb:85:in <code>path_to_temp_project'\", \"/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/project_manager.rb:16:in </code>setup!’”, “/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/box.rb:35:in <code>process!'\", \"/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/runner.rb:58:in </code>execute’”, “/Volumes/template/ios_remote_executor/ios_