Skip to content

Instantly share code, notes, and snippets.

View bee-san's full-sized avatar
🌻
Tending to my plants

Autumn (Bee) bee-san

🌻
Tending to my plants
View GitHub Profile
@SchmidtDavid
SchmidtDavid / betterMokuro.js
Created September 1, 2025 15:59
Fixes: Preloads images right away (especially nice on mokuro.moe - the images start loading basically instantly on my computer/web connection) Combine nearby text boxes so that mokuro stops splitting sentences&words in the middle (enables better parsing, copy paste, etc) Consistent font & font size for the japanese text, higher contrast. Vertica…
// ==UserScript==
// @name Better Mokuro
// @version 1.0
// @description Enhances Mokuro-generated manga HTML files by preloading images, merging nearby text boxes, applying consistent Japanese font and higher contrast, and enabling vertical scrolling. Disable Migaku before running.
// @author David Schmidt
// @match *://*.mokuro.moe/*
// @note Also works on local Mokuro HTML files (file://) when run in the console
// @run-at document-end
// @license CC0-1.0
// @namespace https://gist.github.com/
@SirOlaf
SirOlaf / bootlegmigakuplayer.js
Last active June 12, 2025 13:16
Bootlegged migaku player
// ==UserScript==
// @name Bootlegged migaku player
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/watch*
// @grant none
// @version 1.17
// @author SirOlaf
// @description 3/1/2025, 10:56:07 PM
// ==/UserScript==
@matibzurovski
matibzurovski / example.srt
Created November 3, 2023 13:48
Example srt file
1
00:00:00,000 --> 00:00:02,500
Welcome to the Example Subtitle File!
2
00:00:03,000 --> 00:00:06,000
This is a demonstration of SRT subtitles.
3
00:00:07,000 --> 00:00:10,500
@cfillion
cfillion / ja_JP.UTF-8.md
Last active August 17, 2025 08:46
Solution for locale and character encoding issues in Japanese games on Steam Deck

Problem 1

Cannot access filenames containing non-ASCII characters.

Steam Deck's SteamOS 3 provides only one locale named en_US.utf8 (as configured in /etc/locale.gen) but /etc/locale.conf sets LANG to en_US.UTF-8. They don't match, so the effective locale for programs is C and the character set becomes limited to ASCII.

Set the game's launch options in Steam to LANG=en_US.utf8 %command% to solve this.

To fix this for all applications running in desktop mode (eg. to correctly extract games), create a file named ~/.config/plasma-workspace/env/utf8.sh containing (restart desktop mode to apply):

@HugoDF
HugoDF / ABOUT.md
Last active July 6, 2020 01:59
Simple Analytics -> Telegram with Netlify Functions and quickchart.io - used on codewithhugo.com

Getting started

JS dependencies

There's a package.json + lockfile missing, you probably want to use netlify-lambda (npm i --save netlify-lambda) to bundle your code.

Dependencies you need for the code to work:

  • axios - v0.18.x npm i --save axios
  • date-fns - v1.30.x `npm i --save date-fns
@ian4uh
ian4uh / GoogleFontHawaiian.md
Last active June 5, 2025 07:47
Google fonts that support Hawaiian Characters

Google Fonts with Proper Hawaiian Diacritics

All fonts need to be able to display these Characters

Ā ā Ī ī Ū ū Ē ē Ō ō ʻ

The Last Character, the ʻOkina, needs to be:

  • more than a just slash/Apostorphe
  • More emphasis on the 6 shape preffered
@ForgottenUmbrella
ForgottenUmbrella / publish_python.md
Last active February 17, 2025 23:05
How to publish Python apps for human beings

How to publish Python apps for human beings

So, you've created a Python app (be it a graphical user interface with Qt or the like, or a simple command line interface). Great! But how are others going to use it? Python applications often have dependencies (e.g. from third-party modules), and they also need a Python interpreter to run them. For a developer, installing all the necessary bits and bobs to make things work is okay, but that's unacceptable for a normal user - they just want to download the thing and run it.

Below are simple instructions to publish your app on the three main operating systems: Windows, macOS and Linux.

@0xDE57
0xDE57 / config.md
Last active September 4, 2025 22:04
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable. I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".