Skip to content

Instantly share code, notes, and snippets.

Avatar

Courtney Pitcher IgniparousTempest

View GitHub Profile
View transmission-remote-cheatsheet.md

List all torrents

transmission-remote -l

Remove torrent

transmission-remote -t --remove

Add torrent from magnet

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

@IgniparousTempest
IgniparousTempest / Jetbrains-and-Cygwin-instructions.md
Created Oct 9, 2018
Jetbrains IntelliJ/PyCharm/CLion/etc and Cygwin integration
View Jetbrains-and-Cygwin-instructions.md
  • File > Settings > Tools > Terminal
  • And enter this in the Shell path box:
  • "c:\cygwin64\bin\env.exe" CHERE_INVOKING=1 /bin/zsh -l
@IgniparousTempest
IgniparousTempest / rpi3_bluetooth_audio_receiver.MD
Created Jan 24, 2018
Raspberry Pi 3 as Bluetooth speaker
View rpi3_bluetooth_audio_receiver.MD

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)
View Ubuntu_16.06_PCL_1.8.0_install.sh
# 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 Jun 20, 2017
Python SocketIO server to server communication: socketIO-client to Flask-SocketIO
View client.py
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):
You can’t perform that action at this time.