Skip to content

Instantly share code, notes, and snippets.

View EDM115's full-sized avatar
:copilot:
actively searching for a job

EDM115 EDM115

:copilot:
actively searching for a job
View GitHub Profile
@jfeilbach
jfeilbach / ubuntu_22.04_motd.md
Last active July 5, 2025 22:31
Make Ubuntu 22.04 less annoying. Remove ESM Ubuntu Advantage

Ubuntu 22.04 Annoyances

Here are a few collected ways I like to customize Ubuntu 22.04 servers. I used to love Ubuntu, but I hate auto updates and snaps. They also put ads and other usless ads diguised as "news" in MOTD. ESM FUD is spread throughout the OS including simple apt functions. You do not need ESM and thus Ubuntu 22.04 has become super annoying. unattended-upgrade is an automatic installation of security (and other) upgrades without user intervention. Consider the ramifications of disabling this service.

Disable unattended upgrades

The Unattended Upgrades feature is enabled by default and it runs at system boot without the user's permission. The configuration is stored in /etc/apt/apt.conf.d/20auto-upgrades

Disable: sudo dpkg-reconfigure unattended-upgrades then a TUI will come up, select "No"

This will not permantently disable the function. After an update it will be enabled. In the file /etc/apt/apt.conf.d/20auto-upgrades change these values from 1 to 0. Even doing this it will

@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active June 30, 2025 18:43
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@blotus
blotus / log4j_exploitation_attempts_crowdsec.md
Last active December 29, 2023 12:24
IPs exploiting the log4j2 CVE-2021-44228 detected by the crowdsec community

This list is no longer updated, thus the information is no longer reliable.

You can see the latest version (from october 2022) here

@finxol
finxol / CSS_tips.md
Last active February 2, 2023 17:15
Web design tips
@MCJack123
MCJack123 / GDStructures.md
Last active January 26, 2023 08:35
Some reverse-engineering for Geometry Dash's memory structures - WIP

What is this?

This document attempts to document the structures of data that Geometry Dash uses to store information about the game. This is primarily intended for mod developers/hackers who want to read the executable's memory.

If you have any additional information about pointer locations or meanings, feel free to post it in the comments below.

The following data is from version 2.11, 32-bit Windows on Steam. This information will likely differ depending on the version, architecture, and platform.

Game Status - [[[GeometryDash.exe + 3222D0] + 164] + 224] + 600

This structure appears to be mirrored four bytes ahead at [[[GeometryDash.exe + 3222D0] + 164] + 228] + 600, for the second player in two-player/split mode.

@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active July 5, 2025 03:00
Front-end frameworks popularity (React, Vue, Angular and Svelte)
@dmfigol
dmfigol / asyncio_loop_in_thread.py
Last active June 24, 2025 17:41
Python asyncio event loop in a separate thread
"""
This gist shows how to run asyncio loop in a separate thread.
It could be useful if you want to mix sync and async code together.
Python 3.7+
"""
import asyncio
from datetime import datetime
from threading import Thread
from typing import Tuple, List, Iterable
@zanculmarktum
zanculmarktum / megafetch.sh
Last active May 16, 2025 03:32
Get download url from mega.nz
#!/bin/bash
# Copyright 2018, 2019, 2020 Azure Zanculmarktum
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
@tommy-mor
tommy-mor / video.py
Last active February 7, 2025 20:28
not good code stay away
from moviepy.editor import *
import numpy as np
clip = VideoFileClip("hams.mkv")
import sounddevice as sd
import soundfile as sf
from queue import Queue
from collections import OrderedDict
import pprint
pp = pprint.PrettyPrinter(indent=4)
print('started')
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active July 4, 2025 00:51
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings