Skip to content

Instantly share code, notes, and snippets.

@busheezy
busheezy / autoexec.cfg
Last active August 5, 2024 05:27
CS2 Autoexec
// old:
// new: CSGO-wEWsu-9Qfkb-nDYTn-eDiLf-CY8SA
// new new: CSGO-N5akT-ay4Ui-aXUkS-3Nkis-G8siB
// misc
cl_color 4
cl_dm_buyrandomweapons 0
cl_hide_avatar_images 0
cl_invites_only_friends 1
cl_invites_only_mainmenu 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"