Skip to content

Instantly share code, notes, and snippets.

am familiar

snapcase snapcase

am familiar
Block or report user

Report or block snapcase

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hots_weekly.zsh
# list of heroes and the id used to display their icons
typeset -A heroes
122 "Abathur" 362 "Anub'arak" 345 "Arthas" 371 "Azmodan" 354 "Brightwing" 381 "Chen" 321 "Diablo" 312 "E.T.C."
220 "Falstad" 155 "Gazlowe" 196 "Illidan" 393 "Jaina" 233 "Kerrigan" 114 "Li Li" 277 "Malfurion" 329 "Muradin"
412 "Murky" 144 "Nazeebo" 259 "Nova" 133 "Raynor" 432 "Rehgar" 285 "Sgt. Hammer" 249 "Sonya" 337 "Stitches"
439 "Sylvanas" 165 "Tassadar" 403 "The Lost Vikings" 451 "Thrall" 182 "Tychus" 303 "Tyrael" 173 "Tyrande"
420 "Uther" 268 "Valla" 459 "Zagara" 294 "Zeratul"
snapcase / reflex_update
Last active Oct 23, 2015
update reflex server
View reflex_update
# update (a single) reflex server
# snapcase 2015
die() { error "$*"; exit 1; }
snapcase / reflexfilesget
Last active Aug 29, 2015
subscribe to maps
View reflexfilesget
# subscribe to files from
# snapcase 2015
# variables
snapcase / nauts-FixReplays.ps1
Last active Aug 29, 2015
Fix replays by converting to ASCII
View nauts-FixReplays.ps1
#REQUIRES -Version 2.0
Convert non-ascii files to ascii so that they can be read by the game
When you enter "Replays" from the main menu a file called "" will be populated with data about replays.
In the occurence of unicode or other non-ascii character it will fail to parse data and the replay will not show up in game. The solution is to remove these characters from individual replays in order for them to display properly. The purpose of this script is to automate this process.
View qlive-launcher.ps1
$log_file = "$Env:TMP\quakelive_launcher.log"
if (Test-Path $log_file) {
$path, $arg = Select-String -Path $log_file -CaseSensitive -Pattern "^(?:Engine path|Launch parameters): (.*)" |
You can’t perform that action at this time.