Skip to content

Instantly share code, notes, and snippets.

View jamexhuang's full-sized avatar
🏠
Working from home

James Huang jamexhuang

🏠
Working from home
View GitHub Profile
{
"version": "v2",
"content": {
"messages": [
{
"type": "image",
"url": "https://smokeping-tfn-tpe-1.kkbox.com.tw/smokeping/images/Cloud/aws_amazon_com_curl_https_last_10800.png",
"buttons": []
}
],
@jamexhuang
jamexhuang / keybase.md
Created January 1, 2019 08:07
keybase.md

Keybase proof

I hereby claim:

  • I am DarkXrabbit on github.
  • I am darkxrabbit (https://keybase.io/darkxrabbit) on keybase.
  • I have a public key whose fingerprint is 9826 D592 9B5A D8E5 B0E9 B988 FFD8 EC2F 3AB0 C38E

To claim this, I am signing this object:

@jamexhuang
jamexhuang / net.sh
Created November 28, 2017 15:26
net mon
#!/bin/bash
ethn=$1
while true
do
RX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $2}')
TX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $10}')
sleep 1
RX_next=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $2}')
### Keybase proof
I hereby claim:
* I am darkxrabbit on github.
* I am darkxrabbit (https://keybase.io/darkxrabbit) on keybase.
* I have a public key ASBtucUGCBRMvj1pcmKzpLNPuWOvnTeEaZAum6FbMysozQo
To claim this, I am signing this object: