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
#!/usr/bin/env python3 | |
""" | |
#__PUSH__# gist -u 8a7af528fdccba68d53b912315f98534 #__file__# | |
""" | |
from subprocess import check_output | |
import os | |
import time | |
VLC_CONFIG_PATH = os.path.join( |
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
""" | |
decompress files.tar.zst to files.tar | |
""" | |
import zstandard as zstd | |
your_filename = "files.tar.zst" | |
with open(your_filename, "rb") as f: | |
data = f.read() | |
dctx = zstd.ZstdDecompressor() |
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
a = ""; | |
for (const i of document.querySelectorAll(".key-revealed-container")) { | |
a += i.firstElementChild.getAttribute("value") + "\n"; | |
} | |
console.log(a); |
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
""" | |
how many valid answers are there on this "Math Spinner?" | |
https://i.imgur.com/HYiaxUN.jpeg | |
""" | |
nums = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
operators = "+-*" | |
# find all valid | |
tot = 0 | |
valid = 0 |
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
# Maintainer: Bryce Kabat <brycekabat@onyxazryn.com> | |
pkgname="trilium-bin" | |
pkgver=0.63.3 | |
pkgrel=1 | |
pkgdesc="A hierarchical note taking application built on modern technologies." | |
depends=('libxss' 'nss' 'gtk3' 'alsa-lib') | |
arch=('x86_64') | |
url="https://github.com/zadam/trilium" | |
license=('AGPL3') | |
source=("https://github.com/zadam/trilium/releases/download/v$pkgver/trilium-linux-x64-$pkgver.tar.xz") |
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
{ | |
"p1Name": "Player 1", | |
"p1Team": "", | |
"p1Character": "Fox", | |
"p1Skin": "Red", | |
"p1Color": "Red", | |
"p1Score": 2, | |
"p1WL": "Nada", | |
"p2Name": "Player 2", | |
"p2Team": "Team", |
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
{ | |
"message": "Hi, I'm a gist at https://serve-gist.kevbot.xyz/. to make your own, do the following steps:", | |
"steps": [ | |
"Create a new gist containing json. Make sure to give it a json file exetension", | |
"grab the RAW_URL from the json and add it as a url parameter to here", | |
"e.g. https://serve-gist.kevbot.xyz/?url=RAW_URL" | |
] | |
} |
OlderNewer