Skip to content

Instantly share code, notes, and snippets.

@beala
beala / extract.md
Last active December 20, 2025 17:38
Worldometers Country Data Extractor

What is this

This bookmarklet extracts data from worlometers country pages into a downloadable csv file.

Installation

To install it:

  1. If your bookmarks bar is hidden, display it: Ctrl + Shift + b.
  2. Copy the following code into your clipboard. You'll need it in a sec.

The Complete Guide to Skydimo Lua Scripting

Welcome to the world of Skydimo scripting!
This guide will help you learn how to create your own RGB lighting effects using Lua scripts from scratch, whether you are a beginner or an advanced user.


📚 Table of Contents

  1. Feature Overview
@12345ieee
12345ieee / GC2_formulae.txt
Last active December 20, 2025 17:31
GC2 formulae
Gem combination:
Grade difference = 0:
gem.damageMin 0.83 0.71 1.2 * rand()
gem.damageMax 0.87 0.71 2.4 * rand()
gem.range 0.694 0.388
gem.reloadingSpeed 0.74 0.44
gem.bloodBoundRatioPerHitStep 0.78 0.31
gem.slowPower 0.81 0.35
gem.poisonDamage 0.96 0.85
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 20, 2025 17:27
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@JBlond
JBlond / bash-colors.md
Last active December 20, 2025 17:25 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
# This is minimal demonstration on how to obtain text metadata and album art from Sendspin and display it using LVGL on an ESP32-S3 Box 3.
# The track title is displayed below the cover art will scroll if too long for the screen.
# Touching the screen pops up controls for 5 seconds where you can pause/resume and go to the previous/next track
# Swiping left or right will go to a different page. It should show a picture of the artist (but there are some bugs on the MA side, so this doesn't work consistently)
# Uses the current Sendspin PR: https://github.com/esphome/esphome/pull/12284
substitutions:
name: esp32-s3-box-3
friendly_name: ESP32 S3 Box 3 Sendspin
font_glyphsets: "GF_Latin_Core"
@emilyhunt
emilyhunt / choosing_histogram_bins.ipynb
Created December 19, 2025 09:13
Making histograms is a common way to estimate the true density distribution of a sample. But how can we choose the number of histogram bins? And if we get fancy and use kernel density estimation (KDE), how do we choose a KDE bandwidth?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WitherOrNot
WitherOrNot / htpec.md
Last active December 20, 2025 17:21
asdasd

Notes

These are very disorganized because I wrote these as I reversed various bits and pieces. If I'm wrong about something, please let me know so I can forget to update this.

Logging

For me this was the Achilles' heel, Crackproof creates a debug log if a certain folder in %temp% is present. The folder name is 12 hex characters long, and different between executables. The easiest way to find it is to break on/hook CreateFileW.

Once you create it, any Crackproofed modules will spit out logs as they unpack. Lines contain status codes, indicating roughly what the unpacker is doing at a given time (see below). Lines with additional debug information are also included, sometimes they can be very handy.

@samuelsh
samuelsh / dir_walker_threads.py
Last active December 20, 2025 17:20
parallel directory walker using python's threads (multiprocessing dummy)
import argparse
import multiprocessing
from multiprocessing.dummy import Pool, Queue
from multiprocessing import Manager
import os
class TreeCrawler(object):
def __init__(self, base_path, callback=None):