First, install some (probably) important libraries:
apt-get update
apt-get install libgnutls28-dev libgnutlsxx28
Download, build and install libmicrohttpd
#!/bin/bash | |
# | |
# Run this as root with the following parameters for the Odroid XU4 and | |
# the docker library directory at /z/dockerLib: | |
# | |
# sudo ./hassio_install.sh -d /z/hass -m qemuarm | |
# | |
# After it's done, it takes several minutes for Hassio-Supervisor and then | |
# Homeassistant docker containers to run and populate their configurations. | |
# You may see spurious errors in the various containers until around 5mins or |
First, install some (probably) important libraries:
apt-get update
apt-get install libgnutls28-dev libgnutlsxx28
Download, build and install libmicrohttpd
Problem: When linking to the raw version of a gist, the link changes with each revision.
Solution:
To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/
To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]
stub |
#!/usr/bin/env bash | |
# Name of my laptop to check if we're local editing | |
master_hostname="kaypro" | |
local_editor_cmd="atom" | |
# | |
# Petonic version {2016-11-20 SUN 12:54} | |
# Modified for ///READONLY/// auto -f {2016-11-26 SAT 10:01} | |
# Modified for USE_NFS mountpoint [2017-04-16 SUN 12:57] |
# | |
# .zshrc for hassio SSH | |
# | |
# Changelog: | |
# 2018-05-05 Initial | |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
export EDITOR=/usr/local/bin/rmate |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/usr/bin/env python3 | |
""" | |
This script reads in the serial log file after running an auto-tune on | |
for the extruder PID. It then takes averages of each cycle and prints out | |
the average value for each of 'p', 'i', and 'd' for all three of | |
{Classic, Overshoot, Both} sets of values. These are printed out in a | |
g-code format that is ready to cut and paste into OctoPrint's terminal | |
window. Remember to do an "M500" to save the settings after you do so. | |
This is a necessary step because unlikely enough, the Monoprice Mini firmware |