- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| #!/bin/sh | |
| RELEASE=$(/usr/local/bin/go list -m -f '{{.Version}}' go@latest) | |
| GO_FILE=go${RELEASE}.linux-amd64.tar.gz | |
| BIN=https://go.dev/dl/${GO_FILE} | |
| echo "download $GO_FILE from $BIN ..." |
| { | |
| "explorer.fileNesting.enabled": true, | |
| "explorer.fileNesting.patterns": { | |
| "package.json": ".eslint*, prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*", | |
| "tailwind.config.js": "tailwind.config*, postcss.config*", | |
| ".env.local": ".env*", | |
| ".env": ".env*" | |
| } | |
| } |
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| GOCMD=go | |
| GOTEST=$(GOCMD) test | |
| GOVET=$(GOCMD) vet | |
| BINARY_NAME=example | |
| VERSION?=0.0.0 | |
| SERVICE_PORT?=3000 | |
| DOCKER_REGISTRY?= #if set it should finished by / | |
| EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true | |
| GREEN := $(shell tput -Txterm setaf 2) |
| # ================================================================================================== | |
| # | |
| # NOTICE | |
| # | |
| # This gist is no longer maintained. It was moved to repo: | |
| # | |
| # https://github.com/maratori/golangci-lint-config | |
| # | |
| # Full history and all v2 releases are preserved in the repo. | |
| # |
It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs bundle
✨ .d.ts bundle + type-checking
| # Start from golang base image | |
| FROM golang:alpine as builder | |
| # ENV GO111MODULE=on | |
| # Add Maintainer info | |
| LABEL maintainer="Steven Victor <[email protected]>" | |
| # Install git. | |
| # Git is required for fetching the dependencies. |
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" |
| #!/usr/bin/env ruby | |
| # encoding: utf-8 | |
| =begin | |
| github_toc v0.2.0 | |
| Brett Terpstra 2014 | |
| <http://brettterpstra.com/2014/07/01/github-toc-service/> | |
| Creates a linked table of contents from headers in a GitHub readme | |
| Place a [toc] marker in the file to have it automatically replaced with the TOC |