# Gitignore settings for ESPHome | |
# This is an example and may include too much for your use-case. | |
# You can modify this file to suit your needs. | |
/.esphome/ | |
/secrets.yaml | |
/wifi.yaml |
This is a diff to the Retro Tea Break: Vol. 1 PDF that fixes several problems:
- Corrects the PDF page number offset, so they match the physical book’s page numbers.
- Removes the forced page fitting from the link annotations, such as those on the contents listing page.
- Adds a document outline to the PDF, so your PDF viewer can provide direct links to chapters.
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
package org.ygl.openrndr.demos | |
import org.openrndr.application | |
import org.openrndr.color.ColorRGBa | |
import org.openrndr.color.mix | |
import org.openrndr.color.rgb | |
import org.openrndr.draw.LineCap | |
import org.openrndr.draw.LineJoin | |
import org.openrndr.extra.compositor.compose | |
import org.openrndr.extra.compositor.draw |
git clone git@github.com:Robertof/nixos-docker-sd-image-builder.git
cd nixos-docker-sd-image-builder
- modify
/config/rpi4/default.nix
to increase size of boot partition- this step is optional but I ran out of space in /boot pretty quickly with the default setting since I'm still learning and rebuilding a lot. Let's leave some room for trial & error.
sdImage.firmwareSize = 1024;
- modify
/config/sd-image.nix
./rpi3
becomes./rpi4
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim: noai:et:tw=80:ts=4:ss=4:sts=4:sw=4:ft=python | |
''' | |
Title: netbox_import.py | |
Description: Insert records from devicetype-library into NetBox | |
Author: Ricky Laney | |
Version: 0.1.5 | |
============================================================================== |
# Custom Execution Module - SUDO ACCESS | |
# tested for Centos 7 | |
import salt | |
import time | |
import os | |
import logging | |
import re | |
from datetime import datetime, timedelta | |
import subprocess |
*.db diff=sqlite3 |