You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Jason Cox
jasonacox
Maker, Learner, Engineer, Author - My Views/Opinions
- ジェイソンのコード
Use Ubuntu 24.04 server as a Time Machine backup host for MacOS computers.
Introduction
In the past I set up netatalk on our Linux servers to provide Apple Talk shares on the network. However, I discovered
Stefan Johner's post
on usig Samba with the vfs_fruit module. The Samba package provides SMB compatible file sharing
which means it works with a variety of operating systems and devices, including Windows and MacOS. The vfs_fruit module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set up RaspberryPi as Network Router to Powerwall Gateway
RaspberryPi Bridge - Powerwall Router
This will set up a Raspberry Pi to connect to a Tesla Powerwall Gateway (TEG) and bridge that connection to the ethernet connected LAN.
UPDATE for Powerwall Firmware 25.10.1+
As of Tesla Powerwall Firmware 25.10.1, a local host based static route using the Powerwall LAN IP (ie. sudo ip route add 192.168.91.1 via $POWERWALL_IP) is no longer supported by the Powerwall. Tesla is blocking access via this method. You will need to use a bridge method (as shown below) or have your host direclty connect to the WiFi Access Point on your Powerwall (gateway) to get the extended metrics (vitals).
Below is a method to set up a Raspberry Pi to be a bridge between your LAN and the Powerwall, which will require you to set up a local host baed route (ie. sudo ip route add 192.168.91.1 via $RPI_IP). Alternatively, you can see a method to host pypowerwall on Raspberry Pi that connects to both your LAN and Powerwall. That is described here: https://github.com/jasonacox/Powerwal
Calculate Pi to a defined number of decimal places using Archimedes method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Travis-CI for Xcode Mac, iOS and tvOS Development using AWS S3 for Build Storage
Travis-CI for Xcode with S3
This gist explains to set up your repo to have Travis CI build your Xcode projects for Mac, iOS and tvOS development. The binaries built from one stage will not persist between stages so you will need to store any build artifacts in S3 and import them between stages.
Setup
There are a few things that you will need to do in order to use S3 with a Mac build node:
Create S3 Bucket
Create a IAM user with permission to access S3 bucket - example: