Skip to content

Instantly share code, notes, and snippets.

View jdonson's full-sized avatar

Jeremy Donson jdonson

  • UrbanSpectra NYC
  • New York City
View GitHub Profile
<html>
<head>
LINKS here, like to css libraries!!
<title>
Title Page Here
</title>
</head>
<body>
Page Content Goes Here
</body>
@jdonson
jdonson / pedantically_commented_playbook.yml
Created January 19, 2016 14:29 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@jdonson
jdonson / VisualCodeGenWorkflows_ascii.txt
Last active February 6, 2016 13:11
ASCII Diagram Test: Visual CodeGen Workflows
{Diagram Define-Edit-Review-Publish Workflows}
|
['SVG DIAGRAMS'] <---- (Derived From) <-- STATE
| |
(via CASE Tools Generate) --> ['Code', 'Configs', 'Tests'] <---> YAML { yaml edit-review workflows }
1. What types of state?
- user
- system
- network
@jdonson
jdonson / filenameFred.txt
Created November 21, 2014 14:40
our first gist
mysql> CREATE SCHEMA schems_2014
CHARACTER SET utf8
COLLATE utf8_general;
mysql> use schems_2014
mysql> CREATE TABLE inventory (
inv_id ...
);
@jdonson
jdonson / Remove and Ignore DS_Store Files
Created September 24, 2013 15:52
This is how we scrub and ignore OS X DS_Store files using git.....
cp -pR first-null-commit first-null-commit-scrubbed
cd first-null-commit-scrubbed
vi .git/.gitignore # edit to ignore .DS_STORE files
git rm -rf .DS_STORE
git status
git add .
git commit -m 'https://github.com/jdonson/first-null-commit/issues/4 This is to prevent git from adding annoying DS_Store files to repo. See: http://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository '
# how to test?
git status
git push