Skip to content

Instantly share code, notes, and snippets.

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

Bergbok Bergbok

:octocat:
Alive
  • 127.0.0.1
  • 17:58 (UTC +02:00)
View GitHub Profile

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 August 27, 2025 19:39
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 May 17, 2025 14:11
Create symbolic links from source Obsidian vault config to target vaults.
#!/usr/bin/env python3
"""Create symbolic links from main Obsidian vault config to other vaults.
Obsidian configuration folder can be copied between vaults; this script
copies a configuration from a main vault to other vaults.
"""
from pathlib import Path
from shutil import copytree, rmtree
@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
@cfreshman
cfreshman / wordle-answers-alphabetical.txt
Last active August 30, 2025 16:02
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
@Toyz
Toyz / OW1 CMD
Last active August 24, 2025 16:19
All command line options to Overwatch
----------POSSIBLE OPTIONS----------------------------------------------
--account : [optional] account name to login with
--key : [optional] connection key for the server (defaults to 1 in debug)
--automationRoutine : [optional] automation routine to run after login
--startAutomationGraph : [optional] start up and execute automation global graph using provided guid
--gatherEffectStats : [optional] enables effect stat gathering
--noautoconnect : [optional] Do not automatically connect to a server
--fastQuit
--dumpAssetNames : Write to <file> a JSON map of GUID (String "0xabc...") to asset name for all soft assets
--startPosition : [optional] start position when joining a map
@akiross
akiross / cifs_automount.md
Last active September 4, 2025 01:37
Automatically mount shared windows folders at boot on linux w/ systemd

Automount of CIFS (smbfs) folders w/ systemd

i.e. mounting your Windows shares on Linux at boot

First, let's see how to mount the remote directory. Assume that there is a shared folder over the network at \\192.168.1.1\users\self\shared which is accessible with user myuser and password secret123.

We could mount it manually in /mnt/winshare with:

# mount -t cifs //192.168.1.1/users/self/shared /mnt/winshare -o user=myuser,password=secret123

This should work on your Linux box, because systemd will basically call mount with the same arguments: What (//192.168.1.1/users/self/shared), Where (/mnt/winshare) and Options (user=myuser,password=secret123).

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active September 4, 2025 18:53
set -e, -u, -o, -x pipefail explanation
@matthewzring
matthewzring / markdown-text-101.md
Last active September 5, 2025 12:35
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers: