Skip to content

Instantly share code, notes, and snippets.

View chtompki's full-sized avatar
👅
Just being silly generally

Rob Tompkins chtompki

👅
Just being silly generally
  • Richmond, VA
View GitHub Profile
#!/bin/bash
# We don't need return codes for "$(command)", only stdout is needed.
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
# shellcheck disable=SC2312
set -u
abort() {
printf "%s\n" "$@" >&2
@chtompki
chtompki / ambassador.yaml
Created August 14, 2019 12:38
Ambassador Yaml File
---
apiVersion: v1
kind: Service
metadata:
labels:
service: ambassador-admin
name: ambassador-admin
spec:
type: NodePort
ports:
@chtompki
chtompki / github_gpg_key.md
Created June 11, 2019 19:46 — forked from ankurk91/github_gpg_key.md
Github : Signing commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@chtompki
chtompki / maven_log.txt
Created March 6, 2018 21:07
commons-parent-44-src.zip build log
Robs-MacBook-Pro-3:commons-parent-44-src tompkicr$ mvn -X
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T03:58:13-04:00)
Maven home: /usr/local/Cellar/maven/3.5.2/libexec
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.3", arch: "x86_64", family: "mac"
^CRobs-MacBook-Pro-3:commons-parent-44-src tompkicr$ mvn clean verify package
[INFO] Scanning for projects...
[WARNING] The project org.apache.commons:commons-parent:pom:44 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html