Skip to content

Instantly share code, notes, and snippets.

View IgniparousTempest's full-sized avatar

Courtney Pitcher IgniparousTempest

View GitHub Profile
@IgniparousTempest
IgniparousTempest / rpi3_bluetooth_audio_receiver.MD
Created January 24, 2018 14:36
Raspberry Pi 3 as Bluetooth speaker

Append /boot/config.txt with:

# Removes audio hiss
audio_pwm_mode=2

Install BT-Speaker:

sudo -i
bash <(curl -s https://raw.githubusercontent.com/lukasjapan/bt-speaker/master/install.sh)
@IgniparousTempest
IgniparousTempest / Jetbrains-and-Cygwin-instructions.md
Created October 9, 2018 09:19
Jetbrains IntelliJ/PyCharm/CLion/etc and Cygwin integration
  • File > Settings > Tools > Terminal
  • And enter this in the Shell path box:
  • "c:\cygwin64\bin\env.exe" CHERE_INVOKING=1 /bin/zsh -l

List all torrents

transmission-remote -l

Remove torrent

transmission-remote -t --remove

Add torrent from magnet

transmission-remote -a "magnet:?..."

@IgniparousTempest
IgniparousTempest / Ubuntu_16.06_PCL_1.8.0_install.sh
Last active June 2, 2021 07:28
Install PCL 1.8.0 on Ubuntu 16.04
# Clone latest PCL
sudo apt-get update
sudo apt-get install git
cd ~/Documents
git clone https://github.com/PointCloudLibrary/pcl.git pcl-trunk
ln -s pcl-trunk pcl
cd pcl
# Install prerequisites
@IgniparousTempest
IgniparousTempest / client.py
Last active June 3, 2021 12:57
Python SocketIO server to server communication: socketIO-client to Flask-SocketIO
from socketIO_client import SocketIO, BaseNamespace
class ChatNamespace(BaseNamespace):
def on_connect(self):
print('connect')
self.emit('message', {'author': 'Client', 'message': {'author': 'Client', 'message': 'Hello, Server!'})
def on_disconnect(self):