在BB编辑框中选择HTML源代码模式,首先粘贴如下代码[^1],导入MathJax渲染组件:
<p>
<script type="text/javascript" async="" src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script>
</p>| #!/bin/bash | |
| # Map API Benchmark Script | |
| # Usage: MAPTILER_KEY=your_key ./benchmark_map_apis.sh | |
| set -euo pipefail | |
| # Check if MAPTILER_KEY is set | |
| if [[ -z "${MAPTILER_KEY:-}" ]]; then | |
| echo "Error: MAPTILER_KEY environment variable is not set" |
| DOMAIN-SUFFIX,cuhk.edu.cn |
| // Domestic Publisher | |
| DOMAIN-KEYWORD,cnki.net | |
| DOMAIN-KEYWORD,wanfangdata | |
| DOMAIN-SUFFIX,archive.nstl.gov.cn | |
| DOMAIN-SUFFIX,nssd.org | |
| // International Publisher | |
| DOMAIN-SUFFIX,sciencedirect.com | |
| DOMAIN-SUFFIX,researchgate.net | |
| DOMAIN-SUFFIX,springer.com |
| ########### on all devices ######### | |
| # install the driver for rtl-8811 | |
| sudo apt install rtl8812au-dkms | |
| # load the driver | |
| sudo modprobe 8812au | |
| # disable network manager | |
| sudo systemctl stop NetworkManager && sudo systemctl disable NetworkManager | |
| ########### on ap only ############# |
| #!/usr/bin/env python3 | |
| from itertools import permutations | |
| ''' | |
| for a permutation to be valid | |
| A - B | |
| A - C | |
| A - D | |
| B - E | |
| B - G |
| import math | |
| import itertools | |
| possible_set = set() | |
| def check_match(guess, target): | |
| count_exact = 0 | |
| count_guess = 0 | |
| for i in range(4): |
| [POST] | |
| http://sysprint.cuhk.edu.cn:8119/console/printManager | |
| action_name:GetJobListByUser | |
| user_name:dengyangzhou |
| import requests | |
| import json | |
| url = "http://cloudprint.cuhk.edu.cn/mobileproxy/printersdetail" | |
| req = requests.get(url) | |
| req.encoding = 'utf-8' | |
| a = req.text | |
| # print(req.encoding) | |
| b = json.loads(a) |
I hereby claim:
To claim this, I am signing this object: