Skip to content

Instantly share code, notes, and snippets.

@busheezy
busheezy / autoexec.cfg
Last active September 25, 2023 00:33
CS2 Autoexec
// misc
cl_color 1
cl_dm_buyrandomweapons 0
cl_hide_avatar_images 0
cl_invites_only_friends 1
cl_invites_only_mainmenu 1
cl_join_advertise 2
cl_sanitize_player_names 0
cl_show_clan_in_death_notice 0
cl_showloadout 1
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"