Skip to content

Instantly share code, notes, and snippets.

r_directlighting 0 // Disables direct lighting, large FPS gain
r_rendersun 0 // Disables sun lighting, reduces GPU load
lb_enable_shadow_casting 0 // Turns off shadow casting, huge FPS boost
lb_enable_dynamic_lights 0 // Disables dynamic lights, fewer draw calls
lb_enable_lights 1 // Disables static lights, saves GPU time
lb_enable_stationary_lights 0 // Disables stationary lights, extra lighting savings
lb_csm_draw_alpha_tested 0 // Disables alpha-tested shadows, reduces shadow passes
lb_csm_draw_translucent 0 // Disables translucent shadows, saves GPU
csm_max_shadow_dist_override 0 // Forces shadows to stay disabled
sc_disable_spotlight_shadows 1 // Disables spotlight shadows, very expensive feature

Train

1 2

3

@busheezy
busheezy / autoexec.cfg
Last active April 16, 2026 20:28
CS2 Autoexec
// crosshair CSGO-Dkfxu-2NvC5-BkvR8-Rs5L8-9KxoO
// misc
cl_color 4
cl_crosshair_friendly_warning 0
cl_dm_buyrandomweapons 0
cl_hide_avatar_images 0
cl_invites_only_friends 1
cl_invites_only_mainmenu 1
cl_obs_interp_enable 0
If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
$arguments = "& '" + $myinvocation.mycommand.definition + "'"
Start-Process powershell -Verb runAs -ArgumentList $arguments
Break
}
$remoteport = bash.exe -c "ip addr | grep -Ee 'inet.*eth0'"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if ($found) {
import hashlib
bindingPhrase = ""
fullBindingPhrase = f"-DMY_BINDING_PHRASE=\"{bindingPhrase}\""
fullBindingPhrase = fullBindingPhrase.strip()
bindingPhraseHash = hashlib.md5(fullBindingPhrase.encode()).digest()
UIDbytes = ",".join(list(map(str, bindingPhraseHash))[0:6])
print(UIDbytes)
@busheezy
busheezy / delete readme
Created August 17, 2020 18:17
delete nuxt readmes
find . -name "README.md" -type f -not -path "./node_modules/*" -delete
@busheezy
busheezy / autoexec.cfg
Last active September 12, 2023 23:33
My CS:GO config
// -novid -tickrate 128 -nojoy -language colormod -refresh 240 -port 27015 -netconport 2121
clear
// viewmodel
viewmodel_presetpos "3"
cl_bob_lower_amt "5.000000"
cl_bobamt_lat "0.100000"
cl_bobamt_vert "0.100000"
cl_bobcycle "0.98"