Skip to content

Instantly share code, notes, and snippets.

View hadees's full-sized avatar

Evan Alter hadees

  • inKind
  • Austin, TX
View GitHub Profile

Keybase proof

I hereby claim:

  • I am hadees on github.
  • I am hadees (https://keybase.io/hadees) on keybase.
  • I have a public key whose fingerprint is A0C1 850A 15D1 1F77 DA03 94F3 367E 21AD A895 8278

To claim this, I am signing this object:

pragma solidity ^0.4.20;
interface FoodSafety {
function owner
function transfer
function split

Validate JSON schema in Rails

Topics

  1. What/Why JSON schema
  2. Apply to rails model validation
  3. Test your API endpoint with schema matcher
  4. Homework for a curious reader
  5. References
@hadees
hadees / js
Last active November 10, 2018 23:51
// Run on https://www.youtube.com/user/foobar/playlists?view=1&shelf_id=0&sort=dd
function getParents(el, parentSelector /* optional */) {
// If no parentSelector defined will bubble up all the way to *document*
if (parentSelector === undefined) {
parentSelector = document;
}
var parents = [];
en:
letter_closings:
- Adios
- All best wishes
- All best, always
- Always in my thoughts
- As always, with affection
- Be good
- Be well
- Best Regards