Skip to content

Instantly share code, notes, and snippets.

View fno2010's full-sized avatar
🎯
Focusing

Jensen Zhang fno2010

🎯
Focusing
View GitHub Profile
@fno2010
fno2010 / as-stats.csv
Last active January 4, 2024 05:54
Internet passive traffic monitor per AS
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 2 columns, instead of 3 in line 4.
4766 KIXS-AS-KR Korea Telecom, KR 263161132364
4713 OCN NTT Communications Corporation, JP 168385172297
17676 GIGAINFRA Softbank BB Corp., JP 87207705774
4808 CHINA169-BJ China Unicom Beijing Province Network, CN 48233720205
7922 COMCAST-7922 - Comcast Cable Communications, LLC, US 41320841657
4538 ERX-CERNET-BKB China Education and Research Network Center, CN 38667054113
4134 CHINANET-BACKBONE No.31,Jin-rong Street, CN 31403702767
721 DNIC-ASBLK-00721-00726 - DoD Network Information Center, US 18121993456
6713 IAM-AS, MA 17832053566
7018 ATT-INTERNET4 - AT&T Services, Inc., US 15573000559
@fno2010
fno2010 / as-stats.csv
Created April 22, 2021 09:06
Internet passive traffic monitor per AS
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 2 columns, instead of 3 in line 4.
4766 KIXS-AS-KR Korea Telecom, KR 263161132364
4713 OCN NTT Communications Corporation, JP 168385172297
17676 GIGAINFRA Softbank BB Corp., JP 87207705774
4808 CHINA169-BJ China Unicom Beijing Province Network, CN 48233720205
7922 COMCAST-7922 - Comcast Cable Communications, LLC, US 41320841657
4538 ERX-CERNET-BKB China Education and Research Network Center, CN 38667054113
4134 CHINANET-BACKBONE No.31,Jin-rong Street, CN 31403702767
721 DNIC-ASBLK-00721-00726 - DoD Network Information Center, US 18121993456
6713 IAM-AS, MA 17832053566
7018 ATT-INTERNET4 - AT&T Services, Inc., US 15573000559
@fno2010
fno2010 / as-stats.csv
Created April 22, 2021 09:06
Internet passive traffic monitor per AS
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 2 columns, instead of 3 in line 4.
4766 KIXS-AS-KR Korea Telecom, KR 263161132364
4713 OCN NTT Communications Corporation, JP 168385172297
17676 GIGAINFRA Softbank BB Corp., JP 87207705774
4808 CHINA169-BJ China Unicom Beijing Province Network, CN 48233720205
7922 COMCAST-7922 - Comcast Cable Communications, LLC, US 41320841657
4538 ERX-CERNET-BKB China Education and Research Network Center, CN 38667054113
4134 CHINANET-BACKBONE No.31,Jin-rong Street, CN 31403702767
721 DNIC-ASBLK-00721-00726 - DoD Network Information Center, US 18121993456
6713 IAM-AS, MA 17832053566
7018 ATT-INTERNET4 - AT&T Services, Inc., US 15573000559
@fno2010
fno2010 / gfwlist.pac
Created January 10, 2021 09:40
gfwlist.pac
/**
* genpac 2.1.0 https://github.com/JinnLynn/genpac
* GFWList Last-Modified: 2020-12-26 00:34:23
*/
var proxy = 'SOCKS5 192.168.1.1:1080';
var rules = [
[
[],
[]
@fno2010
fno2010 / .surfingkeys.js
Last active January 2, 2022 12:08
Surfingkeys dot configuration file
// Migrate settings to 1.0
// Refer to: https://github.com/brookhong/Surfingkeys/wiki/Migrate-your-settings-from-0.9.74-to-1.0
const {
aceVimMap,
mapkey,
imap,
imapkey,
getClickableElements,
vmapkey,
map,
@fno2010
fno2010 / check-json-content-length.sh
Last active January 4, 2022 15:59
Check JSON Content Length for Cost-Calendar Document
#!/bin/bash
for i in $(find -name '*.json'); do
echo $i
curl --http1.1 --data-binary @$i \
-v -H 'Content-Type: application/json' \
example.com 2>&1 -o /dev/null | grep -Fi '> Content-Length'
done
@fno2010
fno2010 / .surfingkeys.js
Created January 23, 2019 19:40
Local settings for chrome surfingkeys
// set theme
// settings.theme = `
// .sk_theme {
// background: #000;
// color: #fff;
// }
// .sk_theme tbody {
// color: #fff;
// }
// .sk_theme input {
@fno2010
fno2010 / wacom-mac-remover.sh
Created December 14, 2018 19:42
Clear all the installed files by Wacom Driver
#/bin/bash
# Clear all the installed files by Wacom Driver
rm -rf /Applications/Wacom\ Tablet.localized
rm -rf /Applications/Pen\ Tablet.localized
rm -rf /Library/Application\ Support/Tablet
rm -rf /Library/Extensions/Wacom\ Tablet.kext
@fno2010
fno2010 / wacom-mac-remover.sh
Created December 14, 2018 19:31
Clear all the installed files by Wacom Driver
#/bin/bash
# Clear all the installed files by Wacom Driver
rm -rf /Applications/Wacom\ Tablet.localized
rm -rf /Applications/Pen\ Tablet.localized
rm -rf /Library/Application\ Support/Tablet
rm -rf /Library/Extensions/Wacom\ Tablet.kext