I hereby claim:
- I am danieljurek on github.
- I am danieljurek (https://keybase.io/danieljurek) on keybase.
- I have a public key whose fingerprint is 64F0 767F 630B 494A 8029 02E9 5A5B ABC8 FE4B 9395
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| const { spawn, spawnSync } = require('child_process'); | |
| const { promisify } = require('util'); | |
| const { Semaphore } = require('await-semaphore'); | |
| const spawnAsync = promisify(spawn); | |
| async function go() { | |
| console.log("===SYNC==="); | |
| for (let i = 0; i < 10; i++) { |
| # Windows files are case-insensitive by default. It is possible | |
| # to have two files with different casing in a git repository | |
| # (e.g. foo.txt and FOO.txt). In these situations only one file | |
| # will appear in the folder. Changes to this file will confuse | |
| # git. Use this script to check for the existence of these | |
| # duplicated files. | |
| $gitFileHash = @{}; | |
| $gitFiles = git ls-files |
| #!/usr/bin/env bash | |
| # Stop script on non-zero exit code | |
| set -e | |
| # Stop script if unbound variable found (use ${var:-} if intentional) | |
| set -u | |
| set pipefail | |
| temp_dir=$(mktemp -d /tmp/tool-preinstall-XXXXXXXX) | |
| sudo apt update |
| param( | |
| $AccountName, | |
| $ContainerName | |
| ) | |
| $allBlobs = @() | |
| $marker = '' | |
| while($true) { | |
| $blobResult = az storage blob list ` |
| function VerifyFile($original, $copy) { | |
| Write-Host "." -NoNewline | |
| # Fail if one or more file isn't present | |
| if (!(Test-Path $original) -or !(Test-Path $copy)) { | |
| Write-Host "File not found: $original, $copy" | |
| return $false | |
| } | |
| # Get file size | |
| $originalFileSize = (Get-Item $original).Length |