Skip to content

Instantly share code, notes, and snippets.

View cwillsey06's full-sized avatar
🪫

Coltrane Willsey cwillsey06

🪫
  • Albuquerque, New Mexico
  • 19:08 (UTC -07:00)
View GitHub Profile
@grilme99
grilme99 / ElevatedPluginDemoter.lua
Last active September 8, 2023 15:20
Roblox elevated/internal plugin demoter
--[[
ELEVATED PLUGIN DEMOTER
"One-click" script to demote elevated (usually internal) plugins by removing or
replacing their elevated API calls.
NOTE:
I've only tested this on the "Developer" Storybook plugin (the irony). It will probably
need some modification for other internal plugins, like the Roact Inspector.
STEPS TO USE:
-- Consider using Thread instead!
-- https://gist.github.com/CloneTrooper1019/538f0ab2541ef98912a2694dd8d274e7
local RunService = game:GetService("RunService")
local threads = {}
RunService.Stepped:Connect(function ()
local now = tick()
local resumePool
@sundowndev
sundowndev / GoogleDorking.md
Last active December 16, 2025 01:16
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@evaera
evaera / Clean Code.md
Last active November 27, 2025 13:59
Best Practices for Clean Code
  1. Use descriptive and obvious names.
    • Don't use abbreviations, use full English words. player is better than plr.
    • Name things as directly as possible. wasCalled is better than hasBeenCalled. notify is better than doNotification.
    • Name booleans as if they are yes or no questions. isFirstRun is better than firstRun.
    • Name functions using verb forms: increment is better than plusOne. unzip is better than filesFromZip.
    • Name event handlers to express when they run. onClick is better than click.
    • Put statements and expressions in positive form.
      • isFlying instead of isNotFlying. late intead of notOnTime.
      • Lead with positive conditionals. Avoid if not something then ... else ... end.
  • If we only care about the inverse of a variable, turn it into a positive name. missingValue instead of not hasValue.
## /etc/X11/xorg.conf.d
Section "Monitor"
Identifier "eDP1"
Option "Primary" "true"
Option "PreferredMode" "1920x1080_60.05"
EndSection
Section "Monitor"
Identifier "DP2"
Option "LeftOf" "eDP1"
@lionello
lionello / wol.c
Created September 8, 2013 02:48
Wake-On-LAN
// Portable Wake-On-Lan by Lionello Lunesu, placed in the public domain
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
#ifdef _MSC_VER
#pragma comment(lib, "ws2_32.lib")
#endif
#else
#include <sys/socket.h>