Skip to content

Instantly share code, notes, and snippets.

View oowl's full-sized avatar
🃏
Focusing

Jun Ouyang oowl

🃏
Focusing
View GitHub Profile
@oowl
oowl / gist:133986e8c3d51c1042a0eb0811df0c41
Last active February 4, 2021 13:00
mtr ip location
#!/usr/bin/env python3
import sys
import re
import ipaddress
import requests
baseurl = "https://btapi.ipip.net/host/info"
user_agent = "ipip/tt"
accept_encoding = 'gzip'
ip_re = re.compile(r'''

Keybase proof

I hereby claim:

  • I am attenuation on github.
  • I am attenuation (https://keybase.io/attenuation) on keybase.
  • I have a public key ASDLRMBhpMi7MjoDKYdFdayX2nn48qGc74EEqyFBRiR5cgo

To claim this, I am signing this object:

[ 0.502228] NET: Registered protocol family 17
[ 0.502807] RAS: Correctable Errors collector initialized.
[ 0.502866] microcode: sig=0x306d4, pf=0x40, revision=0x2b
[ 0.502952] microcode: Microcode Update Driver: v2.2.
[ 0.502965] sched_clock: Marking stable (502944481, 0)->(487542975, 15401506)
[ 0.503232] registered taskstats version 1
[ 0.503233] Loading compiled-in X.509 certificates
[ 0.503254] zswap: loaded using pool lzo/zbud
[ 0.507613] Key type big_key registered
[ 0.507618] AppArmor: AppArmor sha1 policy hashing enabled
@oowl
oowl / gist:aae80a2c9fd861adcea2850ffb9a991e
Created September 14, 2018 13:26
chromebook pixel 2015 audio problem dmesg
[ 2.251862] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.256468] SCSI subsystem initialized
[ 2.260928] ACPI: bus type USB registered
[ 2.260953] usbcore: registered new interface driver usbfs
[ 2.260962] usbcore: registered new interface driver hub
[ 2.260991] usbcore: registered new device driver usb
[ 2.266875] libata version 3.00 loaded.
[ 2.267956] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 2.267963] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 2.269039] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x000000000004b810