Skip to content

Instantly share code, notes, and snippets.

View ogdans3's full-sized avatar

Gabriel Berthling-Hansen ogdans3

View GitHub Profile
@ogdans3
ogdans3 / nade.cfg
Created May 19, 2025 18:47
nade.cfg
sv_cheats 1
mp_limitteams 0;
mp_autoteambalance 0;
mp_maxmoney 60000;
mp_startmoney 60000;
mp_buytime 9999;
mp_buy_anywhere 1;
mp_freezetime 0;
mp_roundtime 60;
mp_roundtime_defuse 60;
//Executes your binds.cfg file if you have one
exec binds
fps_max "999" // Max fps in game
// ============== Crosshair ==============
alias "default_crosshair" "cl_crosshairalpha 255; cl_crosshaircolor 5; cl_crosshaircolor_b 0; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0; cl_crosshair_t 1; cl_crosshair_drawoutline 1; cl_crosshairdot 1; cl_crosshairgap 0; cl_crosshairsize 0; cl_crosshairstyle 4; cl_crosshairusealpha 1; cl_crosshairthickness 1.1; cl_fixedcrosshairgap 0; cl_crosshair_outlinethickness 0.5"
default_crosshair //Set default crosshair
//alias "default_crosshair" "cl_crosshair_drawoutline 1;cl_crosshair_outlinethickness 1;cl_crosshaircolor 2;cl_crosshairdot 0;cl_crosshairgap -1;cl_crosshairsize 3;cl_crosshairstyle 4;cl_crosshairthickness 1"
// ============== Aliases ==============
alias "m4a1/ak47" "buy m4a1;buy ak47"
alias "aug/sg556" "buy aug;buy sg556"
alias "scout" "buy ssg08"
alias "deagle" "buy deagle"
alias "galilar/famas" "buy galilar;buy famas"
alias "g3sg1/scar20" "buy g3sg1;buy scar20"
alias "vesthelm/vest" "buy vesthelm;buy vest"
alias "incgrenade/molotov" "buy incgrenade;buy molotov"
alias "tec9/fiveseven/CZ" "buy tec9; buy fiveseven"
set -e
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
NODE_NAME=$1
IS_MASTER_NODE=$2
(function() {
document.getElementById("main-panel").setAttribute("style", "display: none;");
document.getElementById("player-page").children[0].setAttribute("style", "justify-content: space-around");
})()
" ===================== FUNCTIONS =====================
function! ClipboardYank()
let tmpfile = "/tmp/neovim_gaben_clipboard_plugin.tmp"
:call writefile(split(@@, "\n"), "/tmp/neovim_gaben_clipboard_plugin.tmp")
:silent exe "!cat \"".tmpfile."\" | clip.exe"
endfunction
function! ClipboardPaste()
let @@ = substitute(system("paste.exe"), "\r", "", "g")
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
docker run -e VIRTUAL_HOST=foo.bar.com ...
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro -v /etc/nginx/proxy.conf:/etc/nginx/proxy.conf:ro jwilder/nginx-proxy
docker run --detach \
--name nginx-proxy \
--publish 80:80 \
--publish 443:443 \
--volume /etc/nginx/certs \
--volume /etc/nginx/vhost.d \
// ============== Aliases ==============
alias "m4a1/ak47" "buy m4a1;buy ak47"
alias "aug/sg556" "buy aug;buy sg556"
alias "scout" "buy ssg08"
alias "deagle" "buy deagle"
alias "galilar/famas" "buy galilar;buy famas"
alias "g3sg1/scar20" "buy g3sg1;buy scar20"
alias "vesthelm/vest" "buy vesthelm;buy vest"
alias "incgrenade/molotov" "buy incgrenade;buy molotov"
alias "tec9/fiveseven/CZ" "buy tec9; buy fiveseven"
sv_cheats "1"
volume 1
firstperson
// Rates
cl_cmdrate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_lagcompensation "1"
// ============== Launch Options ==============
//-console -novid -tickrate 128 -high -freq 240 +exec autoexec
//Executes your binds.cfg file if you have one
exec binds
// ============== Radar ==============
cl_radar_scale "0.3"
cl_radar_always_centered "0"
cl_radar_icon_scale_min "1" // Bigger Player Icons On The Radar.