Instantly share code, notes, and snippets.

Steve Hook steevehook

View GitHub Profile
View export-env.sh
export $(grep -v '^#' .env-dev | xargs)
View commit-length.sh
git shortlog | grep -e '^ ' | sed 's/[[:space:]]\+\(.*\)$/\1/' | awk '{print length($0)}'
View exec.go
package main
import (
"fmt"
"log"
"os"
"os/exec"
)
type Data struct {
View pandoc.css
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
View minikube.sh
eval $(minikube docker-env)
# HERE IS WHAT HAPPENS:
# export DOCKER_TLS_VERIFY="1"
# export DOCKER_HOST="tcp://192.168.99.100:2376"
# export DOCKER_CERT_PATH="/Users/scirlig/.minikube/certs"
# export DOCKER_API_VERSION="1.35"
# Run this command to configure your shell:
# eval $(minikube docker-env)
View CODEOWNERS
# Default owners for everything in the repo. A review request will automatically be created when a new pull request is opened.
* @organization/some-team
View openapi-3.0.2.md

OpenAPI Specification

Version 3.0.2

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 RFC2119 RFC8174 when, and only when, they appear in all capitals, as shown here.

This document is licensed under The Apache License, Version 2.0.

Introduction

View multiple_ssh_setting.md

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 "your_email@youremail.com"
View commit.txt
Fix typo in introduction to user guide
Jira: ABC-123
Reviewer: jsmith
PR: GH-456