Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # 參考了 | |
| - https://leetcodethehardway.com | |
| - https://leetcode.com/explore/ | |
| - neetcode.io | |
| - https://www.lintcode.com/course/43 | |
| - https://hackmd.io/@arthurzllu/SkZBc7GoI#Analysis-of-Algorithms | |
| - https://aaronice.gitbook.io/lintcode/backtracking/subsets | |
| - https://space.bilibili.com/386952786/video?tid=0&pn=3&keyword=&order=pubdate | |
| - https://www.lintcode.com/discuss/597/ |
This file contains hidden or 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
| const Event /* OrderProcessingEvents */ = { | |
| REQUESTED: "REQUESTED", | |
| PAYMENT_REQUESTED: "PAYMENT_REQUESTED", | |
| PAYMENT_REJECTED: "PAYMENT_REJECTED", | |
| REPLY_PAYMENT_FAILED: "REPLY_PAYMENT_FAILED", | |
| REPLY_PAYMENT_COMPLETED: "REPLY_PAYMENT_COMPLETED", | |
| }; | |
| const OrderState = { | |
| INITIATED: "INITIATED", |
This file contains hidden or 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
| # Reach out to the following teams before making any | |
| # structural changes to this file as it's used for | |
| # downstream reporting: | |
| # - People Team | |
| # - Data Team | |
| - country: United States | |
| area: Connecticut | |
| locationFactor: 70.0 | |
| - country: United States |
This file contains hidden or 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
| !commands add -cd=5 !ap | |
| $(eval | |
| let api = $(urlfetch json https://playhearthstone.com/en-us/api/community/leaderboardsData?region=AP&leaderboardId=BG&seasonId=2); | |
| let r = api.leaderboard.rows; | |
| let q = "$(1)"; | |
| let rest = q.substring(1, q.length); | |
| let f = q[0] === '#' ? r[parseInt(rest) - 1] : r.find(u => u.accountid.toUpperCase() === q.toUpperCase()); | |
| f === undefined ? `[$(user)]: ${q} not found` : `[$(user)]: ${f.accountid} is currently #${f.rank}, ${f.rating} mmr`; | |
| ) |
This file contains hidden or 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
| @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400&display=swap'); | |
| body { | |
| font-family: 'Noto Sans TC', sans-serif !important; | |
| } |
This file contains hidden or 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
| !commands edit -cd=5 !亞服 | |
| $(eval | |
| let api = $(urlfetch json https://playhearthstone.com/en-us/api/community/leaderboardsData?region=AP&leaderboardId=BG&seasonId=3); | |
| let r = api.leaderboard.rows; | |
| let q = "$(1)"; | |
| let rest = q.substring(1, q.length); | |
| let f = q[0] === '#' ? r[parseInt(rest) - 1] : r.find(u => u.accountid.toUpperCase() === q.toUpperCase()); | |
| f === undefined ? `[$(user)]: ${q} 不在亞服排行榜,沒料` : `[$(user)]: ${f.accountid} 目前亞服 #${f.rank},${f.rating}分`; | |
| ) |
NewerOlder