Skip to content

Instantly share code, notes, and snippets.

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

hpsaturn

🏠
Working from home
View GitHub Profile
@hpsaturn
hpsaturn / bluetooth_serial.md
Created April 6, 2020 09:44 — 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
@hpsaturn
hpsaturn / ubuntu-cli-install-android-sdk.sh
Created April 25, 2018 03:37 — forked from xiaokangwang/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make expect # NDK stuff