Skip to content

Commit

Permalink
deploy: fb4444b
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Nov 4, 2023
0 parents commit 51840f6
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
30 changes: 30 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>try-phi</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<style rel="stylesheet" href="styles.css"></style>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<style>
.github-fork-ribbon:before {
background-color: #54c234;
}
</style>
</head>

<body>
<a class="github-fork-ribbon" href="https://github.com/objectionary/try-phi" data-ribbon="Fork me on GitHub!"
title="Fork me on GitHub!">Fork me on GitHub!</a>
<div>
<script type="module" src="./index.js"></script>
</div>

</body>

</html>
12 changes: 12 additions & 0 deletions index.js

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
vertical-align: middle
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.popover-content kbd {
background-color: #eee;
border-radius: 3px;
border: 1px solid #b4b4b4;
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
color: #333;
display: inline-block;
font-size: .85em;
font-weight: 700;
line-height: 1;
padding: 2px 4px;
white-space: nowrap;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #42b340;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked+.slider {
background-color: #2196F3;
}

input:focus+.slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

.selected_mode{
vertical-align: middle;
font-weight: bold;
}

.reference_line {
vertical-align: middle;
}


.btn-yellow,
.btn-yellow:hover,
.btn-yellow:active,
.btn-yellow:visited {
background-color: #eab42b !important;
}

.btn-yellow:focus{
border-color: #eab42b !important;
box-shadow: 0 0 0 0.2rem #eab42b7c !important;
}

.btn-green,
.btn-green:hover,
.btn-green:active,
.btn-green:visited {
background-color: #54c234;
}

.btn-green:focus{
border-color: #54c234;
box-shadow: 0 0 0 0.2rem #55c23480;
}

1 comment on commit 51840f6

@0pdd
Copy link

@0pdd 0pdd commented on 51840f6 Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0 && pdd -v -f /tmp/20231104-627296-ij02i8 [1]: + set -e + set -o pipefail + cd /tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0 + pdd -v -f...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0 && pdd -v -f /tmp/20231104-627296-ij02i8 [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0
+ pdd -v -f /tmp/20231104-627296-ij02i8

My version is 0.23.2
Ruby version is 3.1.4 at x86_64-linux
Reading from root dir /tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/back/flake.lock is a binary file (70 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/README/dialect 1.png is a binary file (53554 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/README/dialect 2.png is a binary file (49368 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/README/eo  1.png is a binary file (55400 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/README/eo 2.png is a binary file (44144 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/docs/assets/gh.png is a binary file (4268 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/package-lock.json is a binary file (271791 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/eo/package.json is a binary file (1044 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/phi/docs/assets/gh.png is a binary file (4268 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/phi/package-lock.json is a binary file (271793 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/editors/phi/package.json is a binary file (1045 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/flake.lock is a binary file (529 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/front/flake.lock is a binary file (70 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/front/package.json is a binary file (994 bytes)
/tmp/0pdd20231104-14-7o9tvt/Z2l0QGdpdGh1Yi5jb206b2JqZWN0aW9uYXJ5L3RyeS1waGkuZ2l0/renovate.json is a binary file (107 bytes)
Reading .envrc ...
Reading .github/workflows/ci.yaml ...
Reading .gitignore ...
Reading README.md ...
Reading back/.dockerignore ...
Reading back/.envrc ...
Reading back/.ghci ...
Reading back/.ghcid ...
Reading back/.gitignore ...
Reading back/Dockerfile ...
Reading back/LICENSE ...
Reading back/README.md ...
Reading back/Setup.hs ...
Reading back/cabal.project ...
Reading back/default.nix ...
Reading back/eo-utils/.ghci ...
Reading back/eo-utils/.ghcid ...
Reading back/eo-utils/.gitignore ...
Reading back/eo-utils/ChangeLog.md ...
Reading back/eo-utils/LICENSE ...
Reading back/eo-utils/README.md ...
Reading back/eo-utils/Setup.hs ...
Reading back/eo-utils/app/Main.hs ...
Reading back/eo-utils/eo-utils.cabal ...
Reading back/eo-utils/grammars/eo.g4 ...
Reading back/eo-utils/grammars/eo_fixed.g4 ...
Reading back/eo-utils/grammars/full-syntax.eo ...
Reading back/eo-utils/grammars/snippet.eo ...
Reading back/eo-utils/package.yaml ...
Reading back/eo-utils/src/EOParser.hs ...
Reading back/eo-utils/src/EnumerateNodes.hs ...
ERROR: ERROR: back/eo-utils/src/EnumerateNodes.hs; PDD::Error at back/eo-utils/src/EnumerateNodes.hs:215: TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/cqfn/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/cqfn/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/cqfn/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:73:in `rescue in block in xml'
/app/objects/git_repo.rb:70:in `block in xml'
/app/vendor/ruby-3.1.4/lib/ruby/3.1.0/tempfile.rb:317:in `open'
/app/objects/git_repo.rb:69:in `xml'
/app/objects/puzzles.rb:41:in `deploy'
/app/objects/jobs/job.rb:38:in `proceed'
/app/objects/jobs/job_starred.rb:32:in `proceed'
/app/objects/jobs/job_recorded.rb:31:in `proceed'
/app/objects/jobs/job_emailed.rb:33:in `proceed'
/app/objects/jobs/job_commiterrors.rb:33:in `proceed'
/app/objects/jobs/job_detached.rb:48:in `exclusive'
/app/objects/jobs/job_detached.rb:36:in `block in proceed'
/app/objects/jobs/job_detached.rb:36:in `fork'
/app/objects/jobs/job_detached.rb:36:in `proceed'
/app/0pdd.rb:531:in `process_request'
/app/0pdd.rb:367:in `block in <top (required)>'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1706:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1706:in `block in compile!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1019:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1037:in `route_eval'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1019:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1068:in `block in process_route'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1066:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1066:in `process_route'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1017:in `block in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1014:in `each'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1014:in `route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/deflater.rb:44:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/xss_header.rb:20:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/path_traversal.rb:18:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/json_csrf.rb:28:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-3.0.6/lib/rack/protection/frame_options.rb:33:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:261:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:254:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1576:in `block in call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1792:in `synchronize'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1576:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-2.2.8/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'

Please sign in to comment.