I hereby claim:
- I am jasonhk on github.
- I am jasonhk (https://keybase.io/jasonhk) on keybase.
- I have a public key ASBgGbaMyIb4W0arX-YOGix_tEPfTEF9egMNX59T85z5ZAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Created by tturner on 7/22/15. | |
*/ | |
import groovy.json.* | |
static def parseQueryString(String string) { | |
string.split('&').collectEntries{ param -> | |
param.split('=', 2).collect{ URLDecoder.decode(it, 'UTF-8') } | |
} |
Simple HTTP Servers
// ==UserScript== | |
// @name MCBBS Login Fix | |
// @description Fixed the annoying CAPTCHA bug when logging in to MCBBS. | |
// @author JasonHK | |
// @namespace http://jasonhk.net/ | |
// @version 0.2-beta | |
// @match http*://www.mcbbs.net/* | |
// @run-at document-start | |
// @grant none | |
// @supportURL https://greasyfork.org/zh-TW/scripts/377605-mcbbs-login-fix |
using System; | |
using System.Runtime.InteropServices; | |
// ReSharper disable SuspiciousTypeConversion.Global | |
// ReSharper disable InconsistentNaming | |
namespace VideoPlayerController | |
{ | |
/// <summary> | |
/// Controls audio using the Windows CoreAudio API | |
/// from: http://stackoverflow.com/questions/14306048/controling-volume-mixer |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |