Skip to content

Instantly share code, notes, and snippets.

View Rudokhvist's full-sized avatar
🐱
I love cats

Rudokhvist

🐱
I love cats
View GitHub Profile
@Rudokhvist
Rudokhvist / github-pandoc.css
Created April 25, 2022 20:56 — forked from dashed/github-pandoc.css
GitHub-like CSS for pandoc standalone HTML files (perfect for HTML5 output). Based on Marked.app's GitHub CSS. Added normalize.css (v2.1.3) in the prior to GitHub css.
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
@Rudokhvist
Rudokhvist / fail2ban-allstatus.sh
Created March 1, 2021 21:20 — forked from kamermans/fail2ban-allstatus.sh
Show status of all fail2ban jails at once
#!/bin/bash
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
for JAIL in $JAILS
do
fail2ban-client status $JAIL
done
@Rudokhvist
Rudokhvist / README.MD
Created October 12, 2020 08:48 — forked from Ne3tCode/README.MD
Community Pillar

Community tasks

  • View a broadcast
  • Add a game to your wishlist (Ricochet)
  • Rate an item on the Workshop (random TF2 map upvote)
  • Subscribe to an item in the Steam Workshop (subscribe + unsubscribe)
  • Set an avatar on your Community profile (not changed)
  • Set your real name on your Community profile (same as profile name)
  • Set a profile background (not changed)
  • Join a group (Steam Trading Cards Group)
@Rudokhvist
Rudokhvist / sg-addons-thread.md
Created September 29, 2020 05:51 — forked from Sighery/sg-addons-thread.md
SG Add-Ons Registry - List of all scripts for SG [Update: 30 Aug]

So you want your Steamgifts more beautiful, or miss functionality to browse through and enter giveaways faster? The Steamgifts Add-Ons Registry below lists all the currently available add-ons that hopefully make using Steamgifts a better experience.

Please let me know in the comments what other scripts, styles, plugins, extensions or apps you folks are using on Steamgifts! I will add all suggestions to the app registry here. If you have any ideas or suggestions for a script or related, you should check this thread!

Note that some of the add-ons may not be compatible with each other, check the specific add-on thread for details!

#New

@Rudokhvist
Rudokhvist / UnitedGamersHelper.user.js
Last active October 5, 2020 19:24
A little (and dirty) script to help with $-apocalypse in Unitedgamers steam group.
// ==UserScript==
// @name UnitedGamers helper
// @namespace https://greasyfork.org/users/2205
// @version 0.4
// @description Replaces $ with link to steamgifts
// @author Ryzhehvost
// @license Apache-2.0
// @match https://steamcommunity.com/groups/TwarArenaGiveaways/discussions/*
// @match https://steamcommunity.com/groups/UG-GA/discussions/*
// @grant none
@Rudokhvist
Rudokhvist / SteamDBRedirBeta.user.js
Last active February 20, 2019 12:25
Beta version of "Redirect Removed Steam ID to steamdb" of dynamic pages
// ==UserScript==
// @name Redirect Removed Steam ID to steamdb
// @namespace https://greasyfork.org/en/users/2205-ryzhehvost
// @description Redirects links to removed AppID's on steampowered.com to steamdb.info
// @description:en Redirects links to removed AppID's on steampowered.com to steamdb.info
// @locale en-US
// @include *
// @version 1.3
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Anti-Zalgo (Complex) NRGsoft
// @namespace https://github.com/Goodlookinguy/pwvnrg/raw/master/anti-zalgo/antizalgo-complex.js
// @version 1.0b
// @description Strip certain ranges of text that can be used to create Zalgo text from forums
// @author NRGLG
// @run-at document-end
// @include http://*/*
// @include https://*/*
// @grant none
@Rudokhvist
Rudokhvist / mafileren.vbs
Created April 3, 2018 16:07
Rename .maFiles to steam login names instead of SteamID.
Set objFileSystem = CreateObject( "Scripting.FileSystemObject" )
Set objCurFolder = objFileSystem.getFolder( "." )
Set ArrayMaFiles = objCurFolder.Files
Set RegExp = CreateObject("VBScript.RegExp")
RegExp.Pattern = """account_name"":""([^\""]+)\"""
RegExp.Global = True
For Each objCurMaFile in ArrayMaFiles
If LCase(objFileSystem.GetExtensionName(objCurMaFile.Name)) = "mafile" Then
Set objMaFile = objFileSystem.OpenTextFile(objCurMaFile.Name,1)
strLine = objMaFile.ReadAll()
Set objFileSystem = CreateObject( "Scripting.FileSystemObject" )
Set objTmplFile = objFileSystem.OpenTextFile(".\template.json",1)
strTmplText = objTmplFile.ReadAll()
objTmplFile.Close
Set objTmplFile = Nothing
Dim strLine
set objCurFolder = objFileSystem.getFolder( "." )
set ArrayPassFiles = objCurFolder.Files
For Each objCurPassFile in ArrayPassFiles
If LCase(objFileSystem.GetExtensionName(objCurPassFile.Name)) = "txt" Then
@Rudokhvist
Rudokhvist / botgen.vbs
Last active August 29, 2022 01:27
create multiple bot configs from a template and a file with login:password pairs. Don't use `:` in passwords or logins, OR ELSE.
Set objPassFile = CreateObject("Scripting.FileSystemObject").OpenTextFile(".\passwords.txt",1)
Set objTmplFile = CreateObject("Scripting.FileSystemObject").OpenTextFile(".\template.json",1)
strTmplText = objTmplFile.ReadAll()
objTmplFile.Close
Set objTmplFile = Nothing
Dim strLine
botnum = 1
digitnum = 3
do while not objPassFile.AtEndOfStream
strLine = objPassFile.ReadLine()