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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 16, | |
// font family with optional fallbacks |
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
module.exports = { | |
config: { | |
fontSize: 16, | |
fontFamily: 'OperatorMono Nerd Font', | |
fontWeight: 'bold', | |
cursorShape: 'BLOCK', | |
cursorBlink: false, | |
// color of the text | |
foregroundColor: '#c4c8c6', | |
// terminal background color |
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 React from 'react' | |
class App extends React.Component { | |
// NOTE common fields | |
static propTypes = { | |
} | |
static defaultProps = { | |
} |
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
diff --git a/app/javascript/components/pages/DashboardView/index.js b/app/javascript/components/pages/DashboardView/index.js | |
index daf195608..94b5721a6 100644 | |
--- a/app/javascript/components/pages/DashboardView/index.js | |
+++ b/app/javascript/components/pages/DashboardView/index.js | |
@@ -1 +1,3 @@ | |
-export { default } from './DashboardView' | |
+import { Dashboard } from 'xfers-dashboard' | |
+ | |
+export default Dashboard | |
diff --git a/client_app/packages/xfers-dashboard/.gitignore b/client_app/packages/xfers-dashboard/.gitignore |
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}分`; | |
) |
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 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
# 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
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", |