Skip to content

Instantly share code, notes, and snippets.

@raysan5
raysan5 / installer_optimization_adventure.md
Last active February 13, 2026 11:16
10x Optimizations! An installer creation adventure!

10x Optimization! An installer creation adventure

Background: creating an installer tool

Lately I've been working on rInstallFriendly v2.0, my simple and easy-to-use tool to create fancy software installers.

rInstallFriendly, some visual_styles

rInstallFriendly v2.0, some of its multiple visual styles available. Style is fully customizable!

@raysan5
raysan5 / raylib_vs_sdl.md
Last active February 13, 2026 11:17
raylib vs SDL - A libraries comparison

raylib_vs_sdl

In the last years I've been asked multiple times about the comparison between raylib and SDL libraries. Unfortunately, my experience with SDL was quite limited so I couldn't provide a good comparison. In the last two years I've learned about SDL and used it to teach at University so I feel that now I can provide a good comparison between both.

Hope it helps future users to better understand this two libraries internals and functionality.

Table of Content

@dojoteef
dojoteef / softwrap.kak
Last active September 16, 2024 14:42
Enable softwrap in kakoune and fix associated movement issues
# Softwrap long lines (and correct for improper kakoune movement behavior)
add-highlighter global/softwrap wrap -word -indent
define-command goto-center -docstring 'Jump to the center of the view' %{
execute-keys %sh{
echo $kak_window_range $kak_cursor_line | (
read y x h w l
num_lines=$((l-y-(h+1)/2))
if [ $num_lines -lt 0 ]; then
echo "${num_lines##-}j"
elif [ $num_lines -gt 0 ]; then
@aviraccoon
aviraccoon / itch-claim-bundle.user.js
Last active June 30, 2023 05:26
itch.io bundle claimer
// ==UserScript==
// @name itch.io - claim bundle items
// @namespace https://raccoon.land/
// @version 1.3
// @description Claims all items from itch bundles
// @author Avi Duda
// @match https://*.itch.io/*
// @icon https://icons.duckduckgo.com/ip2/itch.io.ico
// @grant GM.setValue
// @grant GM.getValue
@BestPig
BestPig / analogue-pocket-game-patches.md
Last active October 29, 2025 15:08
Patches to convert GameBoy ROM to `.pocket` (Analogue Pocket ROM)

Patches

Those patches are to convert GameBoy ROM to .pocket ROM. This allows you to play games from the SD Card on your Analogue Pocket.
Feature like RTC and Link cable seems to be unsupported by the Analogue Pocket in GB Studio mode.

Legend of Zelda, The - Link's Awakening DX

GitHub: https://github.com/BestPig/LADX-Disassembly-Pocket

Zelda no Densetsu - Yume o Miru Shima DX

@liamcain
liamcain / obsidian-debug-mobile.js
Last active December 22, 2024 22:10
Save console messages to logfile for mobile debugging
declare module "obsidian" {
interface App {
isMobile: boolean;
}
}
// Call this method inside your plugin's `onLoad` function
function monkeyPatchConsole(plugin: Plugin) {
if (!plugin.app.isMobile) {
return;
@dogboydog
dogboydog / convert.py
Last active April 6, 2024 08:04
Convert Nimbus Notes HTML to Markdown for Joplin
# -------------------------------------------------------------------------
# Nimbus note HTML export to markdown converter
# Extract all zip files containing 'note.html' and convert to markdown
#
# Setup:
# 1) install python 3 for your OS
# 2) install pandoc https://github.com/jgm/pandoc/releases/tag/2.11.4
# on Windows, the .msi will automatically add pandoc to your $PATH
# otherwise add it to your $PATH.
# 3) save this script in the directory where your HTML exports were
@UltraInstinct05
UltraInstinct05 / Context.sublime-menu
Last active January 16, 2021 07:49
A ST plugin that colorizes selected code blocks.
[
{
"caption": "Code Block Colorer",
"children": [
{ "caption": "Redish", "command": "code_block_colorer", "args": { "color": "region.redish" }, },
{ "caption": "Pinkish", "command": "code_block_colorer", "args": { "color": "region.pinkish" }, },
{ "caption": "Orangish", "command": "code_block_colorer", "args": { "color": "region.orangish" }, },
{ "caption": "Yellowish", "command": "code_block_colorer", "args": { "color": "region.yellowish" }, },
{ "caption": "Greenish", "command": "code_block_colorer", "args": { "color": "region.greenish" }, },
{ "caption": "Cyanish", "command": "code_block_colorer", "args": { "color": "region.cyanish" }, },
---
title: "Obsidian Sentiment Analysis"
author: "Bryan Jenks"
date: "2020-10-10"
output: html_document
---
```{r}
require(here)
require(jsonlite)
@lats
lats / claim_all_the_things.js
Last active February 6, 2026 22:39
Tampermonkey script to claim all of the items within a Bundle on Itch.io
// ==UserScript==
// @name Activate all Itch.io Bundle downloads
// @version 1
// @include https://itch.io/bundle/download/*
// @include https://*.itch.io/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @grant none
// ==/UserScript==
$(document).ready(function() {