Skip to content

Instantly share code, notes, and snippets.

View drewblas's full-sized avatar
🏠
Working from home

Drew Blas drewblas

🏠
Working from home
View GitHub Profile
@drewblas
drewblas / validating.md
Last active March 30, 2016 14:30 — forked from gamache/validating.md
Validating Data in Elixir with ExJsonSchema

priv/schema.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Events API Schema",

  "definitions": {

    "event_collection": {
# Copyright 2010 Drew Blas <drew.blas@gmail.com>
# From: http://drewblas.com/2010/07/15/an-analysis-of-gpled-code-in-thesis
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@drewblas
drewblas / README.md
Created November 14, 2011 15:41 — forked from fnichol/README.md
Chef Bootstrapper For SuSE/SLES

Chef Bootstrapper For SuSE/SLES

Installation

Note: Run this script as the root user (no sudo calls are used in the script).

You will need the curl package installed, though I would have no idea why it wouldn't be installed by default:

zypper --non-interactive install curl