Skip to content

Instantly share code, notes, and snippets.

@FxMorin
FxMorin / ScummyMods.md
Last active July 20, 2024 16:22 — forked from kyrptonaught/ScummyMods.md
The Scummy Behavior of mods that act like modpacks

Introduction

Let me start by clarifying that the following doesn't exclusively apply to Debugify, but they serve as an excellent illustration of the heinous behavior outlined in the following. The mods in question shall therefore be collectively referred to as "Scummy Mods".

Scummy Mods are mods that incorporate or outright copy foreign code bases, without permission from the original author. They commonly state to either "replace" or "include" the original work, if any mention is given at all. Developing a mod is not easy. Many mod creators sacrifice significant chunks of their personal time and resources to their creations, essentially for free. Curseforge offers a symbolic compensation for the hours poured, but it's usually insignificant and just a nice bonus.

The Problem

The majority of the original projects are still in development. Since the creators behind Scummy Mods typically do not understand the code they copied to begin with, they lack the knowledge required to eliminate the bugs that will

@helium18
helium18 / switch_to_libreddit.md
Last active April 26, 2022 15:58
Migrate joined reddit subreddits to libreddit subscriptions

Switch to libredd.it (from reddit)

Subscribe to all of your joined reddit subreddits in libreddit.

  1. Head over to reddit's subscription page
  2. Open dev tools and paste this snippet.
let subs = () => {
  let result = "";
 Array.from($(".subscription-box").find("li").find("a.title")).forEach(
@lenicyl
lenicyl / fuck-medium.js
Created February 4, 2022 05:59
Fuck Medium
// ==UserScript==
// @name New script - google.com
// @namespace Violentmonkey Scripts
// @grant none
// @version 1.0
// @author -
// @description 2/4/2022, 10:30:16 AM
// ==/UserScript==
// Thanks to @helium18 on github for helping me with this since im bad at js
@lenicyl
lenicyl / userChrome.css
Last active July 31, 2024 12:03
[Windows] Fix Firefox window controls
.titlebar-button{
background-color: transparent !important;
stroke: currentColor !important;
}
.titlebar-button:hover{ background-color: hsla(0,0%,100%,.32) !important }
.titlebar-close:hover{ background-color: hsl(355,86%,49%) !important }
.titlebar-close{ list-style-image: url(chrome://browser/skin/window-controls/close.svg) !important }
.titlebar-min{ list-style-image: url(chrome://browser/skin/window-controls/minimize.svg) !important }
.titlebar-max{ list-style-image: url(chrome://browser/skin/window-controls/maximize.svg) !important }
@lenicyl
lenicyl / Write-Menu.ps1
Last active July 31, 2024 12:07 — forked from hapylestat/text_menu.ps1
Clean powershell based menu with arrow navigation
<#
Fork that hides cursor in the menu
Links :
Original Menu script : https://mspowershell.blogspot.com/2009/02/cli-menu-in-powershell.html?m=1
Fork : https://gist.github.com/hapylestat/b940d13b7d272fb6105a1146ddcd4e2a
#>
function moveCursor{ param($position)
@lenicyl
lenicyl / darkJade.css
Last active July 31, 2024 12:19
Dark Jade Theme for Whoogle
:root {
/* DARK THEME COLORS */
--whoogle-dark-page-bg: #212121;
--whoogle-dark-element-bg: #111111 ;
--whoogle-dark-logo: #007261 ;
--whoogle-dark-text: #c6d3d1;
--whoogle-dark-contrast-text: #90AFA3;
--whoogle-dark-secondary-text: #f9fafb;
--whoogle-dark-result-bg: #111111;
--whoogle-dark-result-title: #699C88;
@zengxinhui
zengxinhui / convert2arch_arm.sh
Last active March 1, 2025 19:48
Replace Oracle Cloud Linux with Arch Linux ARM remotely
[02/25/2025]
Refs:
1. http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
2. https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/aarch64/alpine-virt-3.21.3-aarch64.iso
3. https://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely
4. https://wiki.archlinux.org/index.php/installation_guide#Configure_the_system
5. https://archlinuxarm.org/platforms/armv8/generic
See also:
@dend
dend / toast.ps1
Last active March 4, 2025 16:09
Toast Notification in PowerShell
function Show-Notification {
[cmdletbinding()]
Param (
[string]
$ToastTitle,
[string]
[parameter(ValueFromPipeline)]
$ToastText
)
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 24, 2025 13:43
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@lukechilds
lukechilds / get_latest_release.sh
Created August 9, 2016 19:43
Shell - Get latest release from GitHub
get_latest_release() {
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
grep '"tag_name":' | # Get tag line
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
}
# Usage
# $ get_latest_release "creationix/nvm"
# v0.31.4