For the week ending Friday, May 17, 2024
For the week ending Friday, May 10, 2024
For the week ending Friday, May 3, 2024
For the week ending Friday, Apr 26, 2024
For the week ending Friday, Apr 19, 2024
For the week ending Friday, Apr 12, 2024
For the week ending Friday, Apr 5, 2024
For the week ending Friday, Mar 29, 2024
For the week ending Friday, Mar 22, 2024
For the week ending Friday, Mar 15, 2024
.toml
format, whereas Firebase was .json
, so it’s very nice being able to add inline comments to explain why configuration options are the way they are.For the week ending Friday, Mar 8, 2024
For the week ending Friday, Mar 1, 2024
For the week ending Friday, Feb 23, 2024
For the week ending Friday, Feb 16, 2024
For the week ending Friday, Feb 9, 2024
For the week ending Friday, Feb 2, 2024
For the week ending Friday, Jan 26, 2024
C:
in Windows instructions.For the week ending Friday, Jan 19, 2024
.env
files.For the week ending Friday, Jan 12, 2024
For the week ending Friday, Jan 5, 2024
For the week ending Friday, Dec 29, 2023
For the week ending Friday, Dec 22, 2023
For the week ending Friday, Dec 15, 2023
For the week ending Friday, Dec 8, 2023
For the week ending Friday, Dec 1, 2023
For the week ending Friday, Nov 24, 2023
For the week ending Friday, Nov 17, 2023
For the week ending Friday, Nov 10, 2023
For the week ending Friday, Nov 3, 2023
For the week ending Friday, Oct 27, 2023
For the week ending Friday, Oct 20, 2023
For the week ending Friday, Oct 13, 2023
For the week ending Friday, Oct 6, 2023
zig cc
to compile the standard uStreamer binary, but I didn’t get to the point of adding in Zig code.For the week ending Friday, Sep 29, 2023
nofollow
, so it’s not useful for SEO.
For the week ending Friday, Sep 22, 2023
apt update
call.For the week ending Friday, Sep 15, 2023
For the week ending Friday, Sep 8, 2023
For the week ending Friday, Sep 1, 2023
For the week ending Friday, Aug 25, 2023
master
branch.-ef
test in bash conditionals, which says if two paths point to the same file (e.g., with symlinks) like if [[ /path/to/a -ef /symlink/to/a ]]; then ... fi
For the week ending Friday, Aug 18, 2023
For the week ending Friday, Aug 11, 2023
git
install from a CI step.ustreamer_port
Ansible role variable.
For the week ending Friday, Aug 4, 2023
.img
files and seemed like a weird solution overall.For the week ending Friday, Jul 28, 2023
http.Client
and checking the error code of the Do
method, but we forgot to also check the HTTP status code of the response, so we didn’t notice that it was failing. It ended up looking equivalent to “succeeded but returned 0 results.”For the week ending Friday, Jul 21, 2023
For the week ending Friday, Jul 14, 2023
For the week ending Friday, Jul 7, 2023
curl
, and hurl
is basically designed to replace exactly what we were doing.For the week ending Friday, Jun 30, 2023
For the week ending Friday, Jun 23, 2023
For the week ending Friday, Jun 16, 2023
app_settings.cfg
to take Ansible out of the stackFor the week ending Friday, Jun 9, 2023
app_settings.cfg
population without AnsibleFor the week ending Friday, Jun 2, 2023
usb-gadget
service installation from Ansible to the Debian package.dwc2
kernel driver from the Debian package rather than Ansibletinypilot-privileged
directory.For the week ending Friday, May 26, 2023
usb-gadget
service definitionusb-gadget.sh
file placement in Debian packaging instead of AnsibleFor the week ending Friday, May 19, 2023
For the week ending Friday, May 12, 2023
For the week ending Friday, May 5, 2023
For the week ending Friday, Apr 28, 2023
enable-mock-scripts
For the week ending Friday, Apr 21, 2023
For the week ending Friday, Apr 14, 2023
.lintianignore
file from the TinyPilot install bundleFor the week ending Friday, Apr 7, 2023
For the week ending Friday, Mar 31, 2023
For the week ending Friday, Mar 24, 2023
For the week ending Friday, Mar 17, 2023
For the week ending Friday, Mar 10, 2023
For the week ending Friday, Mar 3, 2023
For the week ending Friday, Feb 17, 2023
For the week ending Friday, Feb 10, 2023
For the week ending Friday, Feb 3, 2023
For the week ending Friday, Jan 27, 2023
For the week ending Friday, Jan 20, 2023
tinypilot
userpi
user from pre-made TinyPilot microSD images
For the week ending Friday, Jan 13, 2023
For the week ending Friday, Jan 6, 2023
create-bundle
script
create-bundle
didn’t establish its own working directory.For the week ending Friday, Dec 30, 2022
raise werkzeug.exceptions.MethodNotAllowed(valid_methods=['POST'])
For the week ending Friday, Dec 23, 2022
ioutil.ReadAll
on TinyPilot’s update serverFor the week ending Friday, Dec 16, 2022
For the week ending Friday, Dec 9, 2022
lsb-release
during TinyPilot’s installFor the week ending Friday, Dec 2, 2022
debian-backports
repo
For the week ending Friday, Nov 25, 2022
For the week ending Friday, Nov 18, 2022
--progress=plain
when running on CircleCI
For the week ending Friday, Nov 11, 2022
For the week ending Friday, Nov 4, 2022
For the week ending Friday, Oct 28, 2022
For the week ending Friday, Oct 21, 2022
.dockerignore
to exclude files and pathsraspi-config
has a non-interactive mode, so we could simplify our instructions by giving them a bash one-liner instead of a series of interactive steps.For the week ending Friday, Oct 14, 2022
For the week ending Friday, Oct 7, 2022
For the week ending Friday, Sep 30, 2022
For the week ending Friday, Sep 23, 2022
For the week ending Friday, Sep 16, 2022
For the week ending Friday, Sep 9, 2022
For the week ending Friday, Sep 2, 2022
role="alert"
to callout boxes that are permanently on the page, but that’s apparently not the correct because screen readers treat that as content the reader should see immediatelyFor the week ending Friday, Aug 26, 2022
For the week ending Friday, Aug 19, 2022
For the week ending Friday, Aug 12, 2022
For the week ending Friday, Aug 5, 2022
For the week ending Friday, Jul 29, 2022
For the week ending Friday, Jul 22, 2022
For the week ending Friday, Jul 15, 2022
LaterThan
function for TinyPilot versions in GatekeeperFor the week ending Friday, Jul 8, 2022
For the week ending Friday, Jul 1, 2022
.tgz
format instead of simple .tar
basename
to translate URLs into folders
basename
worked on URLs? I didn’t until this week.For the week ending Friday, Jun 24, 2022
open()
calls of text files$ curl https://gk.tinypilotkvm.com/community/available-update
{"version":"725b1a1"}
For the week ending Friday, Jun 17, 2022
For the week ending Friday, Jun 10, 2022
For the week ending Friday, Jun 3, 2022
For the week ending Friday, May 27, 2022
For the week ending Friday, May 20, 2022
For the week ending Friday, May 13, 2022
For the week ending Friday, May 6, 2022
For the week ending Friday, Apr 29, 2022
README.md
For the week ending Friday, Apr 22, 2022
For the week ending Friday, Apr 15, 2022
For the week ending Friday, Apr 8, 2022
For the week ending Friday, Apr 1, 2022
For the week ending Friday, Mar 25, 2022
For the week ending Friday, Mar 18, 2022
For the week ending Friday, Mar 11, 2022
For the week ending Friday, Mar 4, 2022
For the week ending Friday, Feb 25, 2022
For the week ending Friday, Feb 18, 2022
KEY_SWITCHVIDEOMODE
keyFor the week ending Friday, Feb 11, 2022
For the week ending Friday, Feb 4, 2022
For the week ending Friday, Jan 28, 2022
For the week ending Friday, Jan 21, 2022
characters from Markdown files on the website and added a build check to prevent them from sneaking back in.For the week ending Friday, Jan 14, 2022
For the week ending Friday, Jan 7, 2022
For the week ending Friday, Dec 31, 2021
+
in their email address.For the week ending Friday, Dec 17, 2021
For the week ending Friday, Dec 10, 2021
For the week ending Friday, Dec 3, 2021
For the week ending Friday, Nov 26, 2021
For the week ending Friday, Nov 19, 2021
For the week ending Friday, Nov 12, 2021
For the week ending Friday, Nov 5, 2021
git clone
from my Windows machine even though SSH worked
GIT_SSH_COMMAND='ssh -v'
, or on Windows: $env:GIT_SSH_COMMAND = 'ssh.exe -v'
git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
For the week ending Friday, Oct 29, 2021
For the week ending Friday, Oct 22, 2021
For the week ending Friday, Oct 15, 2021
For the week ending Friday, Oct 8, 2021
For the week ending Friday, Oct 1, 2021
For the week ending Friday, Sep 24, 2021
For the week ending Friday, Sep 17, 2021
For the week ending Friday, Sep 10, 2021
For the week ending Friday, Sep 3, 2021
For the week ending Friday, Aug 27, 2021
apt-get update
on Debian 10, it errors out because it wants you to explicitly accept that the apt repositories have switched from stable
to oldstable
--allow-releaseinfo-change-suite
, which says, “Yes, it’s okay if stable switches to oldstable, I still want to update.”For the week ending Friday, Aug 20, 2021
For the week ending Friday, Aug 13, 2021
For the week ending Friday, Aug 6, 2021
For the week ending Friday, Jul 30, 2021
For the week ending Friday, Jul 23, 2021
For the week ending Friday, Jul 16, 2021
For the week ending Friday, Jul 9, 2021
Sec-Fetch-Site
header to cross-site
, whereas when you type the URL directly, it’s set to none
.local
domain from the URL (it includes the cookies in that case).local
suffix, instead of redirecting to HTTPS URLs, nginx redirects to plaintext HTTP URLs, but when you strip the .local
suffix, it redirects to the correct HTTPS URLsFor the week ending Friday, Jul 2, 2021
For the week ending Friday, Jun 25, 2021
fetch
, so I didn’t know how to distinguish between the server responding successfully and returning an error (e.g., an HTTP 400) and the network failing so that it triggered the catch
success
and error
fields, so the JavaScript code ignored the HTTP code and only looked at the JSON objects.success
and error
fields and switched to conventional HTTP status codessuccess
and error
fields in the response and it rejects responses that don’t have them, so updates broke because they need to query the new backend to verify that the update succeeded, except they didn’t recognize the response.For the week ending Friday, Jun 18, 2021
For the week ending Friday, Jun 11, 2021
For the week ending Friday, Jun 4, 2021
For the week ending Friday, May 28, 2021
rel=canonical
tag on the original post to point to the new location.For the week ending Friday, May 21, 2021
mtlynch
account and into the official TinyPilot orgFor the week ending Friday, May 14, 2021
https://tinypilot.local
, you’d see a certificate error because the TLS certificate was only signed for the URL https://tinypilot
tinypilot
, tinypilot.local
, and tinypilot.localdomain
.For the week ending Friday, May 7, 2021
1.2.3
1.2.3-beta
is considered a valid semver stringdistutils.version
module also can do it (though it’s not officially documented)--brightness
flag for ansible-role-ustreamerFor the week ending Friday, Apr 30, 2021
--brightness
flag in ansible-role-ustreamerFor the week ending Friday, Apr 23, 2021
For the week ending Friday, Apr 16, 2021
For the week ending Friday, Apr 9, 2021
For the week ending Friday, Apr 2, 2021
For the week ending Friday, Mar 26, 2021
title
tag on all TinyPilot Pro pages
For the week ending Friday, Mar 19, 2021
For the week ending Friday, Mar 12, 2021
For the week ending Friday, Mar 5, 2021
For the week ending Friday, Feb 26, 2021
HEAD
For the week ending Friday, Feb 19, 2021
--force
, but that re-pulls every role regardless of whether the installed version is behind the required version.For the week ending Friday, Feb 12, 2021
cryptography
package’s new dependency on Rust broke me in a few placestests
folder with a subfolder structure that mirrored my production code.foo.py
and foo_test.py
rather than test_foo.py
even though the latter is standard. But the foo_test.py
way, the test and production files appear adjacent to each other in most file views, so I am cautiously bucking standards there.sudoers
file so that it can’t generate duplicate lines or corrupt the file.For the week ending Friday, Feb 5, 2021
For the week ending Friday, Jan 29, 2021
For the week ending Friday, Jan 22, 2021
/opt/tinypilot/scripts/upgrade
, but I moved it, so I updated instructions to point to the new location.sudo
For the week ending Friday, Jan 15, 2021
For the week ending Friday, Jan 8, 2021
For the week ending Friday, Jan 1, 2021
tinypilot
For the week ending Friday, Dec 25, 2020
meta
folder, which causes any parent roles to install and run automatically before yours. The problem is that if you do it that way, you can’t parameterize the installs of the parent roles.import_role
, which gives me more control over the nginx installation.For the week ending Friday, Dec 18, 2020
For the week ending Friday, Dec 11, 2020
code
field of JavaScript key events and work in terms of the key’s physical location rather than what symbol it mapped to. If I tell the target OS which physical key the user pushed, the OS takes responsibility for mapping that to the correct symbol. That cut out half my keyboard logic and gave me instant compatibility with most keyboard layouts like French (AZERTY), German, and Japanese.pip freeze > requirements.txt
requirements.txt
and lamented the lack of a package-lock.json
equivalent, when apparently it’s been sitting right in front of me the whole time.For the week ending Friday, Dec 4, 2020
code
property on JS keyboard events indicates the physical key regardless of how it’s labeled.
Q
key is labeled A
, but it turns out that regardless of language or layout, the key in that position always generates a keyboard event with code=KeyQ
.For the week ending Friday, Nov 27, 2020
For the week ending Friday, Nov 20, 2020
For the week ending Friday, Nov 13, 2020
For the week ending Friday, Nov 6, 2020
For the week ending Friday, Oct 30, 2020
For the week ending Friday, Oct 23, 2020
For the week ending Friday, Oct 16, 2020
For the week ending Friday, Oct 9, 2020
.img
files.For the week ending Friday, Oct 2, 2020
pip install molecule
before you pip install ansible
, molecule automatically installs the latest version of Ansible.For the week ending Friday, Sep 25, 2020
For the week ending Friday, Sep 18, 2020
For the week ending Friday, Sep 11, 2020
For the week ending Friday, Sep 4, 2020
For the week ending Friday, Aug 28, 2020
For the week ending Friday, Aug 21, 2020
For the week ending Friday, Aug 14, 2020
.img
.tinypilot
own the TinyPilot directory rather than leave it to root
.--tcp_nodelay
flag in ansible-role-ustreamer.For the week ending Friday, Aug 7, 2020
For the week ending Friday, Jul 31, 2020
requirements.txt
.For the week ending Friday, Jul 24, 2020
dd
onto every SD card, but whenever I try it fails, so I end up with this very manual process of writing a stock Raspberry Pi OS image, booting it, then installing everything on the live system.tinypilot
.For the week ending Friday, Jul 17, 2020
For the week ending Friday, Jul 10, 2020
.img
file for the microSD cards