This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| var FavEmoji = function(unicode) { | |
| 'use strict'; | |
| var | |
| canvas = document.createElement('canvas'), | |
| getContext = function(w) { | |
| canvas.width = canvas.height = w; | |
| context = canvas.getContext('2d'); | |
| context.font = 'normal normal normal 32px/' + w + 'px sans'; | |
| context.textBaseline = 'middle'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- So as an example of using a log orientated approach in PostgreSQL, | |
| -- let's write a simple blog application. We will want to be able to: | |
| -- * Write and edit blog posts | |
| -- * Publish revisions of posts for public viewing | |
| -- * Delete posts | |
| -- * Add or remove tags to posts | |
| -- Let's start by creating a schema. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { |
OlderNewer