| name | pnpm11-migration |
|---|---|
| description | Step-by-step guide for migrating a Podman Desktop extension from pnpm v10 to v11. Covers config relocation, workspace YAML format, Containerfile updates, CI workflow fixes, and common pitfalls. Triggers when upgrading pnpm to v11 or fixing pnpm v11 compatibility issues. |
Related issue: NVIDIA/OpenShell#1792
Run a mitmproxy with HTTPS connection:
$ mkdir -p $HOME/.mitmproxy
$ podman run -d --name mitmproxy -p 8080:8080 \
-v "$HOME/.mitmproxy:/home/mitmproxy/.mitmproxy" \
mitmproxy/mitmproxy mitmdump -p 8080
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
| #!/bin/sh | |
| # Download and run openshell gateway on macOS X (ARM64). | |
| # Execute this script from an empty directory | |
| # Tested with OpenShell v0.0.59 | |
| set -e | |
| ARCH="aarch64-apple-darwin" | |
| # Check if openssl is available |
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
| commands: | |
| - exec: | |
| commandLine: npm install | |
| component: runtime | |
| group: | |
| isDefault: true | |
| kind: build | |
| workingDir: /project | |
| id: install | |
| - exec: |
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
| #!/bin/bash | |
| while : ; do | |
| go run main.go & | |
| fswatch -xrn1 -m inotify_monitor --event Created --event Removed --event Updated --event Renamed . | |
| killall main | |
| done |
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
| // Package p contains a Firestore Cloud Function. | |
| package p | |
| import ( | |
| "context" | |
| "errors" | |
| "fmt" | |
| "log" | |
| "os" | |
| "strings" |
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
| package p | |
| // Score represents the Score collection in Firestore | |
| type Score struct { | |
| Uid string | |
| Name string | |
| Points int | |
| Details string | |
| Country string | |
| } |
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
| package p | |
| import ( | |
| "errors" | |
| "fmt" | |
| "strconv" | |
| ) | |
| // FirestoreValue holds Firestore fields. | |
| type FirestoreValue struct { |
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
| // Package p contains a Firestore Cloud Function. | |
| package p | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "cloud.google.com/go/functions/metadata" | |
| ) |
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
| module cloudfunction | |
| require cloud.google.com/go v0.34.0 |
NewerOlder