Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Bluscream / tail.ps1
Created Sep 15, 2020
PowerShell tail
View tail.ps1
param ($param1);
while ($true) {
if (Test-Path $param1) {
Get-Content "$param1" -Wait -Tail 1;
}
Start-Sleep -Seconds 1;
}
View player = combine.txt.json
{
"npc_turret_ceiling": {
"player": 3.0
},
"npc_dog": {
"player": 1.0
},
"npc_strider": {
"player": 3.0
},
@Bluscream
Bluscream / ets2_options.md
Last active Apr 17, 2020
Euro Truck Simulator 2 Launch Options (Command Line Arguments)
View ets2_options.md
Parameter Arguments Description Version Reference
-32bit launch directly in 32bit mode
@Bluscream
Bluscream / rpiupdate_3to4.sh
Created Sep 2, 2019
Update Raspberry Pi with Raspbian stretch (3) to buster (4)
View rpiupdate_3to4.sh
grep -rl stretch /etc/apt/ | sudo xargs sed -i "s/stretch/buster/g"
sudo apt update && sudo apt dist-upgrade
read -n 1 -s -r -p "Press any key to also uninstall unsupported packages, press [CTRL+C] to end"
sudo apt purge timidity lxmusic gnome-disk-utility deluge-gtk evince wicd wicd-gtk clipit usermode gucharmap gnome-system-tools pavucontrol
@Bluscream
Bluscream / SteamREP.user.js
Last active Jul 20, 2020
SteamREP on profiles + steam64 and steam32 ids Userscript
View SteamREP.user.js
// ==UserScript==
// @name SteamREP on profiles + steam64 and steam32 ids
// @namespace bluscream
// @version 1.0
// @description Adds SteamREP status to any profile (even private ones)
// @createdWith TamperMonkey
// @createdFor TamperMonkey (Chrome), Adguard For Windows
// @author Bluscream
// @downloadURL https://gist.github.com/Bluscream/300bc72907fdd4731836783b49f4609d/raw/SteamREP.user.js
// @updateURL https://gist.github.com/Bluscream/300bc72907fdd4731836783b49f4609d/raw/SteamREP.user.js
@Bluscream
Bluscream / repair.bat
Last active Jun 11, 2019
VRChat Repair Script
View repair.bat
:START
@echo off
title VRChat Repair Script [Started %date% - %time%]
chcp 65001
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
call :HEADER
FOR /F "tokens=2 delims==" %%a IN ('wmic os get OSLanguage /Value') DO set oslang=%%a
REM set oslang=1032
IF %oslang% EQU 1031 (
echo Erkannte Sprache: Deutsch - Deutschland ^(%oslang%^)
@Bluscream
Bluscream / obs_twitch_chat.css
Last active Oct 15, 2020
Twitch chat transparent popout for OBS
View obs_twitch_chat.css
/*
Twitch chat browsersource CSS for OBS
Just set the URL as https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
And paste this entire file into the CSS box
Original by twitch.tv/starvingpoet modified by github.com/Bluscream
General Settings
*/
body {
color: #FFFFFF!important;
@Bluscream
Bluscream / DefaultRights.toml
Last active Dec 9, 2018
Splamy/TS3AudioBot rights.toml file
View DefaultRights.toml
# Rights declaration file
# For more information about syntax and structure see here:
# https://github.com/Splamy/TS3AudioBot/wiki/Rights
"+" = [
# Basic stuff
"cmd.help",
"cmd.pm",
"cmd.subscribe",
"cmd.unsubscribe",
View Season Changer.bat
@echo off
SETLOCAL ENABLEEXTENSIONS
if not exist "mod\Data" mkdir "mod\Data"
if not exist "mod\Data\def" mkdir "mod\Data\def"
set /A contor=1
IF EXIST "mod\SEASON - CURRENT.scs" (
set /A contor=contor+1
)
IF EXIST "mod\SEASON - Spring.scs" (
set /A contor=contor+1
@Bluscream
Bluscream / ts3cloud_proxy.py
Created Aug 17, 2018
TS3Cloud TeamSpeak Proxy generator
View ts3cloud_proxy.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Origin: https://gist.github.com/Bluscream/2055a4f72a7676735b35bd2ae10d509f
from requests import request
from bs4 import BeautifulSoup
class TS3CloudProxy(object):
url = "https://www.ts3.cloud/ts3proxy"
payload = "input={host}%253A{port}&proxy="
You can’t perform that action at this time.