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
param( | |
[Parameter()] | |
[string]$Locatie | |
) | |
$excluded = @("*_1.CR3", "*_1.CR3.dop") | |
$files = Get-ChildItem "$Locatie/" -Exclude $excluded | |
foreach ($f in $files){ | |
$underscore_file = "$Locatie/$($f.BaseName)_1.CR3" | |
if (Test-Path -Path $underscore_file -PathType Leaf) { | |
$hash_orig = Get-FileHash $f.FullName |
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
# original borrowed from https://www.trion.de/news/2019/02/01/kaniko-arm-image.html and adapted to normal arm instead of arm64 | |
# keep in mind you need to put the arch in every FROM..... or it wont work | |
--- | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: kaniko-build | |
labels: | |
run: dind | |
name: dind |
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 | |
LIST="" | |
for i in $(brew cask list) | |
do | |
AVAIL=$(brew cask info $i|head -1|awk {' print $NF '}) | |
INSTA=$(basename $(brew cask info $i|head -3|tail -1|awk {' print $1 '})) | |
if [ "$AVAIL" != "$INSTA" ] | |
then | |
echo "$i - $AVAIL != $INSTA" |
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
Message | |
INFO interface: error: The box 'mansm/CentOS-7' could not be found or | |
could not be accessed in the remote catalog. If this is a private | |
box on HashiCorp's Atlas, please verify you're logged in via | |
`vagrant login`. Also, please double-check the name. The expanded | |
URL and error message are shown below: | |
URL: ["https://atlas.hashicorp.com/mansm/CentOS-7"] | |
Error: | |
The box 'mansm/CentOS-7' could not be found or |
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
'ascii' codec can't decode byte 0xe2 in position 90: ordinal not in range(128) | |
Docker for mac -> open docker preferences -> reset everything | |
docker-compose very slow: | |
add to /etc/hosts | |
127.0.0.1 localhost localunixsocket |
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
find . -not -type d -exec file "{}" ";" | grep CRL | |
for i in `find . -not -type d -exec file "{}" ";" | grep CRL|awk {'print $1 '} |tr -d ':'`; do dos2unix $i; done |
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
images: | |
docker images |grep "<none>" |awk {'print $3'}|xargs docker rmi -f d | |
containers: | |
docker rm ${docker ps -a -q} |