Skip to content

Instantly share code, notes, and snippets.

😃
Back at it

James Strong strongjz

😃
Back at it
Block or report user

Report or block strongjz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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
@strongjz
strongjz / README.md
Created May 22, 2017 — forked from magnetikonline/README.md
AWS Elastic Beanstalk deploy user restricted IAM policy.
View README.md

AWS Elastic Beanstalk deploy user restricted IAM policy

An IAM user policy document to give minimal rights for deploying an Elastic Beanstalk application.

Where:

  • REGION: AWS region.
  • ACCOUNT_ID: AWS account ID.
  • APPLICATION_NAME: Desired target Elastic Beanstalk application name(space).
  • IAM_INSTANCE_PROFILE_ROLE: The instance profile (IAM role) Elastic Beanstalk EC2 instaces will run under.
View user-data.sh
#!/bin/bash
# Use whichever region you're working in
export AWS_DEFAULT_REGION=eu-west-1
# Make ec2-user's home dir the install to make it easier to navigate when subsequently ssh-ing in to instances
su ec2-user -
cd /home/ec2-user
echo Working dir is `pwd`
View keybase.md

Keybase proof

I hereby claim:

  • I am strongjz on github.
  • I am strongjz (https://keybase.io/strongjz) on keybase.
  • I have a public key whose fingerprint is 955E 384E 8B36 BF5B 02E3 D2A4 08D1 1276 8A12 9699

To claim this, I am signing this object:

You can’t perform that action at this time.