Skip to content

Instantly share code, notes, and snippets.

View TheTechRobo's full-sized avatar
🇨🇦

TheTechRobo

🇨🇦
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active July 8, 2025 19:40
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@TechStreetDev
TechStreetDev / discord_layout.md
Last active August 16, 2024 12:27
This tutorial explains how to revert to the old (and better) discord mobile layout.

How to Revert New Discord Layout?

  1. Go to https://discord.com/app on your computer
  2. Press Ctrl + Shift + I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
let wpRequire;
window.webpackChunkdiscord_app.push([[ Math.random() ], {}, (req) => { wpRequire = req; }]);
@Nothing4You
Nothing4You / dashboard.user.js
Last active November 29, 2023 23:57
hacky replacement dashboard script to show b/s and i/s values
// ==UserScript==
// @name betterDashboard
// @namespace Nothing4You
// @match https://tracker.archiveteam.org/*/
// @grant none
// @version 1.2.0
// @author Nothing4You
// @description adds more information to archive team tracker dashboards
// @updateURL https://gist.githubusercontent.com/Nothing4You/b127b3cc4d4fabe372dcf078dbe86070/raw/dashboard.user.js
// ==/UserScript==
@probonopd
probonopd / Wayland.md
Last active July 13, 2025 12:35
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

image

Source: https://x.com/LundukeJournal/status/1940441670098809093

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

@queengooborg
queengooborg / essentials-worth.yml
Last active July 7, 2025 05:44
A balanced worth.yml file for Bukkit/Spigot servers running 1.13.x+ with EssentialsX
#
# Minecraft Essentials worth.yml - optimized for an ideal balanced Economy!
# https://gist.github.com/queengooborg/92d08120f0d6d25175f6c7a30e3ccac7
#
# Compatible MC Version: 1.13.x+
# Latest MC Version: 1.21.7
#
# Maintained by Vinyl Da.i'gyu-Kazotetsu [https://www.queengoob.org]
# Generated by https://github.com/queengooborg/mc-toolkit
# Initialy created by X00LA: https://github.com/X00LA/Bukkit-Essentials-worth.yml
@shivams
shivams / textlive-full-beefless.md
Last active June 17, 2024 17:15
`texlive-full` without the beef

TLDR;

On an Debian/Ubuntu-based system, to install texlive-full without docs and language packs, simply do this:

sudo apt install `sudo apt --assume-no install texlive-full | \
		awk '/The following additional packages will be installed/{f=1;next} /Suggested packages/{f=0} f' | \
		tr ' ' '\n' | grep -vP 'doc$' | grep -vP 'texlive-lang' | grep -vP 'latex-cjk' | tr '\n' ' '`

After this, if you wish to install the language packs, selectively install them. E.g.:

@Roukaysa
Roukaysa / worth.yml
Last active June 11, 2023 01:57 — forked from Yaroster/worth.yml
worth.yml 1.14 (EssentialsX)
# Created by X00LA
# Optimized by Yaroster
# Fixed, changed and completed by Roukaysa
# License: GPL2.0 https://github.com/X00LA/Bukkit-Essentials-worth.yml/blob/master/LICENSE
# Made for MC 1.13+ (Flattened)
# Optimized for ideal balanced Economy!
# Based on https://github.com/X00LA/Bukkit-Essentials-worth.yml
worth:
#Iron
@ww9
ww9 / one-line-text-art-and-emojis_utf8_ascii.txt
Last active June 4, 2025 13:04
Emojis, UTF8, ASCII (one line) #misc
# Collection of one line text art (◕‿◕✿)
Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗
ּבּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
@scragly
scragly / activities.md
Created October 28, 2018 03:12
Activity updates on discord.py
# Setting `Playing ` status
await bot.change_presence(activity=discord.Game(name="a game"))

# Setting `Streaming ` status
await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))

# Setting `Listening ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
@Franck1333
Franck1333 / Internet_Example1.py
Created September 28, 2018 15:28
Get a child window with Tkinter/Python (Meteo Example)
#AIDE : https://www.daniweb.com/programming/software-development/threads/39554/how-to-opening-a-new-window-on-clicking-menu-item
# display message in a child window
from Tkinter import *
def messageWindow():
# create child window
win = Toplevel()
# display message