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
docker run --rm -it laravelsail/php82-composer:latest bash -c "laravel new example-app --no-interaction && cd example-app && php ./artisan key:generate && cat .env | grep APP_KEY" |
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/local/bin/bash | |
export BORG_REPO="ssh://user@server/borg-repo" | |
if [[ ! "${USER}" == "root" ]]; then | |
echo Start this script as root | |
exit 1 | |
fi | |
echo === Present snapshots === |
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
# Build a container docker build -t drone-nolimit -f Dockerfile.drone-nolimit . | |
# Replace drone/drone image with drone-nolimit | |
ARG drone_version=v2.11.1 | |
FROM docker:git AS clone | |
RUN git clone --recursive https://github.com/drone/drone.git && cd drone && git checkout $drone_version | |
FROM golang:1.14 AS build | |
COPY --from=clone /drone /drone |
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/local/bin/python3 | |
import xml.etree.ElementTree as ET | |
import sys | |
import os.path | |
next_TrackID = 1901 | |
old_new = {} | |
filename = sys.argv[1] |
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 | |
# copy everything from drivers/ folder to /Library/Audio/Plug-Ins/HAL/ and run | |
# sudo chown -R root:wheel /Library/Audio/Plug-Ins/HAL/Pipe* | |
# sudo launchctl kickstart -kp system/com.apple.audio.coreaudiod | |
driver_num=1 | |
build_driver_with_options() { | |
number=$(printf "%02d" ${1}) |