Skip to content

Instantly share code, notes, and snippets.

View de-conf's full-sized avatar
🎯
调焦

deconf de-conf

🎯
调焦
View GitHub Profile
@de-conf
de-conf / bluetooth_serial.md
Last active September 14, 2023 10:21 — forked from 0/bluetooth_serial.md
Connecting a Bluetooth device for serial communication on Arch Linux.

The following are instructions for connecting a Bluetooth device for serial communication on Arch Linux using BlueZ 5.31.

Prerequisites

The following packages are required:

  • bluez: bluetoothd
  • bluez-utils: bluetoothctl, rfcomm
@de-conf
de-conf / BaiduPCS-appid-getter.py
Created October 29, 2018 05:51 — forked from pcmid/BaiduPCS-appid-getter.py
获取有效的百度app_id
from __future__ import print_function
import requests
import threading
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)