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
| game.write_file("active-mods.md", "| Mod | Version |\n") | |
| game.write_file("active-mods.md", "|-|-:|\n", true) | |
| for name, version in pairs(script.active_mods) do | |
| game.write_file("active-mods.md", string.format("| %s | %s |\n", name, version), true) | |
| end | |
| end |
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:%5B...document.querySelectorAll('.text')%5D.forEach((p)%3D>%7Bp.style.userSelect%3D'text'%3B%7D)%3B |
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
| // ==UserScript== | |
| // @name IMASBBS Block System | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description IMASBBSのIDブロック機能を改良します。 | |
| // @author sakuro | |
| // @match http://imasbbs.com/patio.cgi* | |
| // @icon https://www.google.com/s2/favicons?domain=imasbbs.com | |
| // @grant none | |
| // ==/UserScript== |
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 -ue | |
| # mapshot-concat.sh map-xxxxxxxx/d-xxxxxxxx/zoom_x output.jpg | |
| if [ -n "$WSL_DISTRO_NAME" ]; then | |
| # WSL1/2 | |
| FACTORIO_DIR="/mnt/c/Users/$USER/AppData/Roaming/Factorio" | |
| elif [ "$(uname -o)" = Darwin ]; then | |
| # macOS | |
| FACTORIO_DIR="$HOME/Library/Application Support/Factorio" |
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> | |
| <title>Random Plot</title> | |
| <style> | |
| canvas { border: solid 1px; } | |
| th { font-family: monospace; } | |
| </style> | |
| </head> | |
| <body> |
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
| document.querySelectorAll('.delete').forEach((elm) => { | |
| elm.addEventListener('click', (ev) => { | |
| const target = ev.target.closest('.notification'); | |
| if (target) { | |
| target.parentNode.removeChild(target); | |
| } | |
| }); | |
| }); |
NewerOlder