Skip to content

Instantly share code, notes, and snippets.

View cheesits456's full-sized avatar
❤️
Black Lives Matter

Quin F. cheesits456

❤️
Black Lives Matter
View GitHub Profile
@cheesits456
cheesits456 / eclipse-java-style.xml
Last active May 3, 2021 13:33
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 August 22, 2023 08:48
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 / DiscordBrowserStyles.css
Last active February 9, 2024 05:18
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 / Win10-Activator.bat
Last active November 21, 2020 12:08
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 September 3, 2020 17:32
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 / RemoveButtons.theme.css
Last active December 23, 2024 22:23
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 May 28, 2023 16:47
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;
}
@cheesits456
cheesits456 / uneval.js
Last active January 12, 2020 12:36 — 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 (.+)\]/);