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
Param | |
( | |
[Parameter(Mandatory=$false)] | |
[ValidatePattern("qlive://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]{5}/\S+")] | |
[string]$uri | |
) | |
$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): (.*)" | |
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
#REQUIRES -Version 2.0 | |
<# | |
.SYNOPSIS | |
Convert non-ascii Replays.info files to ascii so that they can be read by the game | |
.DESCRIPTION | |
When you enter "Replays" from the main menu a file called "Replays.info" 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. |
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
#!/bin/bash | |
# | |
# subscribe to files from reflexfiles.com | |
# snapcase 2015 | |
# | |
# variables | |
BASE_URL="http://reflexfiles.com" | |
maps_path="${HOME}/reflex/base/internal/maps" |
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
#!/bin/bash | |
# | |
# update (a single) reflex server | |
# snapcase 2015 | |
# | |
REFLEX_DIR="$HOME/reflex" | |
APPID=329740 | |
die() { error "$*"; exit 1; } |
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
#!/bin/zsh | |
# list of heroes and the id used to display their icons | |
typeset -A heroes | |
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" |
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
require 'bundler/setup' | |
require 'open-uri' | |
require 'json' | |
require 'cinch' | |
API_KEY = 'meep' | |
class Youtube | |
include Cinch::Plugin |
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
#!/usr/bin/ruby | |
require 'socket' | |
class SourceQuery | |
def initialize(ip, port) | |
query(ip, port) | |
end | |
def to_s |
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
// ==UserScript== | |
// @name Bad Ranks | |
// @namespace http://snapcase.net | |
// @description Highlight bad ranks on the Horizon Surf Servers | |
// @include https://www.horizonservers.net/stats/* | |
// @version 1.7 | |
// @grant none | |
// @require http://www.kryogenix.org/code/browser/sorttable/sorttable.js | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name get rekt | |
// @namespace animetiddi.es | |
// @description wat | |
// @include http://politiken.dk/* | |
// @version 1 | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name steam store Khimera bug fix | |
// @namespace snapcase.net | |
// @description sif this is free, something's fucky | |
// @include http://store.steampowered.com/app/467380* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var paypal = "http://www.paypal.me/syaxamaphone/" |
OlderNewer