One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
#!/usr/bin/env bash | |
set -euo pipefail | |
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/Library/Caches}/wrapper-1password" | |
CACHE_FILE="$CACHE_DIR/session-token.yaml" | |
OP_LOCATION="$(command -v op)" | |
mkdir -p "$CACHE_DIR" |
#!/usr/bin/env bash | |
git config --global core.pager delta | |
git config --global interactive.diffFilter "delta --color-only" | |
git config --global delta.navigate true | |
git config --global merge.conflictstyle zdiff3 |
package main | |
import ( | |
"golang.org/x/oauth2" | |
"github.com/google/go-github/github" | |
"context" | |
"fmt" | |
"time" | |
"os" | |
"log" |
First run ths install.sh
script
Then add an environment variable so tools you use that use docker can find docker
## Add this to your bashrc if you want this to be permenant
export DOCKER_HOST=ssh://localhost:60006
This will need the lima vm for docker running, you can do that by running
#!/usr/bin/env python | |
import json | |
import logging | |
import subprocess | |
import sys | |
import textwrap | |
from typing import Literal, Sequence, TypedDict, Union | |
from urllib.error import HTTPError | |
from urllib.request import Request, urlopen |
FROM golang:1.9 | |
WORKDIR /go/src/github.com/purplebooth/example | |
COPY . . | |
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
FROM scratch | |
COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
CMD ["/main"] |