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 | |
| # SPDX-License-Identifier: Unlicense | |
| # Converts the HTML-formatted clipboard selection to Markdown and pastes it into the foreground window. | |
| # Requires Wayland and the commands listed in the "check_command" section below to be installed. | |
| # Configure your system to launch this script with your preferred shortcut key. | |
| set -efu | |
| check_command() { |
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
| lib_input_getBool = input.getBool | |
| lib_input_getNumber = input.getNumber | |
| lib_map_mapToScreen = map.mapToScreen | |
| lib_math_abs = math.abs | |
| lib_math_atan = math.atan | |
| lib_math_cos = math.cos | |
| lib_math_floor = math.floor | |
| lib_math_max = math.max | |
| lib_math_min = math.min | |
| lib_math_pi = math.pi |
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
| // Stormworks: Build and Rescue 用データロガーです。 | |
| // | |
| // 使い方: | |
| // 1. Microcontroller の Lua で httpGet 関数を使用し、ログ送信機能を実装します。 | |
| // httpGet(port, request_body) | |
| // port: 54631 | |
| // request_body: 記録したい文字列 | |
| // 2. このツールを実行します。 | |
| // 3. ログ送信機能を実装した乗物をスポーンさせると、送信された文字列が | |
| // ツールから標準出力されます。 |