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
# This script uses homeshick to set up my dotfiles. In order for the | |
# updated .bashrc to be applied immediately, this file should be sourced, | |
# rather than executed directly. e.g. | |
# source bootstrap.sh | |
# Check for git | |
command -v git >/dev/null 2>&1 || { echo >&2 "Git required. Please install. Aborting."; exit 1; } | |
# Install homeshick | |
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick |
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
// Core variables and mixins | |
@import "bootstrap/variables"; | |
@import "bootstrap/mixins"; | |
@import "bootstrap/print"; | |
@import "bootstrap/glyphicons"; | |
.bootstrap-container { | |
// Reset and dependencies | |
@import "bootstrap/normalize"; |
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
@echo off | |
set extension_name=tagpro-bot-userscript | |
::Set these if juicer/uglify are not on your path. | |
set juicer_path=C:\Ruby193\bin\juicer.bat | |
set uglifyjs_path=%HOME%\AppData\Roaming\npm\uglifyjs.cmd | |
::Location of your project source files. | |
set project_src_path=.. | |
::Location of the installed UserScript within Chrome's extension |
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 0 Portal Cooldown for JSON Editor Online | |
// @namespace http://www.reddit.com/user/snaps_ | |
// @version 0.1 | |
// @description Add a button for automatically setting portal cooldowns to 0 in JSON Editor Online. | |
// @author snaps_ | |
// @match https://*.jsoneditoronline.org/ | |
// @match http://*.jsoneditoronline.org/ | |
// @grant none | |
// @run-at document-end |
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 TagPro Chat Enhancer | |
// @namespace http://www.reddit.com/user/-omicron-/ | |
// @description Disables ingame chat messages while logging messages outside the game environment with the same styling/formating but allowing for all kinds of extra functionality in doing so. | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tagpro-*.koalabeast.com/groups/* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://tangent.jukejuice.com/groups/* | |
// @include http://maptest.newcompte.fr:* | |
// @include http://maptest.newcompte.fr/groups/* |
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 Velocity Arrows | |
// @version 0.1.0 | |
// @description Shows an arrow indicating the player's current velocity. Example of a graphics object drawn static relative to the player. | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://*.newcompte.fr:* | |
// @author snaps | |
// ==/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
/** | |
* @module mover/browser | |
*/ | |
define(function() { | |
/** | |
* The Mover is responsible for executing actions within the | |
* browser environment and managing keypresses. | |
* Agents should utilize a personal `move` function that should | |
* be set as the move function of the object created from this | |
* class. |
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 Socket.io Loopback Interface | |
// @namespace http://www.reddit.com/user/snaps_/ | |
// @description Adds a loopback capability to socketio sockets. Emitting a message with the event name prepended with "local:" will emit the message to the client-side socket listeners. | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tagpro-*.koalabeast.com/groups/* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://tangent.jukejuice.com/groups/* | |
// @include http://maptest*.newcompte.fr:* | |
// @include http://maptest*.newcompte.fr/groups/* |
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 TagPro Flag Carrier Name | |
// @namespace http://www.reddit.com/user/snaps_/ | |
// @description Adds the name of the flag carrier next to the flags on the TagPro game UI. | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @version 0.1.3 | |
// @author snaps | |
// @downloadURL https://gist.github.com/chrahunt/03a399925e42f7c4f1e6/raw/tagpro-fc-status.user.js | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tangent.jukejuice.com:* |
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/env python2 | |
# From http://stackoverflow.com/a/21957017/1698058 | |
from http.server import SimpleHTTPRequestHandler, HTTPServer | |
import http.server | |
class CORSRequestHandler (SimpleHTTPRequestHandler): | |
def end_headers (self): | |
self.send_header('Access-Control-Allow-Origin', '*') | |
SimpleHTTPRequestHandler.end_headers(self) |
OlderNewer