Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Janetakis nickjj

View GitHub Profile
@nickjj
nickjj / 01-image-slugs.sh
Last active Jul 16, 2020
List of DigitalOcean slugs for images, sizes and regions.
View 01-image-slugs.sh
# Listed generated on 2020-07-16 at 11:45am EST
curl -s -X GET -H "Content-Type: application/json" \
-H "Authorization: Bearer ${DIGITALOCEAN_ACCESS_TOKEN}" \
"https://api.digitalocean.com/v2/images?page=1&per_page=100&type=distribution" \
| jq '.images[].slug' | sort
"centos-6-x32"
"centos-6-x64"
"centos-7-x64"
"centos-8-x64"
@nickjj
nickjj / ansible-role-test.sh
Last active May 19, 2020 — forked from geerlingguy/ansible-role-test.sh
Ansible Role Test Shim Script
View ansible-role-test.sh
#!/bin/bash
#
# Ansible role test shim.
#
# Taken from this gist by Jeff Geerling on May 10th 2018:
# https://gist.github.com/geerlingguy/73ef1e5ee45d8694570f334be385e181
#
# Usage: [OPTIONS] ./tests/test.sh
# - distro: a supported Docker distro version (default = "ubuntu1804")
# - playbook: a playbook in the tests directory (default = "test.yml")
View GitGutter.sublime-settings
// This would go in $sublime_dir/Packages/User/GitGutter.sublime-settings
{
"live_mode": false,
"focus_change_mode": false
}
You can’t perform that action at this time.