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 |
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
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
[ | |
{ | |
"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
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
/** | |
* SOURCE = https://raw.githubusercontent.com/DiscordStyles/FrostedGlass/deploy/FrostedGlass.theme.css | |
* REPO = https://github.com/DiscordStyles/FrostedGlass | |
*/ | |
@import url('https://discordstyles.github.io/FrostedGlass/dist/FrostedGlass.css'); | |
@import url('https://discordstyles.github.io/Addons/windows-titlebar.css'); | |
:root { | |
--background-image: url('https://i.imgur.com/LgoCOnP.png'); |
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
globals [ | |
num_americans | |
num_british | |
] | |
breed [americans american] | |
breed [british britain] | |
;; you can define what variables are on a turle in two ways | |
;; 1. as a whole |
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
# assumes you are using btrfs with the default subvolumes | |
# assumes you are using grub as your boot loader | |
# inotify-tools is not needed on all machines | |
# you can skip and check logs of grub-btrfsd after starting the | |
# service and it will tell you if inotify-tools is needed | |
paru -S snapper snap-pac grub-btrfs snapper-rollback inotify-tools | |
sudo su | |
cd / |
OlderNewer