I hereby claim:
- I am beingadityak on github.
- I am beingadityak2 (https://keybase.io/beingadityak2) on keybase.
- I have a public key ASCw_U1V5RlesScTGXrQOD_akHVwbn9H867cj1VAWrXa0wo
To claim this, I am signing this object:
| # ~/.config/starship.toml | |
| [battery] | |
| full_symbol = "🔋" | |
| charging_symbol = "🔌" | |
| discharging_symbol = "⚡" | |
| [[battery.display]] | |
| threshold = 30 | |
| style = "bold red" |
| #!/bin/bash | |
| set -e | |
| if [[ -z $CA_PASSWD ]] || [[ -z $CERT_PASSWD ]] ; then | |
| echo " Provide CA Password [CA_PASSWD] and Cert password [CERT_PASSWD] before hand" | |
| exit 1 | |
| fi | |
| rm -f elastic-certificates.p12 elastic-certificate.pem elastic-stack-ca.p12 || true | |
| #password=$$([ ! -z "$$ELASTIC_PASSWORD" ] && echo $$ELASTIC_PASSWORD || echo $$(docker run --rm $(ELASTICSEARCH_IMAGE) /bin/sh -c "< /dev/urandom tr -cd '[:alnum:]' | head -c20")) && \ | |
| docker run --name elastic-helm-charts-certs -i -w /app \ |
| #!/bin/bash | |
| cd ${myVMs} | |
| MyVM=testvm | |
| vboxmanage unregistervm ${MyVM} --delete | |
| rm -rf ${MyVM} | |
| mkdir ${MyVM} | |
| cd ${MyVM} | |
| vboxmanage createhd --filename ${MyVM}.vdi --size 30720 | |
| vboxmanage createvm --name ${MyVM} --ostype RedHat_64 --register | |
| vboxmanage modifyvm ${MyVM} --memory 6172 --vram=12 --acpi on --nic1 NAT # optional second NIC # --nic2 bridged --bridgeadapter2 enp0s25 |
| #!/usr/bin/env bash | |
| openssl genrsa -out private_key.pem 2048 # generate an RSA private key of 2048 bits | |
| openssl rsa -pubout -in private_key.pem -out public_key.pem # Generate the public key from the private key |
| # ~/.config/starship.toml | |
| [battery] | |
| full_symbol = "🔋" | |
| charging_symbol = "🔌" | |
| discharging_symbol = "⚡" | |
| [[battery.display]] | |
| threshold = 30 | |
| style = "bold red" |
I hereby claim:
To claim this, I am signing this object:
| language: node_js | |
| node_js: | |
| - lts/* | |
| # Add the lines from here apart from the auto-generated stuff | |
| before_install: | |
| - eval "$(ssh-agent -s)" | |
| - chmod 600 /tmp/deploy_rsa | |
| - ssh-add /tmp/deploy_rsa |
supervisor -> pip install supervisor/etc/supervisor/conf.d/<app-name>.conf Eg. /etc/supervisor/conf.d/sample-webapp.confsupervisorctl reread and supervisorctl update allsupervisorctl status all| [Unit] | |
| Description=My awesome webapp | |
| [Service] | |
| Type=simple | |
| Restart=always | |
| RestartSec=5s | |
| ExecStart=/var/www/webapp.bin | |
| [Install] | |
| WantedBy=multi-user.target |
| #cloud-config | |
| apt_update: true | |
| apt_upgrade: true | |
| ssh_authorized_keys: | |
| - SSH_KEY_HERE | |
| packages: | |
| - apt-transport-https |