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
@SirOlaf
SirOlaf / bootlegmigakuplayer.js
Last active April 27, 2025 08:00
Bootlegged migaku player
// ==UserScript==
// @name Bootlegged migaku player
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/watch*
// @grant none
// @version 1.16
// @author SirOlaf
// @description 3/1/2025, 10:56:07 PM
// ==/UserScript==
@cfillion
cfillion / ja_JP.UTF-8.md
Last active March 13, 2025 14:50
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
@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 April 22, 2025 18:51
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".