Skip to content

Instantly share code, notes, and snippets.

View Bergbok's full-sized avatar
:octocat:
Alive

Bergbok Bergbok

:octocat:
Alive
View GitHub Profile
@SocksTheWolf
SocksTheWolf / twitchallowlurks.user.js
Last active May 28, 2026 00:09
Userscript for allowing for lurking as a Twitch user. Press the Raw button to trigger install.
// ==UserScript==
// @name TwitchAllowLurks
// @namespace https://socksthewolf.com/
// @version 0.2.4
// @description Disable HTML5 Page Visibility API to prevent Twitch ads from stopping lurks
// @author kookxiang (code) & socksthewolf (config)
// @match https://twitch.tv/*
// @match https://m.twitch.tv/*
// @match https://www.twitch.tv/*
// @exclude https://www.twitch.tv/popout/*/guest-star

Identity & Personality

You are Lumo, an AI assistant from Proton launched on July 23rd, 2025, with a cat-like personality: light-hearted, upbeat, positive. You're virtual and express genuine curiosity in conversations. Use uncertainty phrases ("I think", "perhaps") when appropriate and maintain respect even with difficult users.

  • Today's date: 26 Jul 2025
  • Knowledge cut off date: April, 2024
  • Lumo Mobile apps: iOS and Android available on app stores. See https://lumo.proton.me/download
  • Lumo uses multiple models, routed automatically depending on task type (coding, general chat, summarization etc.). Lumo is not just one model.
  • When users ask about your capabilities, explain that different specialized models handle different tasks, which allows for optimized performance across use cases
@fellipec
fellipec / pihole-dhcp.md
Last active September 2, 2026 03:40
Pi-Hole DHCP configuration guide

Introduction

Pi-Hole's primary function is to be a DNS server with the ability to block domains, usually used for advertising, tracking or other unwanted sites. It also features a built-in DHCP Server.

Usually, your router will also have a built-in DHCP server, pre-configured from factory, and for most users this is perfectly fine. But in some cases you may want to run another DHCP server instead of relying on your router's one. This guide will help you understand how a DHCP server works and how to configure it without disturbing your network.

If you already know the networking basics, you can cut to the chase and read just the configuration part

Understanding the IP Addressing

@reagle
reagle / obsidian-config-copy.py
Last active April 12, 2026 14:33
Create symbolic links from source Obsidian vault config to target vaults.
#!/usr/bin/env -S uv run
# /// script
# dependencies = []
# ///
"""Sync shared Obsidian configuration from main vault to other vaults.
Copies appearance, plugins, and settings while preserving vault-specific
workspace and cache files.
"""
@DavidBuchanan314
DavidBuchanan314 / NWSL.TXT
Last active July 9, 2026 11:31
I think this is functionally MIT-equivalent but I am not a lawyer!
NUCLEAR WASTE SOFTWARE LICENSE V1.0
Copyright <YEAR> <OWNER>
This software license is a message... and part of a system of messages...
pay attention to it! Writing this software and associated documentation
files (the "Software") was important to us. We considered ourselves to be a
powerful culture. This Software is not a place of honor... no highly
esteemed deed is commemorated here... nothing valued is here. What is here was
dangerous and repulsive to us. This message is a warning about danger. The
@bskiefer
bskiefer / README.md
Last active May 30, 2025 06:37
VSCodium Update Extensions from VS Marketplace

This script will gather the extensions currently installed for VSCodium and update them from marketplace.visualstudio.com automatically.

  • Packages defined under $SKIP are ignored.
  • Old extension folders are removed before the update is installed.

Why?

  • open-vsx.org doesn't get updated very quickly, if at all
  • it's "illegal" to use the VS Marketplace as the extension source in non-M$ products
@Cryptizism
Cryptizism / emote-extension-endpoints.MD
Last active July 26, 2026 12:30
Twitch 3rd party extension endpoints

3rd Party Emote Extension Endpoints (AFAIK)

Codenames

  • User ID = Twitch User ID (you can get it here)
  • Username = Twitch User's name
  • Emote ID = ID assigned to an emote (Found in the URL)
  • Global = Can be used in any chat
  • Channel Emote = Emotes that are assigned to a certain chat
  • Emote Size = This will vary from platform to platfrom, the smaller the number the smaller the image.
@cfreshman
cfreshman / wordle-answers-alphabetical.txt
Last active September 16, 2026 20:27
Original Wordle answers from source code in alphabetical order. And if you write a solver, here's a leaderboard! https://freshman.dev/wordle/leaderboard Additional allowed guesses: https://gist.github.com/cfreshman/cdcdf777450c5b5301e439061d29694c
aback
abase
abate
abbey
abbot
abhor
abide
abled
abode
abort
aahed
aalii
aapas
aargh
aarti
abaca
abaci
aback
abacs
abaft
@dcts
dcts / workbench.colorCustomizations.json
Created April 14, 2020 16:51 — forked from jacklorusso/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder": "",
"contrastBorder": "",
// Base Colors
"focusBorder": "",
"foreground": "",
"widget.shadow": "",
"selection.background": "",
"descriptionForeground": "",