Skip to content

Instantly share code, notes, and snippets.

View ramasilveyra's full-sized avatar
πŸ•

Ramiro Silveyra d'Avila ramasilveyra

πŸ•
View GitHub Profile
@ramasilveyra
ramasilveyra / API.md
Created October 4, 2017 07:35 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

blockquote.twitter-tweet {
overflow: hidden;
color: #1c2022;
background-color: #fff;
border: 1px solid #e1e8ed;
border-radius: 4px;
width: 500px;
max-width: 100%;
min-width: 220px;
padding: 1.25rem 1.25rem 0.725rem 1.25rem;
@ramasilveyra
ramasilveyra / sm-annotated.html
Created November 6, 2015 19:27 — forked from hdragomir/sm-annotated.html
The deferred font loading logic for Smashing Magazine. http://www.smashingmagazine.com/
<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);