Skip to content

Instantly share code, notes, and snippets.

View benwilcock's full-sized avatar
:octocat:
Architect at VMware

Ben Wilcock benwilcock

:octocat:
Architect at VMware
View GitHub Profile
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: node-express
description: Node Express Sample App
tags:
- app-accelerator
- node
- express
- tanzu
version: '2'
services:
config-server:
image: benwilcock/spring-petclinic-config-server-native:2.4.3
container_name: config-server
mem_limit: 1024M
ports:
- 8888:8888
@benwilcock
benwilcock / hello-world-samples.sh
Last active July 30, 2020 09:33
Quickly run 'Hello World' samples on Docker.
#!/bin/bash
# Python 3
docker run --rm -d -ePORT=8080 -p8082:8080 --name python-sample benwilcock/python-sample:1.0.0
# Spring Boot 2.3
docker run --rm -d -p8083:8080 --name spring-sample benwilcock/spring-sample:1.0.0
# Quarkus 1.6
docker run --rm -d -p8084:8080 --name quarkus-sample benwilcock/quarkus-sample:1.0.0
# Quarkus on GraalVM 20.1
docker run --rm -d -p8085:8080 --name graalvm-sample benwilcock/graalvm-sample:1.0.0
@benwilcock
benwilcock / .zshrc
Last active June 13, 2024 12:26
This is an example zshrc configuration with aliases etc. Used with OhMyZsh on Mac osX.
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/$USER/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes