start new:
tmux
start new with session name:
tmux new -s myname
# Download the library from twilio.com/docs/libraries | |
from twilio.rest import TwilioRestClient | |
import time | |
# Get these credentials from http://twilio.com/user/account | |
account_sid = "SECRET" | |
auth_token = "SECRET" | |
client = TwilioRestClient(account_sid, auth_token) | |
# Make the call | |
call = client.calls.create(to="+SECRET", # Any phone number | |
from_="+SECRET", # Must be a valid Twilio number |
Taken from here
Add remonte branch:
git remote add --track master mleung git://github.com/mleung/feather.git
Verify:
git remote
/* Useful celery config. | |
app = Celery('tasks', | |
broker='redis://localhost:6379', | |
backend='redis://localhost:6379') | |
app.conf.update( | |
CELERY_TASK_RESULT_EXPIRES=3600, | |
CELERY_QUEUES=( | |
Queue('default', routing_key='tasks.#'), |
# Install repo | |
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable-wireguard.list | |
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' > /etc/apt/preferences.d/limit-unstable | |
apt update | |
#unstall kernel sources headers (not sure if need both) | |
apt install libmnl-dev rbp2-headers-$(uname -r) rbp2-source-$(uname -r) build-essential pkg-config | |
#ln the build dir to kernel headers |
This tutorial will show how to, step by step, setup Arch Linux Arm and configure Kodi on a Raspberry Pi 3 Model B. Your host computer must be running Linux for this tutorial.
This should work conceptually on any Linux OS with PulseAudio but these particular instructions are for Ubuntu.
There are two major reasons for using simultaneous output. The first is self-evident - we can output to say a bluetooth
headset and wired headphones at the same time to enable two people to watch a movie with headphones on a single computer.
The second reason is a sort of a convenience for setup. We know the simultaneous sink name so the default.pa
config
would work without modification so long as simultaneous output is enabled. If we were to set this up without that,
we'd have to customize the config with our specific device sink name. That's totally doable but personally I always
setup simultaneous output. That's why I haven't described the alternative in this gist.
source: Docker en Raspberry Pi
Check version, release and keyname of OS:
$ cat /etc/debian_version
9.5
$ cat /etc/os-release
ID=osmc