This is just a dump of discoveries, experience, and general insights.
ℹ️ Does not contain any assembly related information.
ℹ️ A lot of this applies to 3D printers in general.
Divided into the following documentation, in order:
aahed | |
aalii | |
aapas | |
aargh | |
aarti | |
abaca | |
abaci | |
aback | |
abacs | |
abaft |
import discord | |
from discord.ext.commands import has_permissions, MissingPermissions | |
from discord.ext import commands | |
intents = discord.Intents.default() | |
intents.members = True | |
bot = commands.Bot(command_prefix='!', intents=intents) | |
@bot.command() | |
@has_permissions(kick_members=True) |
# Complete mapping of ISO 3166 2-letter country codes to descriptions used in Google calendar URLs, accurate as of 29 July 2021. | |
iso_to_gcal_description = { | |
"ad": "ad", | |
"ae": "ae", | |
"af": "af", | |
"ag": "ag", | |
"ai": "ai", | |
"al": "al", | |
"am": "am", |
use livestream_saver to download from the first segment. Can also record membership-only streams by supplying it your cookies (uses yt-dlp to download)
use ytarchive which basically does the same thing, except a bit better.
use youtube_stream_capture. You can use cookies file to get member-only streams too. Be aware that this script currently fails to download chunks as soon as the stream has ended (this might be a bug).
or use live-dl which does monitoring of streams too. This is a wrapper around streamlink and yt-dlp.
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'
Create a .gitattributes
file inside the directory with the notebooks
Add the following to that file:
This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:
addEventListener('fetch', event => event.respondWith(handleRequest(event.request))); | |
// Add environment variable `TGBOT_TOKEN` via Worker-Settings | |
async function requestTelegramBotAPI(method, payload) { | |
return fetch(`https://api.telegram.org/bot${TGBOT_TOKEN}/${method}`, { | |
method: "POST", | |
headers: { | |
"Content-Type": "application/json; charset=utf-8" | |
}, | |
body: !payload ? undefined : JSON.stringify(payload) |
/********************************************************** | |
DESCRIPTION | |
This sample gets files specified by the user from the | |
selected folder and batch processes them and saves them | |
as SVGs in the user desired destination with the same |