This file contains 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
import { Router } from 'itty-router' | |
const router = Router() | |
// from client | |
router.get('/', async (request, env) => { | |
const url = new URL(request.url) | |
const token = url.searchParams.get("token") | |
const module = url.searchParams.get("module") | |
if (!token || !module) { |
This file contains 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
{ | |
"id": "terminal", | |
"title": "Terminal", | |
"version": "1.0.0", | |
"url": "https://github.com/CodaBool/terminal", | |
"bugs": "https://github.com/CodaBool/terminal/issues", | |
"changelog": "https://github.com/CodaBool/terminal/blob/main/changelog.md", | |
"download": "https://d3erver.codabool.workers.dev/download?module=terminal-v1.0.0", | |
"manifest": "https://raw.githubusercontent.com/CodaBool/terminal/main/module.json", | |
"description": "A customizable interactive terminal from which players can read and reveal journal entries", |
This file contains 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
import { Router } from 'itty-router' | |
const router = Router() | |
// from client | |
router.get('/', async (request, env) => { | |
const url = new URL(request.url) | |
const token = url.searchParams.get("token") | |
const module = url.searchParams.get("module") | |
if (!token || !module) { |
This file contains 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
[ | |
{ | |
"releaseCycle": "8.0.32", | |
"releaseDate": "2023-02-07", | |
"eol": "2024-02-01", | |
"type": "minor", | |
"db": "mysql" | |
}, | |
{ | |
"releaseCycle": "8.0.31", |
This file contains 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
from datetime import datetime, timezone | |
import boto3 | |
# ----------------------------------- | |
# Enter these values here: | |
thebucket = "BUCKET_NAME_HERE" | |
region_name = "us-east-1" | |
folder_in_bucket = "" # aka key or prefix | |
# ------------------------------------ |
This file contains 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
// https://github.com/zishang520/socket.io | |
// sources | |
socket = io.Sockets() | |
engine = io.Engine() | |
adapter = io.Adapter() | |
io = io | |
// Useful | |
p("io Name", io.Sockets().Name()) // "/" | |
p("io Sockets", io.FetchSockets()) |
This file contains 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
# Install Spotify | |
# https://spotify.en.uptodown.com/windows/versions | |
# Install Spicetify CLI | |
# iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1 | iex | |
# git clone https://github.com/spicetify/spicetify-themes.git | |
# cd spicetify-themes | |
# cp * "$(spicetify -c | Split-Path)\Themes\" -Recurse |
NewerOlder