Quick notes on how to bootstrap a project where you intend to use Typescript and Node.js
mkdir foo && cd foo
npx gitignore node
npm init
ssl module in Python is not available
error when using MacOS Homebrew's pyenv
and openssl
I use MacOS Homebrew and it's versions of pyenv
and openssl
. When I wanted to install a new Python package, I ran into an unexpected error:
❯ pip install llama-cpp-python
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/llama-cpp-python/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/llama-cpp-python/
^CERROR: Operation cancelled by user
This is mostly just me scratching out notes on a work in (slow) progress, and preserving knowledge for future me.
If I get to a successful end, I may polish things up into a useful guide. There are no doubt better places to find this and easier ways to do it ... but I couldn't find them, and if you've ended up here, you couldn't either. Sorry for that.
Maybe, like me, you're tired of typing a password and prefer to disable password auth for ssh anyway. Maybe, like me, you want to point VS Code at your Edge Router and be able to read configs and things. Maybe, like me, you'll discover that VS Code's Remote-SSH extension doesn't support the ERX architecture and be mildy bummed, but still happy to have passwordless SSH (via ssh-agent) and know that no password will get some rando into your ERX.
Here's how.
Cribbed from the VyOS Login/User Management docs
We've got a Kohler Mazz® kitchen faucet, model K-R72511-SD-VS, that we love the look and feel of. We've had it long enough for a number of things to go wrong, including a broken sprayer head switch and a leaky quick connect connector. We've replaced parts and fixed things and it's reached the point that notes on the internet would be helpful (at least to future me, maybe others), so here we are.
There's a faucet service parts diagram under the "Installation & Service Parts" heading; someday I'll go save the SVG for posterity and add it here.
The replacement head part number is 1235124 and cost $50 in Jan 2023. It's a
require 'irb/completion' | |
require 'rubygems' | |
# Autoload all gems in the Gemfile default set | |
require 'bundler/setup' | |
Bundler.require(:default) | |
# TODO: find a valid editor if it's not set and config it's 'edit at line' and terminal req'ts | |
# Make sure $EDITOR is set | |
ENV['EDITOR'] = 'code' unless ENV['EDITOR'] |
Being a collection of digital scribbles on my adventures with Adafruit and Mac OS, with many diversions into the nature of serial ports, &c., which may be useful to the less patient practitioner
Because gist file order is ASCIIbetical:
~
to push them below the Feather notes!
to keep them near the topI have a bunch of folks I want to export from Apple Contacts on MacOS and turn into a spreadsheet for a holiday card mail merge.
This is my clumsy way of doing it.
This is a calculation of the minimum possible latency you could possibly expect between two points, if the theoretical connection between them was completely straight and of perfect quality. This is not attainable in a modern switched network, but it's useful both to understand the amount of delay injected by network implementation and complexity, and to compare relative latencies between routes.