Simple HTTP Servers
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
<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 { |
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
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 |
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 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 |
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
/** | |
* 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') } | |
} |
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: