Skip to content

Instantly share code, notes, and snippets.

View RalphORama's full-sized avatar

Ralph RalphORama

View GitHub Profile
@RalphORama
RalphORama / sandbox.cfg
Last active September 1, 2023 20:20
template gmod server.cfg for pterodactyl
// I dont admin sandbox at all. Not sure if these are decent values.
sbox_maxprops "100"
sbox_maxragdolls "5"
sbox_maxnpcs "10"
sbox_maxballoons "10"
sbox_maxeffects "10"
sbox_maxdynamite "10"
sbox_maxlamps "10"
sbox_maxthrusters "10"
@RalphORama
RalphORama / holybible.cfg
Last active August 25, 2023 00:38
The entirety of the Holy Bible (Revised Standard Version) as a TF2/CSGO bind script. INSTALLATION: Save holybible.cfg and holybible[1-8].cfg in tf/cfg. In-game, run `exec holybible` in console. Press B to start saying bible quotes.
// Generated with ChatterBox for Source v1.2.1
// http://ralphorama.github.io/
echo "--------------------------------------------------------------------------------"
echo "-- THIS IS GOING TO MAKE YOUR GAME LAG :) GOD BLESS! --"
echo "--------------------------------------------------------------------------------"
wait 300; wait 300; wait 300;
exec holybible1
@RalphORama
RalphORama / userstyle.css
Created July 19, 2022 19:19
4chanX user CSS for highlighting post capcha background
/* highlight background captcha image (makes solving easier) */
/* tested with 4chanX v1.14.22.1 https://github.com/ccd0/4chan-x/releases/tag/1.14.22.1 */
div#t-fg {
background-color: rgba(241, 231, 64, 0.33);
}
@RalphORama
RalphORama / bikinibabebinds.cfg
Last active June 14, 2022 00:03
over 1,000 tweets from @BikiniBabeLover in one convenient trashcan script. Add bikiniBabeLover_cycle to a bind to shuffle (example at bottom of file)
// Generated with ChatterBox for Source v1.2.1
// http://ralphorama.github.io/
alias "bikiniBabeLover0" "say ''PIZZA'' IS ACTUALLY AN ANAGRAM..."
alias "bikiniBabeLover1" "say P - PLEASUREFUL I - INTERESTING Z - CANT THINK OF ONE Z - CANT THINK OF ONE A - ''AGG''-CELLENT"
alias "bikiniBabeLover2" "say Hey ''Vegan's'': If you love animals so much, why do you keep eating all there food? Also, why dont you marry it? Bitch"
alias "bikiniBabeLover3" "say MATE YOUR AN ABSOLUTE CUNT... AND A PROPER LEGEND"
alias "bikiniBabeLover4" "say YES I go to renaissance fairs. YES, I wear corsets. >_>; No, I will not give you teh bewbie hugz(!1!!) because I have a hubbeh"
alias "bikiniBabeLover5" "say >_>; Begone."
alias "bikiniBabeLover6" "say Im a guy and i spend way too much time washing my asshole?"
@RalphORama
RalphORama / iptables-block-as12876.sh
Created January 19, 2022 18:58
Block traffic from AS12876 (scaleway)
#!/bin/bash
set -e
if [ "$EUID" -ne 0 ]; then
echo "run this script as root!"
exit 1
fi
# ranges collected from https://ipinfo.io/AS12876
@RalphORama
RalphORama / mk_plan_keystore.sh
Created February 8, 2020 21:18
Script for generating a pcks12 Java keystore for Plan Player Analytics
#!/usr/bin/env bash
# This script will generate a keystore for use with Plan
# https://www.spigotmc.org/resources/plan-player-analytics.32536/
# After running the script, plug in the details as follows:
# KeyStore_path: the path you specified
# Key_pass: the password you specified
# Store_pass: the same password as Key_pass
# Alias: plan
#!/bin/sh
SK="\e[38;5;215m" # skin-ish
GR="\e[38;5;28m" # green
LG="\e[38;5;46m" # light green
RD="\e[38;5;1m" # red
YL="\e[38;5;3m" # yellow
GY="\e[38;5;8m" # gray
RST="\e[0m" # reset
@RalphORama
RalphORama / cloudflare-nginx-realip.py
Last active October 24, 2017 23:29
Update CF-Connecting-IP lists for NGINX automatically
#!/usr/bin/env python3
# I personally use a crontab to execute this at midnight, daily
# # m h dom mon dow command
# 0 0 * * * /usr/bin/python3 /usr/local/sbin/cloudflare-nginx-resolver.py > /etc/nginx/snippets/cloudflare-realip.conf && nginx -t && systemctl restart nginx
# Then, in virtual hosts that need this config, I simply add the line
# include /etc/nginx/snippets/cloudflare-realip.conf
import requests
@RalphORama
RalphORama / autoexec.cfg
Last active March 27, 2019 21:20
Counter-Strike: Global Offensive settings
// Ralph's custom CSGO config/autoexec
// Plagiarized with love from Team Gamerfood's Ted
// - https://www.youtube.com/channel/UCSAEdSAFyeidPD_ifQdTkyw
// - http://jew.yt/stuff/autoexec.cfg
// here's some placebo shit for the startup options as well
// change these to your monitor's dimensions, refresh rate, etc.
// shown here are the options for a 120hz monitor:
//-w 1920 -h 1080 -freq 120 -refresh 120 -novid -nojoy -tickrate 128 -console