This file contains hidden or 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
| javascript:(function() { | |
| let url = window.location.href; | |
| let match = url.match(/arxiv\.org\/abs\/(\d+\.\d+)/); | |
| if (match && match[1]) { | |
| let paperId = match[1]; | |
| let ar5ivUrl = `https://ar5iv.labs.arxiv.org/html/${paperId}`; | |
| window.location.href = ar5ivUrl; | |
| } else { | |
| alert("This doesn't appear to be an arXiv paper page. Please use this bookmarklet on an arXiv paper page (e.g., https://arxiv.org/abs/2402.09171)"); | |
| } |
This file contains hidden or 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
| FROM denoland/deno:latest | |
| # Create the application directory | |
| WORKDIR /app | |
| # Copy dependency files first for caching | |
| COPY deno.json deno.lock* ./ | |
| # Copy the rest of the application code | |
| COPY . . |