Skip to content

Instantly share code, notes, and snippets.

Hazel Fidecaro hipsterjazzbo

Block or report user

Report or block hipsterjazzbo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@magarcia
magarcia / Yumml.md
Last active Aug 31, 2019
YUMML - Yet Another Recipe Metadata Language
View Yumml.md
layout title description date tags
page
YumML, use YumML, not XML
Yet Another Recipe Metadata Language - you know, for food.
2011-09-21
food yumml

I won't beat around the bush - existing metadata formats for food recipes suck. Alone that would be my typical bold/arrogant claim, so I present my findings on five different formats (RecipeML, Recipe Exchange Markup Language, CookML and RecipeBook XML) to backup that statement, and then my proposed format. There was a sixth format I was looking into - MealMaster - but the recipe structure doesn't seem to be defined anywhere and as far as I know the only program to use it is MealMaster itself.

View gist:dc89ccc29ae9d0a2c76f
<?php
//TODO get URL from parameters and authenticate it with an expiring hash/timestamp
$url = 'http://traffic.libsyn.com/atpfm/atp95.mp3';
// Forward these headers from original request
$requestHeaders = [];
if (isset($_SERVER['HTTP_USER_AGENT'])) $requestHeaders[] = 'User-Agent: ' . $_SERVER['HTTP_USER_AGENT'];
if (isset($_SERVER['HTTP_RANGE'])) $requestHeaders[] = 'Range: ' . $_SERVER['HTTP_RANGE'];
@merlinmann
merlinmann / b2w-76-snippets.md
Created Jul 16, 2012
TextExpander Shortcuts (per Back to Work e76)
View b2w-76-snippets.md

Via links (vvia)

    [[via](%clipboard)]

WALL·E (wall-e)

    WALL·E

Briar (onbriar)

You can’t perform that action at this time.