Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bdparrish on github.
  • I am bparrish (https://keybase.io/bparrish) on keybase.
  • I have a public key whose fingerprint is 0730 55E8 CF80 8E6B 7B96 9FF9 39F2 345F 5012 ADD7

To claim this, I am signing this object:

@bdparrish
bdparrish / multiple_ssh_setting.md
Created February 27, 2017 19:05 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@bdparrish
bdparrish / Local NuGet Repository
Created February 28, 2017 13:21
Create a local NuGet repository
https://blogs.endjin.com/2014/07/how-to-test-nuget-packages-locally/
@bdparrish
bdparrish / gist:67d08794929396d85dfea28e6523999e
Created March 28, 2019 11:28
AWS format and mount nvme drive
--------------------------------------------
- Format 2 NVMe SSD Drives
--------------------------------------------
NOTE: NVMe SSD Drives are Ephemeral! Data will
survive hard and soft reboots, but not stop/start
cycles via the AWS Console.
sudo fdisk -l|more
sudo fdisk /dev/nvme0n1
n
p
@bdparrish
bdparrish / gist:884f0b213c429c9967d48d5b3d1cb746
Created May 18, 2024 15:00
Jaeger Docker Compose Setup
services:
service-a:
build:
context: .
dockerfile: service-a/Dockerfile
networks:
- service-jaeger
ports:
- "8081:8081"
environment:
@bdparrish
bdparrish / create.sh
Last active August 5, 2024 17:49
CLI for generating self signed certificates - server and client
#!/bin/bash
# Define color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
CYAN='\033[0;36m'
NC='\033[0m' # No Color