Skip to content

Instantly share code, notes, and snippets.

View Decicus's full-sized avatar
💻

Alex Thomassen Decicus

💻
View GitHub Profile

Mounting INFRA content on a Garry's Mod server

  1. Log in using SteamCMD with your credentials (you need to own INFRA on your account)
    • Start steamcmd via command line.
    • Type: login YOUR_USERNAME_HERE
    • Type in password and 2FA code.
  2. Set install directory using force_install_dir
    • Example on Linux: force_install_dir /home/alex/my_gmod_server/infrafiles
    • Example on Windows: force_install_dir C:/my_gmod_server/infrafiles
  3. Make sure to set the correct platform type for SteamCMD: @sSteamCmdForcePlatformType windows
@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 / SteamCurrencyCodes.json
Created June 10, 2016 19:18
List of Steam currency codes with their corresponding names - Parsed from https://steamdb.info/
{
"ae": "UAE Dirham",
"az": "CIS - U.S. Dollar",
"br": "Brazilian Real",
"ca": "Canadian Dollar",
"ch": "Swiss Franc",
"cl": "Chilean Peso",
"cn": "Chinese Yuan",
"co": "Colombian Peso",
"eu": "Euro",
@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 / 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 / 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 / emotes.md
Last active June 7, 2021 12:00
Twitch - How many subscribers required for each amount of emote slots

Subscriber Emoticon Tiers

Custom Subscriber emoticons are part of the Subscription benefits under the Twitch Partnership program. You can find out more about requirements for Twitch Partnership eligibility here. If you are already a Partner, here is a guide on emoticon tiers and the number of Subscriber points required to unlock them:

Emote Slots Subscriber points
1 0
2 0
3 10
4 20
5 35
@Decicus
Decicus / PHPTimezones.txt
Created September 19, 2017 05:47
List as specified by DateTimeZone::listIdentifiers().
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
Africa/Blantyre
@Decicus
Decicus / software.md
Last active April 14, 2022 13:27
List of software I often install on new setups

List of software

This is a list of "usually installed" software that I always (or almost always) have installed on any personal computer I use.

It's generally meant to be an overview for myself, but maybe someone else will find some use for this. Please do not take this as a "must-have" list. I just like to have some place to keep track of this.

This is primarily a Windows-only list. While the majority of these programs have a Linux version, it's intended for Windows installations.

Icons

Some software have been 'marked' with an emoji to signify something.

@Decicus
Decicus / NightbotSubscriptions.md
Last active June 8, 2022 22:59
Nightbot subscriptions - List of known channels that Nightbot has a subscription to on Twitch

Nightbot subscriptions (Twitch)

This is a list of users Nightbot should be subscribed to on Twitch. Keep in mind this list is (probably) incomplete, but can also become invalid at any time.

Adding a new channel subscription:

Keep in mind if you wish to have a specific channel subscribed to Nightbot, the channel owner has to email Twitch support to request this. This is currently only possible for Twitch partners and not affiliates.

  • For Twitch partners - Read this article for more information.

Suggestions