I hereby claim:
- I am mrsimonemms on github.
- I am mrsimonemms (https://keybase.io/mrsimonemms) on keybase.
- I have a public key ASDWmVzBQL-wc2XXO0HEwvP2uCHQ2S-kfRgc_irSpRpsawo
To claim this, I am signing this object:
| const { promises: fs } = require('fs'); | |
| /** | |
| * Get Secret | |
| * | |
| * Get a secret | |
| * | |
| * @link https://docs.openfaas.com/reference/secrets/#use-the-secret-in-your-function | |
| * @param {string} secretName | |
| * @returns {Promise<string>} |
| 2020/07/29 09:34:44 [DEBUG] azurerm_data_factory_dataset_delimited_text.example apply errored, but we're indicating that via the Error pointer rather than returning it: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset | |
| 2020/07/29 09:34:44 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset | |
| 2020/07/29 09:34:44 [ERROR] <root>: eval: *terraform.EvalSequence, err: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset |
| CONTAINER_NAME ?= open-apiary | |
| TAG ?= develop | |
| IMAGE = registry.gitlab.com/mrsimonemms/open-apiary:${TAG} | |
| destroy: | |
| docker stop ${CONTAINER_NAME} || true | |
| docker rm ${CONTAINER_NAME} || true | |
| .PHONY: destroy | |
| deploy: |
I hereby claim:
To claim this, I am signing this object:
| const io = require('socket.io-client'); | |
| const socket = io('http://example.com/room/name'); | |
| socket | |
| .on('connect', (...args) => { | |
| // Do something on connection | |
| }) | |
| .on('event1', (...args) => { | |
| // Do something when an event is received |
| ### | |
| # run command: docker stack deploy -c docker-compose.yml dockercoins | |
| ### | |
| version: "3" | |
| services: | |
| rng: | |
| image: riggerthegeek/rng | |
| ports: |
| #!/bin/bash | |
| # Retrieve public and private ip of instance | |
| PUBLIC_HOSTNAME=$(curl -s http://169.254.169.254/latest/meta-data/public-hostname) | |
| PUBLIC_IP=$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4) | |
| PRIVATE_IP=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4) | |
| # Generate openssl config for self-signed certificate with SANs | |
| cat << EOF > ~/domain.cnf | |
| [ ca ] |
| #!/bin/bash | |
| # Retrieve public and private ip of instance | |
| PUBLIC_IP=$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4) | |
| PRIVATE_IP=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4) | |
| mkdir ~/docker-ca | |
| chmod 0700 ~/docker-ca | |
| cd ~/docker-ca || exit 1 |
| ## Add to crontab -e with "/bin/bash /root/DropboxBackup.sh" | |
| ## Taken from http://davehope.co.uk/Blog/backup-your-linux-vps-to-dropbox/ | |
| #!/bin/bash | |
| DROPBOX_USER="Your Dropbox username" | |
| DROPBOX_PASS="Your Dropbox password" | |
| DROPBOX_DIR="Directory in your dropbox account to store the backups, e.g. /backups" | |
| BACKUP_SRC="/home /var/www /var/git /etc /root" | |
| BACKUP_DST="/tmp" | |
| MYSQL_SERVER="127.0.0.1" |