Skip to content

Instantly share code, notes, and snippets.

@jimpriest
jimpriest / 1_README.md
Created May 21, 2021 — forked from JAMSUPREME/1_README.md
Infrastructure Best Practices
View 1_README.md

Overview

This doc is aimed to provide some general guidance as to infrastructure best practices. It is by no means a rigid set of rules, but rather a handful of tips that may help.

Guidance

I attempted to break these recommendations into distinct files:

  • General FAQ and Tooling: General guidance in the form of a FAQ. Also contrasts some other tooling.
  • Terraform: General guidance regarding Terraform that I have found to improve productivity.
  • Local development: General guidance on how to improve local development
@jimpriest
jimpriest / task.json
Created Feb 10, 2019
Run Robot Framework tests from VSCode
View task.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Clean Results",
"type": "shell",
"command": "DEL /F /Q ${workspaceFolder}\\results\\*.*"
},
{
"label": "Run Robot Tests",
@jimpriest
jimpriest / tasks.json
Created Feb 10, 2019
Run TestBox unit tests via VSCode Task
View tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run tests",
"command": "Chrome",
"windows": {
"command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
@jimpriest
jimpriest / config
Last active Jan 25, 2019
i3 config for Code keyboard audio buttons
View config
# Audio controls for keyboard
# Works on Ubuntu 18.04 LTS
# playerctl is not in apt for 18.04?
#========================================================
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% #decrease sound volume
# Spotify controls
# Play/Pause
@jimpriest
jimpriest / boxstarter.ps1
Last active Mar 20, 2018 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jim Priest <priest@thecrumb.com>
# Last Updated: 2018-03-15
# Originally forked from Jess Frazelle <jess@linux.com>
# Install boxstarter: http://boxstarter.org/
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# Install-BoxstarterPackage -PackageName <URL-TO-RAW-GIST> -DisableReboots
View gist:9b72fe3745a2d63ece40
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",