Skip to content

Instantly share code, notes, and snippets.

@jimpriest
jimpriest / cfml.json
Last active October 13, 2023 20:42
VSCode CFML snippet examples
{
"cfdump": {
"prefix": "cfdump",
"body": [
"<cfdump var=\"#$TM_SELECTED_TEXT#\" abort=\"${2:true}\" format=\"${3:html}\" label=\"${4:dump - debugging}\">"
],
"description": "cfdump"
},
"writedump": {
"prefix": "writedump",
@jimpriest
jimpriest / 1_README.md
Created May 21, 2021 18:32 — forked from JAMSUPREME/1_README.md
Infrastructure Best Practices

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 February 10, 2019 18:19
Run Robot Framework tests from VSCode
{
"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 February 10, 2019 18:18
Run TestBox unit tests via VSCode Task
{
// 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 January 25, 2019 00:04
i3 config for Code keyboard audio buttons
# 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 March 20, 2018 20:42 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jim Priest <[email protected]>
# Last Updated: 2018-03-15
# Originally forked from Jess Frazelle <[email protected]>
# 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
@jimpriest
jimpriest / gist:9b72fe3745a2d63ece40
Created August 5, 2014 19:10
Sublime Config (Wor)
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",