LianSheng197
Follow
🎉
支持有意義的事 / Support meaningful things.
LianSheng(142|197)? Dirty and low efficiency code maker.
- Home
-
14:04
(UTC +08:00)
Highlights
Pinned Loading
-
Explanation of a confusing line of b...
Explanation of a confusing line of bash code / ANSI escape sequences. 1```bash
2echo "\[\033[${2:-37};60m\]${1}\[\033[0m\]"
3```
45Echo is the program echo that you can run from the terminal.
-
一個僅支持 HTML 的 <html>, <head>, <body>,...
一個僅支持 HTML 的 <html>, <head>, <body>, <title>, <h1>, <p> 六種標籤的極簡語法分析範例,不含屬性、自閉合標籤、錯誤恢復等常見 HTML 功能。以 JavaScript 編寫。 1function lexer(input) {
2const regex = /<\/?(title|h1|html|head|body|p)>|[^<]+/g;
3let result, tokens = [];
4while ((result = regex.exec(input)) !== null) {
5tokens.push(result[0]);
-
-
cloudflare-workers-sample
cloudflare-workers-sample Public能直接在 CloudFlare Workers 上執行的一些範例程式
JavaScript 1
-
-
CNSOnlineDownloader
CNSOnlineDownloader Public國家標準網路服務系統 (www.cnsonline.com.tw) 預覽版文件下載器
JavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.