This file contains 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
<# | |
.SYNOPSIS | |
This script downloads and installs the specified version of zig. | |
.DESCRIPTION | |
The script downloads the specified version of zig from https://ziglang.org, extracts it into the user's home directory, and optionally adds it to the PATH. | |
.PARAMETER version | |
The version of zig to download. If not specified, the script downloads the master version. |
This file contains 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 | |
# https://blog.mdminhazulhaque.io/extract-patch-file-configmap | |
URL="https://raw.githubusercontent.com/daytonaio/samples-index/main/index.json" | |
# parse the arguments for --url | |
while [[ $# -gt 0 ]]; do | |
key="$1" | |
case $key in | |
-u|--url) |
This file contains 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
#!/usr/bin/env python3 | |
import math | |
image_sizes = [10, 100, 250, 500, 1000] | |
pull_counts = [10, 100, 1000, 10000, 100000, 1000000] | |
free_bw = 10 * 1024 | |
cost_gb = 0.5 |
This file contains 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
Homebrew build logs for git on Ubuntu 18.04.4 LTS | |
Build date: 2020-07-28 08:39:07 |
This file contains 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
{ | |
"name": "ACHN", | |
"background": "#0a85d9", | |
"black": "#282a2e", | |
"blue": "#1f415c", | |
"brightBlack": "#373b41", | |
"brightBlue": "#8bcaff", | |
"brightCyan": "#4de0cc", | |
"brightGreen": "#bbd627", | |
"brightPurple": "#df9af4", |
This file contains 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
# | |
# How to get rid of the locale warning on raspberry pi | |
# | |
sudo sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" -i /etc/locale.gen | |
sudo locale-gen en_US.UTF-8 | |
sudo update-locale en_US.UTF-8 | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 |
This file contains 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 | |
if ! command -v curl &> /dev/null | |
then | |
echo "We'll need curl which could not be found" | |
exit | |
fi | |
if ! command -v jq &> /dev/null | |
then |
This file contains 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
services: | |
backend: | |
image: redis@sha256:6972ee00fd35854dd2925904e23cb047faa004df27c62cba842248c7db6bd99d | |
frontend: | |
depends_on: | |
- backend | |
image: metcalfc/timestamper@sha256:49e46611d6460720282f9a1df4f418b78b453eb238e38afa1a18f05ff0691bbb | |
ports: | |
- 5000:5000 | |
x-aws-pull_credentials: arn:aws:secretsmanager:us-west-2:175142243308:secret:DockerHubAccessToken-8cRLae |
This file contains 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
services: | |
backend: | |
image: redis@sha256:b7561e4e994ab52cb2062b9c3e943ab2af3287caf9d9aeb6719acc77013769a5 | |
frontend: | |
depends_on: | |
- backend | |
image: metcalfc/myexample@sha256:82d54bfffb6f6d4e7a648b3927fc86df34217eb132ce737d1d9830d61266dcdd | |
ports: | |
- 5000:5000 | |
version: '3.8' |
This file contains 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
services: | |
backend: | |
image: redis@sha256:b7561e4e994ab52cb2062b9c3e943ab2af3287caf9d9aeb6719acc77013769a5 | |
frontend: | |
depends_on: | |
- backend | |
image: metcalfc/myexample@sha256:82d54bfffb6f6d4e7a648b3927fc86df34217eb132ce737d1d9830d61266dcdd | |
ports: | |
- 5000:5000 | |
version: '3.8' |
NewerOlder