Skip to content

Instantly share code, notes, and snippets.

View benmoss's full-sized avatar
🙈

Ben Moss benmoss

🙈
View GitHub Profile
@benmoss
benmoss / instructions.md
Created September 22, 2024 15:29
instructions on how to install the Ergatta app on a different Android tablet/device

Since several people have asked I'll post how anyone can do this, and it's not actually that complicated since I've already gotten the apk file and so can share that.

  1. If you don't already have a tablet you want to use you'll need to get one, I got the Amazon Fire HD 10
  2. On the Android device you want to use as your new Ergatta device download the Ergatta apk file from either my Google Drive or this short URL version of it: https://shorturl.at/IbRzJ
  3. You can use Chrome or whatever browser you have (Amazon Silk, etc). You might need to bypass some security restrictions on the device to download install this file. On my Fire's Silk Browser it prompted me that installing this app might be dangerous etc, but shows you how to bypass.
  4. Remove the old Ergatta tablet from your rower
  5. Attach the USB cable that was going into your old tablet into your new tablet, I'm using one of
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package leetcode
import (
"testing"
"github.com/stretchr/testify/assert"
)
func highlight(text string, highlights []string) string {
var result string
set -euxo pipefail
echo "--- hacking the gibson"
sleep 5m
echo "--- done hacking"
exit $((RANDOM % 2))
---
apiVersion: packaging.carvel.dev/v1alpha1
kind: PackageRepository
metadata:
name: some-repo
spec:
fetch:
inline:
paths:
derp: hi
Running 'kctrl package repository update -r test-package-repository --url index.docker.io/k8slt/kc-e2e-test-repo:latest -n kctrl-test --yes'...
package_repository_test.go:118:
Error Trace: package_repository_test.go:118
e2e.go:14
package_repository_test.go:110
Error: "Target cluster 'https://192.168.49.2:8443' (nodes: minikube)
Waiting for package repository to be updated
12:19:15PM: Waiting for package repository reconciliation for 'test-package-repository'
#1 [internal] load build definition from Dockerfile
#1 sha256:5fb66c305f02041b021aff177156d7b2e508c31dea43d5d08ad649d2a34417a6
#1 transferring dockerfile: 38B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:f33dfd6acb430a8bec3d0b50726cbc57df22252e925baf0cce38f5c9071744a2
#2 transferring context: 34B done
#2 DONE 0.0s
Target cluster 'https://192.168.49.2:8443' (nodes: minikube)
kapp-controller | starting build (using Docker buildx): . -> kbld:rand-1657660239543202722-1855444247139-kapp-controller
kapp-controller | #1 [internal] load build definition from Dockerfile
kapp-controller | #1 transferring dockerfile: 32B done
kapp-controller | #1 DONE 0.0s
kapp-controller |
kapp-controller | #2 [internal] load .dockerignore
kapp-controller | #2 transferring context: 34B done
kapp-controller | #2 DONE 0.0s
kapp-controller |
+ export CGO_ENABLED=0
+ CGO_ENABLED=0
+ go mod vendor
+ go mod tidy
+ go fmt ./cmd/... ./pkg/...
+ go build -trimpath -mod=vendor -o controller ./cmd/controller/...
+ ls -la ./controller
-rwxrwxr-x 1 cesium cesium 70411152 Jul 12 17:08 ./controller
+ ./hack/gen-crds.sh
+ ytt -f config/
apiVersion: data.packaging.carvel.dev/v1alpha1
kind: Package
metadata:
name: my-package
spec:
refName: my-package.test.carvel.dev
template: # type of App CR
spec:
fetch:
- imgpkgBundle: