Skip to content

Instantly share code, notes, and snippets.

::-webkit-scrollbar {
width: 15px;
background: rgba(26, 27, 38, 0.4);
}
::-webkit-scrollbar-track {
background: transparent;
border-radius: 15px;
}
#!/bin/bash
# exit if any command fails
set -e
IGNORE_FILENAME="no-backup"
DOCKER_DIR="/opt/docker"
if [[ "$#" -ne 1 || ! "$1" =~ ^(up|down)$ ]]; then
echo "Usage: $0 {up|down}"
#!/bin/bash
# exit script if any command fails
set -e
if [ $# -lt 1 ]; then
echo "Error: No target directory provided."
exit 1
fi