Skip to content

Instantly share code, notes, and snippets.

View EDM115's full-sized avatar
πŸ”
actively searching for a job

EDM115 EDM115

πŸ”
actively searching for a job
View GitHub Profile
@jfeilbach
jfeilbach / ubuntu_22.04_motd.md
Last active December 10, 2025 00:56
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

@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active December 11, 2025 16:52
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up β†’ Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@mathix420
mathix420 / medium.user.js
Last active December 5, 2025 15:17
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@Steveplays28
Steveplays28 / distant_horizons_shader_compatibility_information.md
Last active December 4, 2025 14:45
Distant Horizons shader compatibility info

Distant Horizons shader compatibility information

Distant Horizons v2.0.0 (and up) shader compatibility information.

v2

Install guide

Fabric

@0xdevalias
0xdevalias / serum-changelog.md
Last active November 29, 2025 17:51
Xfer Records - Serum - Changelog / Release Notes

Xfer Records - Serum - Changelog / Release Notes

Note: This was originally extracted from the HTML returned from the https://xferrecords.com/api/update_check/serum API, converted to markdown, and then formatted manually / cleaned up a bit further. It probably won't be kept strictly up to date, but it should at least serve as a useful historical record.

Note: For releases that I had access to the *.exe/*.dmg/*.pkg files for, I have also included the SHA256 hashes of the official downloads; so that they can be used to verify the authenticity of any versions that you might come across. At time of writing, the first version below that includes the hashes is 1.36b8 (October 11 2023)

@OrionReed
OrionReed / dom3d.js
Last active December 9, 2025 17:22
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // Β―\\_(ツ)_/Β―
@EDM115
EDM115 / VS Code : install extensions from a file.md
Last active April 21, 2024 16:45
VS Code : install extensions from a file

VS Code : install extensions from a file

  • To export all installed extensions
code --list-extensions > extensions.txt
  • On linux, think to do
chmod +x vs-code-install-extensions.sh
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 12, 2025 07:42
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@EDM115
EDM115 / Discord on Linux : auto upgrade and auto install BetterDiscord.md
Last active November 13, 2025 17:55
Discord on Linux : auto upgrade and auto install BetterDiscord

Discord on Linux : auto upgrade and auto install BetterDiscord

If you've installed discord on Linux through apt, you know how much of a pain it is to manually download and install it every now and then. It's even worse if you're having to reinstall BetterDiscord every time
So here's 2 simple scripts to fix this :

launch-discord.sh

  • Versatile script to launch discord
  • Auto launches the upgrade script if needed (have to be in the same folder)
  • Detaches the Discord instance from the terminal once done
@EDM115
EDM115 / sudo on PowerShell.md
Last active May 6, 2024 21:07
sudo on PowerShell

sudo on PowerShell

Microsoft plans on adding a sudo like command on windows (info and controversy)
But what if... you could already use it ? 🀭

Prerequisites

  • Have the newer version of powershell installed.
    If you plan on using the old one, replace pwsh with powershell