This runs mozilla/send: File Sharing Experiment.
Maybe this needs reverse-proxy like nginx with ssl.
This runs mozilla/send: File Sharing Experiment.
Maybe this needs reverse-proxy like nginx with ssl.
| #!/usr/bin/env node | |
| /* references | |
| - [How to get node.js HTTP request promise without a single dependency](https://www.tomas-dvorak.cz/posts/nodejs-request-without-dependencies/) | |
| - [Process | Node.js v8.5.0 Documentation](https://nodejs.org/api/process.html#process_process_stdin) | |
| - stdin | |
| - [HTTP | Node.js v8.5.0 Documentation](https://nodejs.org/docs/latest/api/http.html#http_http_request_options_callback) | |
| - request | |
| - [URL | Node.js v8.5.0 Documentation](https://nodejs.org/docs/latest/api/url.html) | |
| - parse url |
| #!/bin/sh | |
| #|-*- mode:lisp -*-|# | |
| #| <Put a one-line description here> | |
| exec ros -Q -- $0 "$@" | |
| |# | |
| (progn ;;init forms | |
| (ros:ensure-asdf) | |
| #+quicklisp (ql:quickload '(:clack) :silent t) | |
| ) |
| #!/bin/sh | |
| #|-*- mode:lisp -*-|# | |
| #| <Put a one-line description here> | |
| exec ros -Q -- $0 "$@" | |
| |# | |
| (progn ;;init forms | |
| (ros:ensure-asdf) | |
| #+quicklisp (ql:quickload '(:hunchensocket) :silent t) | |
| ) |
| #|-*- mode:lisp -*-|# | |
| #| | |
| exec ros -Q -- $0 "$@" | |
| |# | |
| #| | |
| Generate a Hubot script (.js file) from the given Roswell script. | |
| Usage: | |
| $ hubotify <roswell script> |
| #!/bin/bash | |
| function usage(){ | |
| echo 'usage: git diff-export target1 target2 [output]' | |
| echo | |
| echo 'target1に指定したコミットとtarget2に指定したコミットで差分のあったファイルのみ、' | |
| echo 'target1またはtarget2の新しい方のコミットでのスナップショットを書き出します。' | |
| echo '(差分のなかったファイルや、より新しいコミットで修正されたファイルは書き出されません)' | |
| echo | |
| echo 'outputを指定した場合、outputに書き出します。デフォルトは ../output.zip です。' | |
| exit |
| ;; from Land of Lisp 11.9 | |
| ;; http://landoflisp.com/robots.lisp | |
| (defun robots () | |
| ;; 盤面を64文字×16行の1024文字で表現している。 | |
| ;; (65文字目が2行目の1文字目) | |
| ;; @を自分として、各キーの方向に進む | |
| ;; q w e | |
| ;; a @ d | |
| ;; z x c | |
| ;; tはランダムな場所に飛ぶ |
| # EditorConfig helps developers define and maintain consistent | |
| # coding styles between different editors and IDEs | |
| # editorconfig.org | |
| root = true | |
| [*] | |
| # Change these settings to your own preference | |
| indent_style = space |