Skip to content

Instantly share code, notes, and snippets.

@dirksan28
dirksan28 / UbuntuFirefoxProblems.md
Last active August 22, 2026 20:21
Ubuntu - Firefox Apparmor problems in log / switch from SNAP to Mozilla APT-Repo

Complete Firefox Migration Guide: From Snap to Debian APT .deb (Ubuntu)

Restore Firefox’s stability and performance on Ubuntu by switching from the Snap package to Mozilla’s official .deb to overcome configuration caveats and recent Firefox Snap issues.

Motivation:

While using Firefox, numerous
apparmor="DENIED" profile="snap.firefox.firefox" name="/proc/pressure/memory" comm="MemoryPoller"
messages flooded the syslog, making log analysis impossible.

See also

@jinncoder
jinncoder / adduser.py
Last active August 22, 2026 20:10
Use impacket + LDAP to add a user to a group
#!/usr/bin/env python3
# Impacket - Collection of Python classes for working with network protocols.
#
# Copyright Fortra, LLC and its affiliated companies
#
# All rights reserved.
#
# This software is provided under a slightly modified version
# of the Apache Software License. See the accompanying LICENSE file
# for more information.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

Using CurseForge Overwolf API Key with Prism Launcher

Go to Settings > APIs > API Keys and put the following into the "CurseForge Core API" box

$2a$10$bL4bIL5pUWqfcO7KQtnMReakwtfHbNKh6v1uTpKlzhwoueEJQnPnm

image

If the API key changes, it may be found again with this guide

curseforge has patched the method previously used to find the api key

@priyadarshan
priyadarshan / all-ppas.sh
Last active August 22, 2026 20:05
Linux Mint ppas
sudo apt-add-repository ppa:zfs-native/stable
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-add-repository ppa:ubuntu-elisp/ppa
sudo apt-add-repository ppa:jonathonf/texlive
sudo apt-add-repository ppa:graphics-drivers/ppa
priyadarshan@fido ~ $ grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:#deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release amd64 20150627]/ trusty contrib main non-free
@karayelxyz
karayelxyz / KickEnhancer.user.js
Last active August 22, 2026 19:55
Remember selected language on browse & use it on homepage and sidebar; show recommended streams instead of featured; prevent quality loss when tab hidden; auto-mute on stream start + lock to highest quality; block unwanted categories; auto-claim daily reward; automatically refresh sidebar streams.
// ==UserScript==
// @name Kick Enhancer by karayelxyz
// @namespace https://github.com/karayelxyz
// @author karayelxyz
// @homepage https://gist.github.com/karayelxyz/b1d747b7b56d013daba3044c50026f6c
// @updateURL https://gist.github.com/karayelxyz/b1d747b7b56d013daba3044c50026f6c/raw/KickEnhancer.user.js
// @downloadURL https://gist.github.com/karayelxyz/b1d747b7b56d013daba3044c50026f6c/raw/KickEnhancer.user.js
// @version 2026.07.20
// @description Remember selected language on browse & use it on homepage and sidebar; show recommended streams instead of featured; prevent quality loss when tab hidden; auto-mute on stream start + lock to highest quality; block unwanted categories; auto-claim daily reward; automatically refresh sidebar streams.
// @match https://kick.com/*
@Devraj-Madhwal
Devraj-Madhwal / FEDORA SETUP
Created August 14, 2026 07:02 — forked from GhassenChawati1/FEDORA SETUP
Fedora macOS Style Setup
💻 Distro
• Fedora Workstation
🖼 Wallpaper
https://wall.alphacoders.com/big.php?i=1351143
🎨 WhiteSur GTK Theme
@TheRealFalseReality
TheRealFalseReality / send_snapshot_conditional.yaml
Last active August 22, 2026 19:30
Camera - Creates a camera snapshot if motion is detected and sends a notification to your device with the picture when certain conditions are met.
blueprint:
name: Camera - Send & Save Camera snapshot when if a binary sensor's state turns
'off' to 'on', with Conditions
description: This automation blueprint creates a camera snapshot if motion is detected,
or if a binary sensor's state turns 'off' to 'on', and sends a notification to
your phone with the picture. Clicking the notification will navigate to dashboard
URL. [More Info](https://community.home-assistant.io/t/camera-send-save-snapshot-to-mobile-device-when-motion-is-detected-with-conditions/604156)
(v2.3) [Automation]
author: TheFalseReality
homeassistant: