Skip to content

Instantly share code, notes, and snippets.

@SavageCore
SavageCore / 1-readme.md
Last active May 4, 2024 21:44 — 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"

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 / 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;
}
// ==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

#!/usr/bin/python
# -*- coding: utf-8 -*-
import sublime_plugin
import subprocess
from time import sleep
import sys
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
log = lambda message: sys.stderr.write("Log: %s\n" % message)

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

@SavageCore
SavageCore / reclaimWindows10.ps1
Last active March 18, 2018 18:25 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Forked from http://pastebin.com/gQxCUkLP
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE
# This script will reboot your machine when completed.
##########
# Ask for elevated permissions if required
// ==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=*
// ==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==