I had a very specific configuration I was trying to get working for personal usage. After a bunch of running in circles, this was the result. I figured I'd stick it somewhere public in case anyone else finds it useful.
https://github.com/tetele/onju-voice-satellite
This Gist will no longer be maintained, please check out the new location for the config.
Ever since voice satellites were introduced to Home Assistant, people wanted to use good microphones and speakers for this purpose, but not many were really available.
####### | |
## These results are still open to the public. See | |
## https://blog.ktz.me/the-best-media-server-cpu-in-the-world/ | |
## for analysis of them. | |
# https://github.com/ironicbadger/quicksync_calc | |
# zoidberg - dell 7040 sff pc | |
CPU TEST FILE BITRATE TIME AVG_FPS AVG_SPEED AVG_WATTS | |
i5-6600T h264_1080p_cpu ribblehead_1080p_h264 18952 kb/s 116.352s 29.88 1.04x N/A |
Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals receiveced an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.
This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.
The mix phx.new archive can now be installed via hex, for a simpler, versioned installation experience.
To grab the new archive, simply run:
# app deps | |
sudo yum install git | |
# erlang deps | |
sudo yum groupinstall "Development Tools" | |
sudo yum install ncurses-devel openssl-devel | |
# erlang | |
wget http://www.erlang.org/download/otp_src_19.2.tar.gz | |
tar -zxvf otp_src_19.2.tar.gz |
#!/usr/bin/env python | |
"""Convert private keys saved in LastPass back to a usable format. | |
1. Copy-paste key from Secure Note to a local file. | |
2. Run this script passing the file as an argument. | |
3. Formatted key prints to stdout. | |
Example: | |
python rebuild_key.py ~/.ssh/keys/why_lastpass_why > ~/.ssh/keys/fixed | |
""" |
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py | |
$ cd <download location> | |
$ sudo -H python ./get-pip.py | |
Installing pip also installs Python3 | |
To run Python3 | |
$ python3 | |
Install pip3 by just executing the same file as in the step above, but this time using Python3 | |
$ sudo -H python3 ./get-pip.py |
#!/bin/bash | |
# | |
# Note, to pull a file from s3 use "s3cmd get s://bucket/file destinationfile" | |
# You must have the proper .s3cfg file in place to decrypt the file. | |
# You may also use "gpg encryptedfile" and supply the encryption code if you download | |
# from the web interface. Good luck. | |
# The bucket should be set to transfer to Glacier. To retreive, you need to initiate a |