Skip to content

Instantly share code, notes, and snippets.

Avatar

Pei-Tang Huang tan9

  • Chunghwa Telecom Co., Ltd.
  • Taichung, Taiwan
View GitHub Profile
View read.tc.user.js
// ==UserScript==
// @name 臺中市校園閱讀認證小幫手
// @description 在「臺中市國民小學推動校園閱讀線上認證系統」將認證題目改用注音字型顯示、增加快捷鍵等,方便認證。
// @version 0.2.1
// @author Pei-Tang Huang
// @downloadURL https://gist.githubusercontent.com/tan9/df262289574f8c1db32e5705b8cddabc/raw/
// @updateURL https://gist.githubusercontent.com/tan9/df262289574f8c1db32e5705b8cddabc/raw/
// @match *://read.tc.edu.tw/*
// @require https://cdnjs.cloudflare.com/ajax/libs/mousetrap/1.6.3/mousetrap.min.js
// @require https://code.jquery.com/jquery-3.4.1.min.js
View medulla.user.js
// ==UserScript==
// @name medulla
// @namespace http://tampermonkey.net/
// @version 0.1
// @match http://localhost:16501/*
// @match http://localhost:16502/*
// @match http://localhost:16503/*
// @match http://localhost:16504/*
// @match http://localhost:16505/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
@tan9
tan9 / ezlearning.user.js
Last active May 23, 2022
CHT e-Learning Assistant
View ezlearning.user.js
// ==UserScript==
// @name CHT e-Learning Assistant
// @source https://gist.github.com/tan9/41686eab8e704bb18885a24339010d65
// @version 0.7.1
// @description Learn with no pain (and hopefully not no gain...)
// @author tan9, danny
// @downloadURL https://gist.githubusercontent.com/tan9/41686eab8e704bb18885a24339010d65/raw/
// @updateURL https://gist.githubusercontent.com/tan9/41686eab8e704bb18885a24339010d65/raw/
// @require https://www.gstatic.com/firebasejs/4.9.0/firebase.js
// @require https://code.jquery.com/jquery-1.12.4.min.js
@tan9
tan9 / WebLogicFilterOrderingWorkaroundServletInitializer.java
Last active May 1, 2021
Spring Boot app on WebLogic workaround.
View WebLogicFilterOrderingWorkaroundServletInitializer.java
package com.cht.compost.context.web;
import java.util.EnumSet;
import javax.servlet.DispatcherType;
import javax.servlet.Filter;
import javax.servlet.FilterRegistration;
import javax.servlet.Registration;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
View thymeleaf-legacyhtml5-parser-threading-issue-testcase_.gitattributes
# Auto detect text files and perform LF normalization
* text=auto
*.java text diff=java
*.properties text
*.js text
*.css text
*.less text
*.html text diff=html
*.jsp text diff=html
@tan9
tan9 / thymeleaf-legacyhtml5-parser-threading-issue-testcase_.idea_.name
Created Apr 16, 2015
Thymeleaf LegacyHtml5TemplateParser threading issue
View thymeleaf-legacyhtml5-parser-threading-issue-testcase_.idea_.name
thymeleaf-legacyhtml5-parser-threading-issue-testcase