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 | |
| # mp3_merger.sh -- Combine the data in the directory to create a single MP3 file. | |
| # Usage : mp3_merger.sh <directory> | |
| # Copyright (c) 2026 ozoramore | |
| # Released under the MIT License. | |
| CURDIR=$(pwd) | |
| cd "$1" || exit 1 | |
| ABSDIR=$(pwd) | |
| cd "$CURDIR" || exit 1 |
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
| # Serial Console for PowerShell | |
| # version: 1.0.0 | |
| # author: ozoramore | |
| # date: 2026-02-04 | |
| # usage example: | |
| # .\serial_console.ps1 COM3 -encoding ([System.Text.Encoding]::ASCII) -baudrate 9600 | |
| [CmdletBinding(PositionalBinding = $false)] | |
| param( |
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
| name: Build And Deploy | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| env: | |
| build_dir: public # zola build dir. | |
| target_repos: username/pages # GitHub Pages repo. |
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
| # AmazonのURLを短縮するやつ | |
| ```javascript | |
| javascript:(p=>location=p?p:location)(location.pathname.match(/\/dp\/\w+/)) | |
| ``` | |
| # Wikipediaの記事IDを取得して固定URLにするやつ | |
| ```javascript |
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
| local eyes = { | |
| { "'", "'" }, | |
| { "+", "+" }, | |
| { "-", "-" }, | |
| { "-", "・" }, | |
| { ".", "." }, | |
| { "=", "=" }, | |
| { ">", "<" }, | |
| { "@", "@" }, | |
| { "^", "^" }, |