ITHOME 鐵人賽 :: 主題競賽組觀戰區
目前這份資料是用年久失修的爬蟲在跑的,新版網址如下:
https://ithome-2021-ironman.s3.ap-northeast-1.amazonaws.com/index.html
ITHOME 鐵人賽 :: 主題競賽組觀戰區
目前這份資料是用年久失修的爬蟲在跑的,新版網址如下:
https://ithome-2021-ironman.s3.ap-northeast-1.amazonaws.com/index.html
| { | |
| "explorer.openEditors.visible": 0, | |
| "workbench.colorTheme": "Default Light+", | |
| "workbench.iconTheme": "vscode-simpler-icons", | |
| "workbench.sideBar.location": "right", | |
| // 需下載安裝 Fira Code 字型 (安裝 OTF 格式) | |
| // https://github.com/tonsky/FiraCode/releases | |
| // 需下載客製化過的 Microsoft YaHei Mono 字型 |
| /** | |
| * Changes XML to JSON | |
| * Modified version from here: http://davidwalsh.name/convert-xml-json | |
| * @param {string} xml XML DOM tree | |
| */ | |
| function xmlToJson(xml) { | |
| // Create the return object | |
| var obj = {}; | |
| if (xml.nodeType == 1) { |
| backspace 8 | |
| tab 9 | |
| enter 13 | |
| shift 16 | |
| ctrl 17 | |
| alt 18 | |
| pause/break 19 | |
| caps lock 20 | |
| escape 27 | |
| page up 33 |
| /** | |
| * Get a random floating point number between `min` and `max`. | |
| * | |
| * @param {number} min - min number | |
| * @param {number} max - max number | |
| * @return {number} a random floating point number | |
| */ | |
| function getRandomFloat(min, max) { | |
| return Math.random() * (max - min) + min; | |
| } |