Format: 1A Host: http://blog.acme.com
NOTE: This document is outdated. Refer to the actual API Blueprint examples.
Welcome to the ACME Blog API. This API provides access to the ACME Blog service.
data:text/html, | |
<style type="text/css"> | |
#e { | |
position:absolute; | |
top:0; | |
right:0; | |
bottom:0; | |
left:0; | |
font-size:16px; | |
} |
NOTE: This document is outdated. Refer to the actual API Blueprint examples.
Welcome to the ACME Blog API. This API provides access to the ACME Blog service.
#!/usr/bin/env python | |
""" | |
This script is designed to generate a simple HTML file with _all_ of your | |
Pinboard.in bookmarks. | |
You should edit the `username`, `password`, `bookmark_filename`, and `tag` | |
variables. | |
Requirements: |
var sonos = require('sonos'); | |
var Scout = require('zetta-scout'); | |
var util = require('util'); | |
var SonosDriver = require('./sonos_driver'); | |
//We inherit from scout to get some Zetta functionality | |
var SonosScout = module.exports = function() { | |
Scout.call(this); | |
}; | |
util.inherits(SonosScout, Scout); |
I say "animated gif" but in reality I think it's irresponsible to be serving "real" GIF files to people now. You should be serving gfy's, gifv's, webm, mp4s, whatever. They're a fraction of the filesize making it easier for you to deliver high fidelity, full color animation very quickly, especially on bad mobile connections. (But I suppose if you're just doing this for small audiences (like bug reporting), then LICEcap is a good solution).
/* | |
from @rem | |
https://twitter.com/rem/status/729628084115247104 | |
*/ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("twitter.com") { | |
div[data-component-term="user-recommendations"], | |
div[data-component-term="trends"], | |
.promoted-tweet, |
# Data Structures | |
## Entity (object) | |
An Entity is a URI-addressable resource that has properties and actions | |
associated with it. It may contain sub-entities and navigational links. | |
### Properties | |
- class (array[string], optional) | |
Describes the nature of an entity's content based on the current | |
representation. Possible values are implementation-dependent and |
// generateUuid.js | |
// ------------------------------------------------------------------ | |
// | |
// created: Wed Dec 14 13:44:38 2016 | |
// last saved: <2016-December-14 13:44:44> | |
function generateUUID(){ | |
var d = new Date().getTime(); | |
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = (d + Math.random()*16)%16 | 0; |
layout | title |
---|---|
post |
RethinkDB: why we failed |
Posted on Github by Slava Akhmechet
When we [announced][shutdown-announcement] that RethinkDB is shutting down, I promised to write a post-mortem. I took some time to process the experience, and I can now write about it clearly.