Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Amazon Gog Redeemer
// @namespace FaustVXAmazonGog
// @version 1.0
// @description Provide a link to Gog.com from Amazon Prime Games
// @author FaustVX
// @match https://gaming.amazon.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=gaming.amazon.com
// @grant none
// @contributionURL https://www.paypal.com/donate/?cmd=_donations&business=oria.jonathan@gmail.com&item_name=TamperMonkey+Amazon+Gog+Redeemer
@FaustVX
FaustVX / bonus_chest.json
Created December 27, 2023 22:06
Give bonus chest to all players
// http://far.ddns.me/?share=cBEojhue44
# advancement bonus_chest:root
{
"criteria": {
"requirement": {
"trigger": "minecraft:tick"
}
},
"rewards": {
@FaustVX
FaustVX / Blueprint.bp
Last active October 7, 2023 17:20
2 Train Smart Stops Combinator [item=fcpu]
0eNrdmF9vpDYQwL8K8j2kVSHC5v9K15d+hMvbJVoB6yXugeGMyTWN9rt3BtjNhnUKi6K2qrRawPbM/MYexmNeSFZ2vFFCarJ5Ia1MG0fXTqHEDp//IBuf2eQZLwebpFlbl53mDo5rhCzIRquO20TktWzJ5itoEIVMS5TVzw0nGyI0r4hNZFrhk0pFSUCTkDsOyunBnhXZ5013JsIODzbhUgst+GCyf3jeyq7KuAKdJ8mK70RXObzkuVYid5q65KC3qVsQruXoIKO3Qe9idBuAGfBEwnjRO/RCKP4VinN5bgtnx0P2s+d48syA9AAKJRfFY1Z3Cmnjh7NRR2J2Im4156WTP/JWG0C9jwENBq4sBdO+a+DxFvKwdTx0OlFzPP5CnmAdTzDhieZ4goU8/joeNuHx53jChTzROp7oItBneKKFPOE6Hn/CE87xxNdmhPhjAjucPCeGhEDtxJQSkiuRvZWxP01a1DUlLZu6JkjqXknpr8wYyZQScnwuVN4JbZz4ab8pEyc2ZUan6Nud59KJsHcBZo7shBr4+xwF7mhVl9uMP6ZPolY4PlVCP1Zci3wL3TtxcnYvVKu3F1vfk1C6g5bXN6gf4SCKozqJG2HLURXqa3WK+zYsQ91wlQ4k5BdyeGdyFd9dxGy/n5rDGWPBJmylJIjqtBicxYlEJ4FuA9BK38tPQgq45KWyFC/uZVU/WYpaX3Hz/5zXDTjkNGWq+cO97Ipmj53wuwHx/BtM3J/85tjBjlKpKmrnR1rU8sG6KTgsvnwCrFo99wI/7fheSN7enppvUW5bpUL+DNqqruytMKDTkLIssbc0VCyytYS0Wl037b2EhestjivlDAv0eVynO6DNJMcRrrVJy7L+sc1q/YhyxSq5T+AH2s6/tdZ3/XxSpOjI4vW3uuDHVstq2yd8ODZ7580eNuP07y00AOZqZVHb6m1ag82Mf++VeW9RssEGPbaWfK/HVu+1VcFLBs2/V411XOt7+UYPLnXdaWrR6WxUteLjfeugeueZo+D
@FaustVX
FaustVX / No enemy. Richer ores
Created September 16, 2023 16:28
Factorio map setting
>>>eNpjZGBkCGcAgwZ7EOZgSc5PzAFyHWCYKzm/oCC1SDe/KBVZm
DO5qDQlVTc/E1Vxal5qbqVuUmJxKsREiMkcmUX5eegmsBaX5Oehi
pQUpaYWw5wCwtylRYl5maW56HoZGOeeYIpvaJFjAOH/9QwK//+DM
JD1ACgPwgyMDWBTGIFiMMCanJOZlsbAoOAIxE5gRQyM1SLr3B9WT
bFnhKjRc4AyPkBFDiTBRDxhDD8HnFIqMIYJkjnGYPAZiQGxtARoB
VQVhwOCAZFsAUkyMva+3brg+7ELdox/Vn685JuUYM9o6Cry7oPRO
jugJDvIC0xwYtZMENgJ8woDzMwH9lCpm/aMZ8+AwBt7RlaQDhEQ4
WABJA54MzMwCvABWQt6gISCDAPMaXYwY0QcGNPA4BvMJ49hjMv26
P4ABoQNyHA5EHECRIAthLuMEcJ06HdgdJCHyUoilAD1GzEguyEF4
cOTMGsPI9mP5hDMiED2B5qIigOWaOACWZgCJ14ww10DDM8L7DCew
@FaustVX
FaustVX / FaustVXUrlRedirect.js
Last active May 17, 2024 20:51
URL Redirect Redirecter
// ==UserScript==
// @name URL Redirect Redirecter
// @namespace FaustVXUrlRedirect
// @version 0.4.5
// @description Redirect the Redirected Url
// @author FaustVX
// @match http*://www.curseforge.com/*
// @match http*://legacy.curseforge.com/*
// @match http*://*.youtube.com/*
// @match http*://twitter.com/*
@FaustVX
FaustVX / CurseForgeDDL.js
Last active April 20, 2024 21:14
CurseForge Direct Download
// ==UserScript==
// @name CurseForge Direct Download
// @namespace FaustVXCurseForge
// @version 1.2.2
// @description Provide a direct download link for files in CurseForge
// @author FaustVX
// @match https://legacy.curseforge.com/*
// @match https://www.curseforge.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=curseforge.com
// @grant none
@FaustVX
FaustVX / ReadOnlyWindow.cs
Created March 8, 2023 20:36
Movable Window on Span
#nullable enable
public ref struct ReadOnlyWindow<T>
{
private readonly ReadOnlySpan<T> _data;
private int _position;
private readonly int Length { get; }
public ReadOnlySpan<T> View => _data.Slice(_position, Length);
public Window(ReadOnlySpan<T> data, int length)
// https://www.reddit.com/r/csharp/comments/11dvyw6/comment/jabuqh5/
using System;
using System.Text;
Console.WriteLine(ToRoman(3999));
static string ToRoman(int i)
{
return i >= 0 ? Impl(i, new()).ToString() : throw new ArgumentOutOfRangeException(nameof(i), i, "Should be greater than or equals to 0");
@FaustVX
FaustVX / Bloqué_seed_finder.txt
Created January 6, 2023 19:58
Seed finder for Bloqué
#Version: 2.2.2
#Time: ven. janv. 6 20:56:59 2023
#MC: 1.19
#Large: 0
#Search: 1
#Progress: 18369338455114121216
#Threads: 20
#ResStop: 1
#Mode48: 0
#HutQual: 0
@FaustVX
FaustVX / configs.code-workspace
Last active July 21, 2022 17:52
MC Save workspace
{
"folders": [
{
"path": ".\\serverconfig"
},
{
"path": "..\\..\\config"
},
{
"path": "..\\..\\defaultconfigs"