| section | van | ||||||
|---|---|---|---|---|---|---|---|
| category | electrical | ||||||
| title | 24V Schematic | ||||||
| author | Stello | ||||||
| date | 2020-10-26 | ||||||
| tags |
|
| section | van | |||
|---|---|---|---|---|
| category | envelope | |||
| title | Insulation | |||
| author | Stello | |||
| data | 2020-11-5 | |||
| tags |
|
The purpose of this gist is to document the setup of VSCode + VPS to allow remote development in containers.
The reason for developing in this way is to assuage my fear of purchasing a new Mac with only 16GB of RAM that will replace my several-year-old Mac that has only 16GB of RAM. The new fancy RAM is supposed to be enough except for people that run a lot of Docker containers on Macs which uses a virtual machine, which ties up a fixed amount of RAM. With this method, the Mac runs no containers, thus no virtual machine, and thus no memory issue.
Our camera doesn't have a GPS. If we have a GPX track, we can tag all photos in a directory as follows:
- Ensure the GPX zulu + offset time matches the "Date/Time Original" field of the photos to be tagged.
exiftool -datetimeoriginal photo_to_be_tagged.jpg- Copy the GPX file into the directory with the photos to be tagged.
The purpose of this gist is to document the setup of a VNC server to allow remote desktop access on my development VPS.
There are some chome extensions (e.g. webscrapers) that I would like to run from a VPS. This way the connection quality of my present location isn't a factor.
I'm using this guide.
Installing windows 10 via UTM on apple silicon.
Some of our equipment can't be fully configured without windows (e.g., victron, wakespeed). In the past we used virtualbox but they no longer, and will probably never, support apple silicon.
This page has the instructions we followed.
This will update all MP4 files in a directory with a date in the format "YYYY:MM:DD HH:MM:SS". It was taken from an answer to this question.
exiftool -FileCreateDate="2023:02:27 17:00:00" -FileModifyDate="2023:02:27 17:00:00" -Quicktime:CreateDate="2023:02:27 17:00:00" -api QuickTimeUTC *.MP4
for i in *.m4a; do ffmpeg -i "$i" -c:a aac -b:a 256k "${i%.*}.aac"; done
To determine if alac or acc:
for i in *.m4a; do t=$(ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "$i"); echo $t $i ; done
In a mixed directory, to only convert alac to aac:
for i in *.m4a; do t=$(ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "$i"); if [ $t = 'alac' ]; then ffmpeg -i "$i" -c:a aac -b:a 256k "${i%.*}.aac" ; fi; done;