Tab Sync Pro 无法登录

https://chrome.google.com/webstore/detail/jdlfehkflgfmniokcligbfdjobgapehn

点击插件,然后Debug,会发现发送一个 Account 请求,但是没有携带 Bearer Token,所以无法登录。根据请求的发起地方,设置一个断点。

1
2
3
4
5
6
7
8
async function Q(t, e) {
const s = new URLSearchParams(e);
return (await fetch(`${F}/api/${t}` + (s ? `?${s}` : ""), {
headers: {
Authorization: `Bearer ${K}`
}
})).json()
}

设置一个断点,等一会就好,应该是没有等待拿到值。

Read More

Linux 测速

互联网测速

1
2
3
4
5
6
wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest
chown root:root /usr/local/bin/speedtest

speedtest

节点间测速

1
2
3
4
5
6
7
8
sudo apt install iperf

# service
iperf -s

# client

iperf -c <SERVER_IP>