convert from hex by @shallax
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
(async function () { | |
const sleep = t => new Promise(resolve => { setTimeout(resolve, t) }) | |
while (!window.jsSnippetsPromise) await sleep(100) | |
await window.jsSnippetsPromise | |
await sleep(1000) | |
const plugins = _.chain(_.keys(window)) | |
.filter(k => _.startsWith(k, 'dayjs_plugin_')) | |
.value() | |
console.log(`found ${plugins.length} plugins of dayjs`) | |
for (const plugin of plugins) window.dayjs.extend(window[plugin]) |
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
MIT License | |
Copyright (c) 2020 戴均民 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
{ | |
"awards": [ | |
{ | |
"awarder": "教育部長 蔣偉寧", | |
"date": "2013-06-25", | |
"summary": "「新聞推推樂」作品榮獲 2013 全國大專校院開放軟體創作競賽 雲端網際服務與其他應用組 銅牌", | |
"title": "2013 全國大專校院開放軟體創作競賽 銅牌" | |
} | |
], | |
"basics": { |
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 微程式通訊錄 | |
// @namespace https://ef.program.com.tw:8443/contacts | |
// @version 0.24 | |
// @description 從微程式的 Portal 系統中下載通訊錄 | |
// @author taichunmin <taichunmin@gmail.com> | |
// @website https://gist.github.com/taichunmin/3e854e9e118785a7985ec24905ee16ce/ | |
// @updateURL https://gist.github.com/taichunmin/3e854e9e118785a7985ec24905ee16ce/raw/contacts.user.js | |
// @downloadURL https://gist.github.com/taichunmin/3e854e9e118785a7985ec24905ee16ce/raw/contacts.user.js | |
// @match https://ef.program.com.tw:8443/* |
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
aahed | |
aalii | |
aargh | |
aarti | |
abaca | |
abaci | |
aback | |
abacs | |
abaft | |
abaka |
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
.chosen-select { | |
width: 100%; } | |
.chosen-select-deselect { | |
width: 100%; } | |
.chosen-container { | |
display: inline-block; | |
font-size: 14px; | |
position: relative; |
現在的 Keyboard 通常會附多媒體鍵,不過預設值打開可能就是討人厭音質又差的 Windows Media Player。 如果我們希望這些鍵可以按下去是開啟我們想要的軟體,此時通常要裝 Driver,問題是有時候會找不到 Driver,那也沒關係,直接改機碼就可以囉,以下是說明:
- 先執行
regedit
- 機碼位於
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\
- 機碼位於
- 在其下加入數字機碼,代表對應的 AppKey 按鍵 (詳見對應表)
- 例:
16
就是Media
切換功能 - 要換掉的話可以先將原來的值備份
- 例:
NewerOlder