Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| module.exports.parse = ({ content, name, url }, { yaml, axios, notify }) => { | |
| if (content && content.rules) { | |
| const targets = ["国外流量"] | |
| for (const target of targets) { | |
| const hasTarget = content.rules.some((ele) => ele.includes(target)) | |
| if (hasTarget) { | |
| const domainSuffixes = [ | |
| "rs", "io", "npmjs.org", "notion.so", "etherscan.io", | |
| ] | |
| for (const domain of domainSuffixes) { |
| package main | |
| import ( | |
| "crypto/rand" | |
| "fmt" | |
| "github.com/babylonchain/babylon/crypto/eots" | |
| ) | |
| func main() { |
| [package] | |
| name = "counter" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| [dependencies.windows] | |
| version = "0.52" | |
| features = [ |
| const txHash = '0x...'; | |
| const contract = await hre.ethers.getContractAt(FIXME); | |
| const tx = await hre.ethers.provider.getTransaction(txHash) | |
| try { | |
| let code = await hre.ethers.provider.call(tx, tx.blockNumber) | |
| } catch (err) { | |
| const code = err.data.replace('Reverted ',''); | |
| console.log(code); | |
| console.log(contract.interface.parseError(code)); | |
| } |
| # autocompletion | |
| import rlcompleter | |
| import pdb | |
| pdb.Pdb.complete=rlcompleter.Completer(locals()).complete | |
| # show source code context before and after current line | |
| alias n next ;; l | |
| alias s step ;; l | |
| alias u up ;; l |
pake https://www.desmos.com/scientific --name "ScientificCalculator"Jailed status = to be removed from the active validator set
You will be removed from active set for two reasons:
500 = SignedBlocksWindow * MinSignedPerWindow = 10000 * 0.05
1. [本地] VSCode 安装 Remote VSCode
2. [服务器] 安装 https://github.com/aurora/rmate
sudo wget -O /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate
sudo chmod a+x /usr/local/bin/rmate3. [本地] VSCode 运行
| redis.replicate_commands(); | |
| local delayBucket = "dq_delay_bucket"; | |
| local readyQueuePrefix = "dq_ready_"; | |
| while true do | |
| local first = redis.call("ZRANGE", delayBucket, 0, 0, "WITHSCORES"); | |
| local currTime = redis.call("TIME"); | |
| if first[2] == nil then |