Skip to content

Instantly share code, notes, and snippets.

View Decicus's full-sized avatar
💻

Alex Thomassen Decicus

💻
View GitHub Profile
version: '3'
services:
vpn:
container_name: wireguard
image: jordanpotter/wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
// ==UserScript==
// @name LowEndSpirit.com - "Mark All Viewed" Confirmation
// @namespace github.com/Decicus
// @match https://lowendspirit.com/*
// @grant none
// @version 1.0.1
// @author Decicus
// @description Confirm whether you wanna mark all LES discussions as viewed.
// ==/UserScript==
@Decicus
Decicus / Subpoints_ProgressBar.html
Last active December 9, 2019 11:11
Very basic progress bar / goal example with Twitch subpoints - Licensed under MIT License
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/cosmo/bootstrap.min.css" rel="stylesheet" integrity="sha384-qdQEsAI45WFCO5QwXBelBe1rR9Nwiss4rGEqiszC+9olH1ScrLrMQr1KmDR964uZ" crossorigin="anonymous">
<style type="text/css">
body {
margin-top: 40px;
}
@Decicus
Decicus / HowToIsh.md
Last active December 4, 2019 17:24
Plays.tv - Download JSON data & cURL Script for Uploads

PlaysTV - Export metadata JSON and cURL script

This script (unfortunately) requires you to have cURL installed (somehow) and then also being able to use it via the terminal.

Once you've downloaded the script ("Download cURL Script"), I recommend moving the script into an empty directory as all the files will be downloaded in the same directory (generally speaking)

How to install script

@Decicus
Decicus / _meta.md
Last active October 5, 2019 20:41
Grand Theft Auto: San Andreas - skip that saves OVER 3 HOURS in Any%
@Decicus
Decicus / PostenSporing.user.js
Last active August 1, 2024 07:43
A script for inserting a not-so-pretty QR code into Posten tracking page
// ==UserScript==
// @name Posten/Bring Sporing - QR Kode
// @namespace github.com/Decicus
// @version 1.6.0
// @match https://sporing.posten.no/sporing/*
// @match https://sporing.bring.no/sporing/*
// @grant none
// @downloadURL https://github.com/Decicus/userstuff/raw/master/scripts/posten-sporing-qr.user.js
// @updateURL https://github.com/Decicus/userstuff/raw/master/scripts/posten-sporing-qr.user.js
// ==/UserScript==
@Decicus
Decicus / Install.md
Last active July 1, 2019 15:24
Hides the "Subscribe to our newsletter" div that makes the "My drafts" page look wonky on LET.

How to install

  1. Install a userstyles extension for your browser, such as Stylus
  2. Click this link (alternatively click the Raw button top-right of the .css file below) and Stylus should prompt you to install the userstyle.
@Decicus
Decicus / README.md
Last active November 8, 2024 01:47
A userscript for displaying the actual date & time (relative to local time) of when a Twitch clip was created.

Twitch clip datetime userscript

A userscript for displaying the actual date & time (relative to local time) of when a Twitch clip (and video) was created.

FYI: It only works on URLs that start with https://clips.twitch.tv/.
This script does not work with URLs that are on the Twitch "channel pages" (https://www.twitch.tv/CHANNEL_NAME_HERE/clip/...).
This has been added as of v0.5.0.

"Under the hood" the script uses Date.toLocaleString() to format the date. The format of the date & time may differ from the screenshots below.

@Decicus
Decicus / convars.json
Last active January 4, 2019 15:44
TTT Server Convars (ttt.badking.net)
{
"ttt_preptime_seconds": {
"default": "30",
"description": "The length of the preparation phase that occurs after players spawn in and\nbefore traitors are selected and a new round begins. Specified in seconds."
},
"ttt_firstpreptime": {
"default": "60",
"description": "The length of the preparation phase for only the first round after a map loads. It is useful to make this higher than ttt_preptime_seconds so that players do not have to sit out a round just because they loaded slightly too slowly."
},
"ttt_posttime_seconds": {