Skip to content

Instantly share code, notes, and snippets.

View 33Fraise33's full-sized avatar
🍓

Gianni Stubbe 33Fraise33

🍓
View GitHub Profile
@33Fraise33
33Fraise33 / dhcpd.conf
Last active August 27, 2021 14:15
Juniper ZTP ISC DHCP Config for EX Series Switches
# dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option domain-name-servers 1.1.1.1;
option option-150 code 150 = ip-address;
option space juniper;
option juniper.image-file-name code 0 = text;

RTMP Nginx Setup

Commands needed to install

mkdir nginx
cd nginx
sudo apt install build-essential libpcre3 libpcre3-dev libssl-dev
sudo git clone git://github.com/arut/nginx-rtmp-module.git
sudo wget http://nginx.org/download/nginx-1.13.4.tar.gz
@33Fraise33
33Fraise33 / GameServerLoginTokens.iim
Last active August 18, 2017 08:00
Create Game Server Login Tokens on Steam with iMacros
VERSION BUILD=844 RECORDER=CR
URL GOTO=http://steamcommunity.com/dev/managegameservers
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:createAccountForm ATTR=NAME:appid CONTENT=730
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:createAccountForm ATTR=NAME:memo CONTENT=csgoserver{{!LOOP}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:createAccountForm ATTR=*
WAIT SECONDS=1
@33Fraise33
33Fraise33 / gsltsScraper.js
Last active June 23, 2017 13:50
Get Game Sever Login Tokens from Steam
const gameservers = document.getElementsByTagName('tbody');
const json = [];
for(var i = 0 ; i < gameservers.length; i++) {
json.push(gameservers[i].children[0].children[1].innerHTML);
}
JSON.stringify(json);