Skip to content

Instantly share code, notes, and snippets.

View AjayDevOp's full-sized avatar
🎯
Focusing

AjayDevOps AjayDevOp

🎯
Focusing
View GitHub Profile
@AjayDevOp
AjayDevOp / 2019-https-localhost.md
Created March 19, 2021 16:53 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@AjayDevOp
AjayDevOp / myscript.sh
Created July 18, 2020 02:39 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"

My Openshift Cheatsheet

Openshift build secrets for cloning git repos using SSH Keys

  • To create ssh secret:
oc create secret generic sshsecret \
    --from-file=ssh-privatekey=$HOME/.ssh/id_rsa