This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
rapids: | |
image: rapidsai/rapidsai:0.18-cuda11.0-runtime-ubuntu16.04-py3.8 | |
ports: | |
- "8888:8888" # Jupyter | |
- "8786:8786" # Dask communication | |
- "8787:8787" # Dask dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script belongs in /usr/lib/udev/bluetooth and should be executable | |
PA_SINK='alsa_output.platform-bcm2835_AUD0.0.analog-stereo' | |
LOG_FILE=/var/log/bluetooth_a2dp | |
MAC=$(echo "$NAME" | sed 's/:/_/g' | sed 's/\"//g') | |
# Set the user you want to run as, 'pi' would be fine for most. | |
BT_USER=btaudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
function get_loopback(){ | |
# Detect the module number module-loopback is on | |
# If it isn't loaded, then load it. | |
loopback=`pactl list short modules | grep module-loopback | awk '{print $1}'` | |
if [ "$loopback" == "" ]; then | |
loopback=`pactl load-module module-loopback` | |
fi |