Turn on Bluetooth on mobile device and run bluetooth scan on raspberry pi.
hcitool scan
hcitool cc <BT MAC>
hcitool auth <BT MAC>
Create the following script and add it to /etc/rc.local
.
#!/bin/bash
Turn on Bluetooth on mobile device and run bluetooth scan on raspberry pi.
hcitool scan
hcitool cc <BT MAC>
hcitool auth <BT MAC>
Create the following script and add it to /etc/rc.local
.
#!/bin/bash
#!/bin/sh | |
sudo apt update && sudo apt upgrade | |
sudo apt install -y vim dnsmasq netatalk hfsplus hfsutils hfsprogs gdisk |
int64_t signext(uint64_t val, uint64_t bytes) { | |
uint64_t bits = 8 * bytes; | |
uint64_t bitmask = (1 << bits) - 1; | |
uint64_t value = bitmask & val; | |
uint64_t mask = 1 << (bits-1); | |
if (mask & val) { | |
value |= ((uint64_t)-1) ^ bitmask; | |
} | |
return value; | |
} |
I hereby claim:
To claim this, I am signing this object:
wget -nc http://llvm.org/releases/3.3/cfe-3.3.src.tar.gz | |
wget -nc http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz | |
rm -rf llvm | |
mkdir -p llvm | |
tar xfz llvm-3.3.src.tar.gz -C llvm --strip-components=1 | |
mkdir -p llvm/tools/clang | |
tar xfz cfe-3.3.src.tar.gz -C llvm/tools/clang --strip-components=1 | |
mkdir -p build | |
cd build |
I hereby claim:
To claim this, I am signing this object: