Skip to content

Instantly share code, notes, and snippets.

@GoToLoop
GoToLoop / README.md
Last active April 16, 2025 23:55
q5js to ESM q5mjs

q5js_to_esm.mjs

🚀 Convert the q5.js library into an ECMAScript Module (ESM) with ease!
This script reads the local q5.js file from subfolder q5 or fetches it from a remote source, applies customizable string replacement patterns, and generates the resulting q5.mjs file in subfolder q5.

📜 Features

  • Local or Remote Input: Automatically handles local files or fetches from a remote URL.
@GoToLoop
GoToLoop / README.md
Last active April 1, 2026 20:02
Scripts to install Thonny + py5mode on Windows & Linux

Remote installation command for Windows:

irm 'https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.ps1' | iex

or

iwr https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.ps1 -OutFile thonny-installer.ps1; Unblock-File thonny-installer.ps1; Set-ExecutionPolicy Bypass -Scope Process -Force; .\thonny-installer.ps1

Remote installation command for Linux/Unix:

bash -c "$(curl -fsSL https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.bash)"