Skip to content

Instantly share code, notes, and snippets.

View arfie's full-sized avatar

Hilde arfie

  • CWI
  • The Netherlands
View GitHub Profile
@arfie
arfie / group-presets.user.js
Last active January 10, 2016 00:01
TagPro Group Presets 1.1
// ==UserScript==
// @name TagPro Group Presets
// @namespace http://www.arfie.nl
// @version 1.1.1
// @description Allows you to create presets for group/private game settings
// @author Ruud Verbeek
// @include http://tagpro-*.koalabeast.com/groups/*
// @include http://tangent.jukejuice.com/groups/*
// @include http://maptest*.newcompte.fr/groups/*
// @grant GM_setValue
@arfie
arfie / group-overview.user.js
Created June 18, 2015 17:25
TagPro group overview on joiner
// ==UserScript==
// @name TagPro group information in joiner
// @namespace http://www.arfie.nl
// @version 0.1.3
// @description something useful
// @author Ruud Verbeek
// @include http://tagpro-*.koalabeast.com/games/find
// @include http://tangent.jukejuice.com/games/find
// @include http://*.newcompte.fr/games/find
// @grant GM_setValue
@arfie
arfie / README.md
Last active October 13, 2015 12:29 — forked from chrahunt/README.md
Downloading replays from tagproreplays the manual way.

TagProReplays Replay Recovery

To set up the helper script, we need to run it on the background page for the extension. Here's one way to do that:

  1. Navigate to chrome://extensions/

  2. Click on the developer mode checkbox on the top right of the extensions page.

    Step 2

  3. Click on the background page link that should appear underneath the TagProReplays extension entry on the extensions page.

@arfie
arfie / group-enhancements.user.js
Last active December 16, 2015 15:21
TagPro Group Enhancements
// ==UserScript==
// @name TagPro Group Enhancements
// @namespace http://www.arfie.nl
// @version 0.1.1
// @description Better group layout
// @author Ruud Verbeek
// @include http://tagpro-*.koalabeast.com/groups*
// @include http://tangent.jukejuice.com/groups*
// @include http://*.newcompte.fr/groups*
// @grant GM_setValue
@arfie
arfie / tagpro-afk-warning.user.js
Created October 27, 2015 17:34
TagPro AFK warning
// ==UserScript==
// @name TagPro AFK warning
// @namespace http://www.arfie.nl
// @version 0.1
// @author Ruud Verbeek
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// NewCompte's servers don't have an AFK timeout
// ==/UserScript==
@arfie
arfie / tagpro-radians.user.js
Created October 28, 2015 19:18
TagPro Radians
// ==UserScript==
// @name TagPro Radians
// @namespace http://www.arfie.nl
// @version 0.1
// @author Ruud Verbeek
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// ==/UserScript==
@arfie
arfie / tagpro_PingAndLossReporter.user.js
Last active November 6, 2015 17:21 — forked from cr4m3r/tagpro_PingAndLossReporter.user.js
Chats you current ping with "Shift + P" or loss with "Shift + L" in Tagpro.
// ==UserScript==
// @name Tagpro Ping and Loss Reporter
// @namespace http://www.reddit.com/u/slothbear
// @description Reports ping or loss in Tagpro chat (Shift + P, Shift + L)
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @license whatever brah!
// @author slothbear / %bodyfat / Ruud
// @version 1.8
@arfie
arfie / tagpro-animation-fps.user.js
Created February 7, 2016 18:06
TagPro Animation FPS
// ==UserScript==
// @name TagPro Animation FPS
// @namespace http://www.arfie.nl/
// @version 0.1
// @description Allows to change FPS of boosts/portals
// @author Ruud
// @include http://tagpro-*.koalabeast.com:*
// @include http://*.newcompte.fr:*
// @include http://tangent.jukejuice.com:*
// @grant none
@arfie
arfie / tagpro-zoomed-out-flairs.user.js
Created March 19, 2016 13:04
TagPro - show flairs when zoomed out
// ==UserScript==
// @name TagPro show flairs when zoomed out
// @version 0.1
// @author Ruud
// @include http://tagpro-*.koalabeast.com:*
// @include http://*.newcompte.fr:*
// @include http://tangent.jukejuice.com:*
// ==/UserScript==
/* jshint -W097 */
'use strict';
@arfie
arfie / stv.py
Created January 30, 2017 09:25
Single Transferable Vote
#!/usr/bin/env python
from math import floor
import sys
if len(sys.argv) < 2:
print 'Usage: python stv.py [ballot filename]'
exit()
DELIM = ','