Skip to content

Instantly share code, notes, and snippets.

View cheesits456's full-sized avatar
๐Ÿ’”
RIP Izzy - October 14, 2025

Quin F. cheesits456

๐Ÿ’”
RIP Izzy - October 14, 2025
View GitHub Profile
@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://gist.github.com/Sporif/31f0d8d9efc3315752aa4031f7080d79
# 2. In KSysGuard's menu, open "File > Import Tab From File option"
# 3. Open the sensor file (nvidia.srgd)
@Sporif
Sporif / nvidia.sgrd
Last active July 21, 2023 06:47
ksysguard sensor file for Nvidia. Requires https://gist.github.com/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>
@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 / uneval.js
Last active October 7, 2025 14:41 — forked from cho45/uneval.js
Stringify multiple JS Object Types
function uneval(o) {
switch (typeof o) {
case "undefined": return "(void 0)";
case "boolean": return String(o);
case "number": return String(o);
case "string": return `"${o.replace(/\W/gi, function(_) { return `\\u${(0x10000 + _.charCodeAt(0)).toString(16).slice(1)}` })}"`;
case "function": return `(${o.toString()})`;
case "object":
if (o == null) return "null";
let ret, type = Object.prototype.toString.call(o).match(/\[object (.+)\]/);
@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://gist.github.com/cheesits456/0d5bede837f022e443e9a5fc4aa386cb#file-discordbrowserstyles-css-L20
========== */
/* Disable timestamp when hovering a message */
@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://gist.github.com/cheesits456/41d659f932b5a574b5dfb9b391a4506e
========== */
/* Hide Nitro gift button */
button[aria-label="Send a gift"] {
@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://gist.github.com/cheesits456/0d5bede837f022e443e9a5fc4aa386cb#file-discordbrowserstyles-css-L49
========== */
/* Auto-hide the members list, show on hover */
@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 / TransparentWindow.theme.css
Last active April 13, 2026 00:53
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;
}
@justintv
justintv / .bashrc
Created August 17, 2009 00:53
Display git branch in bash prompt
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer!
export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ "
# This will change your prompt to display not only your working directory but also your current git branch, if you have one. Pretty nifty!
# ~/code/web:beta_directory$ git checkout master
# Switched to branch "master"
# ~/code/web:master$ git checkout beta_directory
# Switched to branch "beta_directory"