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
# Define a proxy | |
Configuration Proxy { | |
$whitelist = '*.google.com;*.example.com;192.168.*;127.*;localhost' | |
$prefix_hex = [String]::Format("{0:X}", [Convert]::ToUint32($prefix.tochararray()[0])) | |
$suffix_hex = [String]::Format("{0:X}", [Convert]::ToUint32($suffix.tochararray()[0])) | |
$proxy_url = "proxy.example.com:3128" | |
$proxy_url_length = '{0:X}' -f $proxy_url.length | |
$proxy_url_hex = StringToHex -string $proxy_url | |
$whitelist_hex = StringToHex -string $whitelist | |
$whitelist_length = '{0:X}' -f $whitelist.length |
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
Mac: | |
edit /etc/exports | |
edit /etc/nfs.conf | |
sudo nfsd restart | |
ln -s /Users/nasonov/Dropbox/projects /projects | |
ln -s /projects/some-project /Users/user/some-dir/some-volume/_data | |
B2D: | |
sudo /etc/init.d/docker stop | |
sudo mv /mnt/sda1/var/lib/docker/volumes /Users/user/some-dir |
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
JSONAPIObject: | |
description: Includes the current JSON:API version for this specification as well as optional meta information | |
type: object | |
required: | |
- version | |
properties: | |
version: | |
type: string | |
default: '1.0' | |
example: '1.0' |
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
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-20230516-windowsservercore-ltsc2019 | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';$ProgressPreference='silentlyContinue';"] | |
RUN Write-Output 555 | |
RUN --mount=type=secret,id=token,required=true dir C:\ProgramData\Docker\secrets |
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
version: v1.1.0 | |
steps: | |
- build: -t $Registry/mnasonov -f abc.Dockerfile . | |
env: | |
- ABC={{.Values.abc}} | |
- push: | |
- $Registry/mnasonov:latest |