This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 'zip/zip' | |
require 'xmlsimple' | |
require 'guard/guard' | |
# monitor docs directory | |
module ::Guard | |
class Docx < Guard | |
def run_on_changes(paths) | |
paths.each do |path| | |
#puts File.expand_path(path) |
This file contains hidden or 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
public class Connect extends ConnectInterface { | |
... | |
/* | |
* Function parameters come in a few flavors: many arguments with all-optional, | |
* 1 or a few arguments with all-optional, variable number of arguments with | |
* some required and some optional, set number of arguments with all required, | |
* and arguments that can pertain to multiple records (requiring us to delineate which | |
* of the arguments for a parameter of the same name pertains to which record). |
NewerOlder