vi /etc/installurl
sysupgrade -s
pkg_add -Uu
| #!/bin/bash | |
| set -euo pipefail | |
| WORKSPACE="your-workspace" | |
| MIRRORS_DIR="mirrors" | |
| command -v bb >/dev/null 2>&1 || { echo "ERROR: bb command not found" >&2; exit 1; } | |
| command -v git >/dev/null 2>&1 || { echo "ERROR: git command not found" >&2; exit 1; } | |
| command -v jq >/dev/null 2>&1 || { echo "ERROR: jq command not found" >&2; exit 1; } |
| setopt PROMPT_SUBST | |
| setopt PROMPT_PERCENT | |
| # COLORS_1='#87CEEB' | |
| # COLORS_2='#6CBDE9' | |
| COLORS_3= #50ABE7 | |
| # COLORS_4='#BAE0F3' | |
| COLORS_1='yellow' | |
| COLORS_2='green' | |
| COLORS_3='green' |
| theme = dark:Dark Pastel,light:xcodelight | |
| font-family = IosevkaTermSlab Nerd Font Mono | |
| bold-is-bright = true | |
| selection-invert-fg-bg = true | |
| shell-integration-features = no-cursor | |
| cursor-style = block | |
| macos-icon = custom-style | |
| macos-icon-frame = beige |
| # Requires: Install-Module -Name BaseEncoder -Scope CurrentUse | |
| param ( | |
| [string] $path, | |
| [int] $start = 0 | |
| ) | |
| [Object] $path = Get-Item $path | |
| function Show-Window { |
| #! /usr/bin/env bash | |
| ############################################################################## | |
| # Usage: ./covid.sh | |
| # Checks COVID-19 vaccine slots on Doctolib every 5-15 seconds. | |
| # If you want to keep the Mac awake: caffeinate ./covid.sh | |
| # | |
| # Stop the script with Ctrl-C | |
| # | |
| # When the script found a slot it will wait 1min 30 before proceeding to next |