Skip to content

Instantly share code, notes, and snippets.

View heathdutton's full-sized avatar
🕴️
Headlines are unsanitized input. Attention is prod.

Heath Dutton🕴️ heathdutton

🕴️
Headlines are unsanitized input. Attention is prod.
View GitHub Profile
@heathdutton
heathdutton / fake_star_findings.md
Last active February 8, 2026 16:52
Fake GitHub Stars Analysis: January 2025 - Projects with suspected artificial star inflation

Fake GitHub Stars: January 2025 Analysis

This analysis uses StarScout, an open-source tool from ICSE '26 research paper "Six Million (Suspected) Fake Stars on GitHub."

Detection Methodology

Two complementary heuristics identify suspected fake stars:

Heuristic What It Catches Signal Strength
@heathdutton
heathdutton / fake_stars_clustered_repos.csv
Created February 8, 2026 16:45
StarScout: Suspected fake GitHub stars detected via clustered/lockstep heuristic (Jan 2025)
repo_name n_stars_clustered
deepseek-ai/awesome-deepseek-integration 135943
deepseek-ai/DeepSeek-R1 133250
deepseek-ai/FlashMLA 124622
open-webui/open-webui 124526
deepseek-ai/DeepSeek-V3 122837
huggingface/open-r1 121231
browser-use/browser-use 119278
deepseek-ai/Janus 117829
ollama/ollama 117344
@heathdutton
heathdutton / fake_stars_low_activity_repos.csv
Created February 8, 2026 16:45
StarScout: Suspected fake GitHub stars detected via low-activity heuristic (Jan 2025)
repo_id repo_name n_stars n_stars_latest n_stars_low_activity p_stars_low_activity
aitsereal63vabum/sol-copy-trade-bot 69 69 1.0
AidaxoJun/DawnBot 52 52 1.0
Roblox-Hack-2025/Synapse-X-Roblox 88 88 1.0
KeiqiaubDa858/Flash-USDT-Sender 77 77 1.0
pushvampir/sol-volume-bot 77 77 1.0
worthwhilewea/kubestatus-operator 102 102 1.0
glas50tomcat/s0lara-ex3cut0r 69 69 1.0
suninadlibapiba/hwid-spoofer-guide 58 58 1.0
tmwarniatbio/hack-crypto-wallet 56 56 1.0
@heathdutton
heathdutton / innodb-table-size-list.sql
Created February 11, 2025 05:31
List the size of all tables on disk in MySQL/InnoDB/AuroraDB for the sake of finding resource hogs.
-- List the disk size of all tables and partitions in MySQL/InnoDB.
SELECT
isp.Schema,
isp.Table,
isp.Partition,
ROUND(isit.size / 1e+6) AS 'MB',
ROUND(isit.size / 1e+9) AS 'GB',
ROUND(isit.size / 1.1e+12, 2) AS 'TiB',
isit.File
FROM (
@heathdutton
heathdutton / ua.md
Last active November 10, 2023 02:40 — forked from troyp/ua.md
D&D 5e Unearthed Arcana Index

D&D 5e Unearthed Arcana Index

Because finding anything in this page is harder than it should be

Date Article Contents
2015-02-02 Unearthed Arcana: Eberron [PDF] Changelings, shifters, warforged, Wizard (Artificer), rules for action points, dragonmarks
@heathdutton
heathdutton / file_per_table.sql
Last active October 25, 2023 15:42
Show all tables and their corresponding innodb_table_per_file files (if present)
-- Show all tables and their corresponding innodb_table_per_file files (if present)
SELECT *
FROM (
SELECT
TABLE_SCHEMA as 'Schema',
TABLE_NAME as 'Table',
ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024) as 'Info MB',
ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024, 6) as 'Info GB',
(DATA_LENGTH + INDEX_LENGTH) / 1099511627776 as 'Info TiB'
FROM INFORMATION_SCHEMA.TABLES
@heathdutton
heathdutton / mysql_health_check.sql
Last active May 31, 2023 17:06
Give a MySQL (or aurora) database a simple health check, to find issues and quick wins
-- Give a quick MySQL/AuroraDB database a simple health check.
-- See comments below to customize to your needs.
-- (this is all one query)
-- Step 1: Find very large tables
SELECT 'Table is very large' AS `Issue`,
NULL AS `User`,
NULL AS `Host`,
TABLE_SCHEMA AS 'DB',
TABLE_NAME AS `Table`,
@heathdutton
heathdutton / assasin.sql
Last active June 29, 2023 17:31
Assassinates matching queries.
DELIMITER ;;
DROP PROCEDURE IF EXISTS `assasinate`;;
CREATE PROCEDURE `assasinate`(queryportion VARCHAR(255))
BEGIN
DECLARE sql_string MEDIUMTEXT;
DECLARE count MEDIUMINT;
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
SET FOREIGN_KEY_CHECKS = 0;
SET @count = 0;
SET @sql_string := 'tmp';
@heathdutton
heathdutton / this-is-fine.gif
Created February 3, 2022 19:35 — forked from mihaicodes/this-is-fine.gif
This is fine gif.
this-is-fine.gif