more information - https://www.bipm.org/en/about-us.
I will list only publicly avaialable servers, not the ones that require you to have prior requests for access (eg. Australia).
more information - https://www.bipm.org/en/about-us.
I will list only publicly avaialable servers, not the ones that require you to have prior requests for access (eg. Australia).
| #!/bin/bash | |
| # Author: Besmir Zanaj, 2024 | |
| # This is a very raw script to backup configs (no logs and no stats) from a technitium server | |
| # to another | |
| # | |
| # first create two tokens: one on the source server and another one on the destination one | |
| # fill out the vars below | |
| # create a cronjob with this script on the destinaton host | |
| # eg: |
| #!/bin/bash | |
| # EDS Certificate pin calculator | |
| # 2023, Besmir Zanaj | |
| # Usage: | |
| # /ets_pin_calculator.sh <CERT_FILE> | |
| # This script will calulate the EDS cert pin for a certificate file. | |
| # More info in RFC-7469 - https://www.rfc-editor.org/rfc/rfc7469#section-2.1.1 |
| Packer has the ability to import Virtualbox OVA artifacts into AWS | |
| using Amazons Import/Export feature. There are a number of prerequisites, | |
| the setup of which are detailed below. | |
| 1. Create an S3 bucket to hold uploaded temporary build artifacts | |
| $ aws s3 mb s3://my-organisation.com-eu-west-1-vmimport-bucket --region eu-west-1 | |
| make_bucket: s3://my-organisation.com-eu-west-1-vmimport-bucket/ | |
| ### Keybase proof | |
| I hereby claim: | |
| * I am besmirzanaj on github. | |
| * I am besmirzanaj (https://keybase.io/besmirzanaj) on keybase. | |
| * I have a public key ASC6Or-qwENIhD35L9YdkxDzGjojzhFbaT0IkHjMy1t_tgo | |
| To claim this, I am signing this object: |
| a script in you bashrc to sync locally your repos | |
| alias gitdown='find . -name .git -type d | xargs -n1 -P4 -I% git --git-dir=% --work-tree=%/.. pull -v --progress' |
Play with Docker classroom http://training.play-with-docker.com/alacart/
Docker for Developers Stage 1 http://training.play-with-docker.com/dev-stage1/
Docker for Beginners - Linux http://training.play-with-docker.com/beginner-linux/
| #!/bin/bash | |
| # check certificate if it is generated from this key | |
| # usage check_ssl_key_crt.sh "key file" "certificate" | |
| [ $# -eq 0 ] && { echo "Usage: $0 'key file' ' ' 'cert file'" exit 999; } | |
| if [[ $((openssl x509 -noout -modulus -in $2 | openssl md5 | awk '{print $2}'; openssl rsa -noout -modulus -in $1 | openssl md5 | awk '{print $2}') | uniq -c | wc -l) -eq 1 ]] | |
| then printf "Everything ok with this certificate.\n It was generated by key $1\n" | |
| else printf "Certificate $2 compromised or generated with another key." | |
| fi |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |