Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
Back at it

James Strong strongjz

😃
Back at it
View GitHub Profile
View gist:7eccb57567bbb87da46ebbe3a403f7de
starting build "6b338c03-2953-4c8a-a098-5722e8c24b80"
FETCHSOURCE
Fetching storage object: gs://k8s-staging-ingress-nginx-gcb/source/1630074027.761645-bb0fb4bf5ff944a48242cd0869d2d1d9.tgz#1630074027934759
Copying gs://k8s-staging-ingress-nginx-gcb/source/1630074027.761645-bb0fb4bf5ff944a48242cd0869d2d1d9.tgz#1630074027934759...
/ [0 files][ 0.0 B/ 16.0 MiB]
/ [1 files][ 16.0 MiB/ 16.0 MiB]
Operation completed over 1 objects/16.0 MiB.
BUILD
Pulling image: gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f
@strongjz
strongjz / docker-credentials.sh
Created Sep 4, 2020 — forked from piersharding/docker-credentials.sh
Create Docker config.json file credentials
View docker-credentials.sh
#!/bin/bash
# This script creates a docker config.json file with the auth section
# as an example of what can be passed into GitLab-CI and used in
# conjunction with DOCKER_CONFIG - the config file directory location.
# command line parameter default values
DOCKER_REGISTRY=""
DOCKER_USER=""
DOCKER_PASSWORD=""
View gist:483c7fc2ef8c68d1a6cae45db07643a8
BEGIN MESSAGE.
3AVcYsIxqvEhhM8 Sk6DU6fxnHV1gWy HbflYwDl2XN98Xq IQAbJ1SGZhyW2Kq
hpTiUfmRAWswApG m7o16CTdeswTCKq 6Xr2MZHgg4XMNaW cNdGmLtQZJCVvHu
m6MYAJQ7KPws3sg Z9CXMDuUexo5gme wfZixtskO6dnpAE myEu9NOOHbrPBEO
TWUmA0KfKsfeTKs w2pj9MjeXFWuYxr M18K50Qz5Z.
END MESSAGE.
View gist:f66f7caa665c0a12697a34187a9c3901
adns
aws-iam-authenticator
aws-sam-cli
aws-shell
awscli
azure-cli
bash-completion
coredns
ctags
eksctl
@strongjz
strongjz / Makefile
Created Jul 20, 2019
Hugo makefile
View Makefile
DOCKER = docker
HUGO_VERSION = 0.49
DOCKER_IMAGE = k8-hugo
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(PWD):/src
.PHONY: all build build-preview serve docker-all
all: build ## Build site with production settings
build: ## Build site with production settings
@strongjz
strongjz / git-ssh-auth-win-setup.md
Created Nov 5, 2018 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows
View git-ssh-auth-win-setup.md

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
    • .ssh/config
@strongjz
strongjz / install_jenkins_plugin.sh
Created Aug 6, 2017 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
View install_jenkins_plugin.sh
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@strongjz
strongjz / zookeeper-solr-cloud.md
Created May 24, 2017 — forked from kalharbi/zookeeper-solr-cloud.md
Setting up an external Zookeeper Solr Cluster
View zookeeper-solr-cloud.md

Setting up an external Zookeeper Solr Cluster

This is a step by step instruction on how to create a cluster that has three Solr nodes running in cloud mode. These instructions should work on both a local cluster (for testing) and a remote cluster where each server runs in its own physical machine. This was tested on Solr version 5.4.1 and Zookeeper version 3.4.6

Installing Solr and Zookeeper

  • Download and extract Solr:
    • curl -O http://archive.apache.org/dist/lucene/solr/5.5.3/solr-5.5.3.tgz
    • mkdir /opt/solr