- 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:
| #!/usr/bin/env bash | |
| # | |
| # this script uses v4l2-ctl to set the zoom level of a webcam | |
| # | |
| set -e | |
| # you may have multiple cameras but usual video0 is the right one | |
| camera=/dev/video0 |
| #!/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 ..." |
| # This code is licensed under the terms of the MIT license https://opensource.org/license/mit | |
| # Copyright (c) 2021 Marat Reymers | |
| # Golden config for golangci-lint v1.55.2 | |
| # Original gist: https://gist.github.com/maratori/47a4d00457a92aa426dbd48a18776322 | |
| # Gist: https://gist.github.com/LucJosin/5ebd9f6df6b60253e615c0995e597850 | |
| run: | |
| # Timeout for analysis, e.g. 30s, 5m. | |
| # Default: 1m |
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" |
| CREATE TABLE `PRODUCT_PARTS` ( | |
| `PRODUCT_ID` varchar(255) NOT NULL, | |
| `PART_ID` bigint(20) NOT NULL, | |
| PRIMARY KEY (`PRODUCT_ID`,`PART_ID`), | |
| UNIQUE KEY `PART_ID` (`PART_ID`), | |
| KEY `FK42C3C7507B2D661E` (`PRODUCT_ID`), | |
| KEY `FK42C3C75071CA5096` (`PART_ID`), | |
| CONSTRAINT `FK42C3C75071CA5096` FOREIGN KEY (`PART_ID`) REFERENCES `Part` (`id`), | |
| CONSTRAINT `FK42C3C7507B2D661E` FOREIGN KEY (`PRODUCT_ID`) REFERENCES `PRODUCT` (`serialNumber`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |