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 jcbhelper.user | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description try to take over the world! | |
// @author You | |
// @match https://ezweb.easycard.com.tw/Event01/JCBLoginRecordServlet* | |
// @match https://ezweb.easycard.com.tw/Event01/JCBLoginServlet* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=easycard.com.tw | |
// @grant none |
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 poya_vouchers | |
// @namespace http://tampermonkey.net/ | |
// @version 0.7 | |
// @description try to take over the world! | |
// @author Haoming (葉大雄) | |
// @match https://www.poyabuy.com.tw/V2/ECoupon/List* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=poyabuy.com.tw | |
// @grant none | |
// ==/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
// ==UserScript== | |
// @name yahoo checkin | |
// @namespace http://tampermonkey.net/ | |
// @version 0.6 | |
// @description try to take over the world! | |
// @author haoming | |
// @match https://*.yahoo.com/points/checkin?id=* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=yahoo.com | |
// @grant none | |
// ==/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
// ==UserScript== | |
// @name yahoo coupon | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description 領取yahoo全站 | |
// @author Haoming | |
// @match https://tw.buy.yahoo.com/coupons/brand?bdid=* | |
// @match https://tw.buy.yahoo.com/coupons | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=yahoo.com | |
// @source |
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 facebook tracker remover | |
// @include https://www.facebook.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.querySelectorAll('a').forEach(element=>{element.href=element.href.replace('/[?]fbclid=.*/gi','');}) | |
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
## remove registry | |
reg delete /f HKEY_CURRENT_USER\Software\Cygwin | |
reg delete /f HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin | |
## remove shortcut | |
del c: /s "cygwin*.lnk" | |
## remove files | |
rd /s/q c:\cygwin64 |
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
vpnuser make <username> | |
vpnuser dele <username> |
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
#!/bin/bash | |
DAYS=30 | |
RECIPIENT="username@email.com" | |
while read TARGET | |
do | |
if [ -z "$TARGET" ];then continue; fi | |
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
/* | |
* Date Format 1.2.3 | |
* (c) 2007-2009 Steven Levithan <stevenlevithan.com> | |
* MIT license | |
* | |
* Includes enhancements by Scott Trenda <scott.trenda.net> | |
* and Kris Kowal <cixar.com/~kris.kowal/> | |
* | |
* Accepts a date, a mask, or a date and a mask. | |
* Returns a formatted version of the given date. |
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
'==== summary ===== | |
' 每10分鐘測試CPU使用率, 若連續測試超過10次 則透過SMTP寄送警訊給管理者 | |
' 如有需要, 修改以下內容 | |
' objMessage.Subject 警訊內容 | |
' objMessage.From 寄件人 | |
' objMessage.To 收件人 | |
' objMessage.TextBody 警訊內容 | |
' 提供寄信的SMTP主機 | |
' objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver | |
'==== summary ===== |
NewerOlder