Skip to content

Instantly share code, notes, and snippets.

What?

I recently wanted to convert a bunch of .jsx i18n files to json to compare the total bundle size of the GP2040-CE firmware. This is my hacky attempt.

export default {
    "header-text": "GP2040-CE",
};
@SavageCore
SavageCore / 1-readme.md
Last active April 25, 2024 01:42 — forked from cdleveille/Install⁄Update Xone
Install or update xone driver for Steam Deck (desktop shortcut and bash script)

Enjoying this script? Consider buying me a beer/coffee!

ko-fi

First time setting up your Deck? You may enjoy my setup guide. It'll get you started on Emulation.

Improvements

Main changes at initial release versus cdleveille's original script:

  • Added zenity for a basic "GUI"
@SavageCore
SavageCore / freeagent.user.css
Created September 7, 2022 16:51
Make the freeagent.com header sticky
.fe-l-app-header {
position: sticky;
}
header {
top: 0px;
left: 0px;
z-index: 999;
}

Running a full bitcoin node on FreeNAS

Follow these steps to run a full Bitcoin node on your FreeNAS box!

Steps

Create a jail with static ip

Forward port 8333 to your jails static ip

// ==UserScript==
// @name The Redeemer
// @namespace raina
// @description Pops up the Steam product activation dialog when copying keys from bundle/reseller sites. Supports various bundle organizers and legitimate key resellers. Obviously requires that Steam is installed but also that it's allowed as the handler of steam:// protocol messages.
// @include /^http:\/\/www\.dlh\.net\/en\/steam-keys\.html/
// @include /^https:\/\/(www\.)?chrono\.gg/
// @include /^https:\/\/groupees\.com\/(profile\/)?purchases/
// @include /^https:\/\/secure\.nuuvem\.com\/account\/library/
// @include /^https:\/\/www\.humblebundle\.com\/(downloads\?|home\/(keys|library))/
// @include /^https?:\/\/(www\.)?dailyindiegame\.com\/account_page\.html/

Follow these steps to generate a valid certificate with LetsEncrypt and install into the Madsonic keystore.

Note

Be sure to forward port 443 to your jail for LE authentication.

Replace example.com with your domain or subdomain.

Based on Madsonic installation in jacobblock's guide

// ==UserScript==
// @name RED Sticky Settings Button
// @namespace https://savagecore.eu
// @version 0.2.1
// @description Submit button on settings page follow as you scroll
// @author SavageCore
// @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js
// @include http*://redacted.ch/user.php?action=edit&userid=*
// @include http*://apollo.rip/user.php?action=edit&userid=*
// @include http*://notwhat.cd/user.php?action=edit&userid=*

Keybase proof

I hereby claim:

  • I am savagecore on github.
  • I am savagecore (https://keybase.io/savagecore) on keybase.
  • I have a public key ASA7GoBWhQ0zbaPBaARnrOgAXhpiULRAEMWT8QipgPxJBQo

To claim this, I am signing this object:

// ==UserScript==
// @name RED Album Chronology
// @namespace redacted.ch
// @description Provides links to the next/previous albums in an artist's timeline
// @version 0.1.1
// @include http*://*redacted.ch/torrents.php*id=*
// @include http*://*redacted.ch/artist.php*
// @grant GM_addStyle
// @grant GM_registerMenuCommand
// ==/UserScript==