Suppose a REST API with the following request patterns:
Correct usage:
GET /books/?authors=JRRTolkien,CSLewis
200 OK
Disclaimer:
The steps described here where copied from this web site: https://jamespotz.github.io/blog/how-to-fix-wsl2-and-cisco-vpn
All step should be done in the same terminal window.
docker build -f Dockerfile -t <image-name> . | |
docker save <image-name> > docker/<image-name>.tar | |
docker images | |
docker tag <image-name>:<tag> <repo-root>/<image-name>:<tag> | |
docker push <repo-root>/<image-name>:<tag> | |
docker login | |
docker push <repo-root>/<image-name>:<tag> |
From: | |
https://dev.to/maxwell_dev/the-git-rebase-introduction-i-wish-id-had | |
Simple flow | |
git checkout master | |
git checkout feature/branch | |
git rebase master | |
git push --force-with-lease | |
#Mount an SMB file share with rw+ permissions | |
mount_smbfs -d 777 -f 777 //Alexandre@CENTAURO/BACKUP_MAC BACKUP_MAC | |
#Synchronize files between directories | |
rsync -vaEt --progress ~/Documents ~/BACKUP_MAC/Documents/ | |
#Unmount an SMB file share | |
umount BACKUP_MAC | |
#See how much disk is being used/free |
find: (public)([\s]*[\S]+\ )([\S]+[\s]*[\S]+) ({ get; set; }) | |
replace: $3 = model.$3, |
Javascript Char Codes to Key Codes: http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes | |
Spliting CSV values with regular expression: http://www.schiffhauer.com/c-split-csv-values-with-a-regular-expression/ |