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 golang:1.20.2 | |
| COPY . . | |
| ENTRYPOINT go run main.go |
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
| #!/bin/bash | |
| # Copyright 2012 The Go Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style | |
| # license that can be found in the LICENSE file. | |
| # support functions for go cross compilation | |
| type setopt >/dev/null 2>&1 && setopt shwordsplit | |
| PLATFORMS="darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64 openbsd/386 openbsd/amd64" |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="palindromes.js"></script> | |
| <script type="text/javascript"> | |
| function findPalindromesInInput() { | |
| var inputString = document.getElementById('input').value; | |
| var inputStream = new InputStream(inputString); |
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
| var http = require('http'); | |
| var fs = require('fs'); | |
| var crypto = require('crypto'); | |
| var url = require('url'); | |
| var exec = require('child_process').exec; | |
| var linkRegex = />(http:..www[.]gutenberg[.]lib[.]md[.]us.*zip)</gi | |
| var nextOffsetRegex = /harvest[?]offset=([0-9]+)/gi; | |
| var downloads = []; | |
| var host = "www.gutenberg.org"; |
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
| #!/bin/sh | |
| # | |
| # Lunarizer | |
| # ========= | |
| # | |
| # Installation | |
| # ------------ | |
| # $ sudo chmod +x lunar | |
| # $ sudo cp lunar /usr/local/bin/lunar | |
| # |