I hereby claim:
- I am ejach on github.
- I am ejach (https://keybase.io/ejach) on keybase.
- I have a public key whose fingerprint is 7591 B050 8D0C 33FA EEB0 7F03 C7B7 C8CE 7DCB C785
To claim this, I am signing this object:
# 1. Install the paramikio module for python. | |
# pip install paramiko | |
# 2. Edit the SSH details below. | |
import paramiko | |
import sys | |
## EDIT SSH DETAILS ## | |
SSH_ADDRESS = "192.168.1.1" |
FROM python:3.8 | |
WORKDIR / | |
COPY main.py . | |
CMD ["python", "main.py"] |
version: '3.8' | |
services: | |
db: | |
image: mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: parts | |
volumes: | |
- /your/mount/point:/var/lib/mysql |
I hereby claim:
To claim this, I am signing this object:
1 - Before running this script, you'll need:
These can be found by going to
https://github.com/<username>/<repository>/commit/<commit_hash>.patch
2 - Create a fresh, bare clone of your repository:
git clone --bare https://github.com/<username>/<reponame>.git
#!/usr/bin/env bash | |
# Usage murk <port_number> | |
if [[ $# -eq 1 ]]; then | |
pid_array=( ` lsof -i:$1 -t ` ) | |
pid_array_length=${#pid_array[@]} | |
if [[ "$pid_array_length" -eq "0" ]]; then | |
echo "No PID's on that port number have been found" | |
fi |
Tools > Export Vault
.json
Export Vault
org.py [-h] -i INFILE [-o OUTFILE]
#!/bin/bash | |
if [[ ! -z $1 ]]; then | |
while getopts i:h:p: option | |
do | |
case "${option}" in | |
i) identity=${OPTARG};; | |
h) host=${OPTARG};; | |
p) port=${OPTARG};; | |
esac | |
done |