This file contains hidden or 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 | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |
This file contains hidden or 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 | |
# use cat md5-file | ./test-md5.sh | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
if [[ $line = *";"* ]]; then | |
continue | |
fi | |
path=${line#* \*} | |
path=${path%$'\r'} | |
path=${path/\\//} |
This file contains hidden or 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
# Run in elevated PS | |
# Reboot required | |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force | |
# Store: | |
# WSL, Ubuntu, DevToys, Power BI | |
# EarTrumpet, Screentogif, ShareX, Photoscape X, Inkscape, RSS Bandit, Surface, WhatsApp | |
# Install: Office, Visual Studio, SQL Server Developer Edition, https://aka.ms/windbg/download |
This file contains hidden or 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
## NODE | |
################################## | |
# multi-stage build to exclude intermediate build files and keep only resulting artifacts | |
# -slim uses debian and is similar in size, alpine ~120 / -sim ~180mb, while full >1gb! | |
FROM node:16-alpine AS build | |
# FROM node:18-slim AS build | |
WORKDIR /app | |
COPY . . |
OlderNewer