Skip to content

Instantly share code, notes, and snippets.

@hging
hging / verify_google_ips.sh
Created May 4, 2023 10:21 — forked from oasisfeng/verify_google_ips.sh
Shell script to verify connectable Google IPs
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <IP>[/subnet]"
exit 1
fi
for ip in $(nmap -sL $1 | awk '/Nmap scan report/{print $NF}'); do {
ip=$(echo $ip | tr -d '()')
output=$(curl --connect-to :443:$ip:443 --connect-timeout 5 --verbose --head https://www.google.com.hk 2>&1)
app.post('/bind', async (req, res) => {
const wsProvider = new WsProvider('wss://galois-hk.maiziqianbao.net/ws');
const api = await ApiPromise.create({
provider: wsProvider,
types: {
"Address": "MultiAddress",
"LookupSource": "MultiAddress",
"Account": {
"nonce": "U256",
"balance": "U256"
@hging
hging / list.md
Last active September 9, 2020 09:20
Game Todo List

技术部分:

  • 游戏代码(雷霆传奇H5)
  • 原始代码可运行
  • 首次充值文案修改
  • 普通充值文案修改
  • 充值奖励等文案修改
  • 游戏注册
  • 节点充值功能
  • 游戏充值
  • 域名(polkagame.org)
@hging
hging / keybase
Last active September 25, 2017 10:22
### Keybase proof
I hereby claim:
* I am hging on github.
* I am hging (https://keybase.io/hging) on keybase.
* I have a public key ASCPScnWub_eB904YtY1TzR8qHW_UBMELiS3gHaX80MKvgo
To claim this, I am signing this object: