This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 0 | |
cl_join_advertise 2 | |
cl_obs_interp_enable 0 | |
cl_sanitize_player_names 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "README.md" -type f -not -path "./node_modules/*" -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -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" |