An activity has an actor, subject, proprietor, domain, and listeners. Sometimes an activity has a supersubject, superproprietor, superdomain
This file contains 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
// Select | |
FROM users | |
WHERE name LIKE '.+urtis' | |
// Insert | |
TO users | |
SET name: 'kurtis' | |
// Update | |
IN users |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
{% include meta.html %} | |
<link href="/normalize.css" rel="stylesheet"> | |
</head> | |
<body> | |
<!--[if lt IE 7]> | |
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> | |
<![endif]--> |
This file contains 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
// : String | |
const name = "Kurtis Rainbolt-Greene" | |
// : Array of String | |
const friends = [ | |
"Jack", | |
"Jill" | |
] | |
// : String -> Boolean |
This file contains 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
export default (schema) => { | |
return { | |
...schema, | |
accounts: { | |
columns: { | |
id: {type: "uuid", primary: true, defaultTo: "uuid4"}, | |
fullName: {type: "text", nullable: false, defaultTo: "", index: true}, | |
email: {type: "text", nullable: false, unique: true}, | |
active: {type: "boolean", nullable: false, defaultTo: false} | |
} |
This file contains 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
AUTHOR "Kurtis Rainbolt-Greene <[email protected]>" | |
ISO boot2docker | |
MACHINE mythoas | |
CONTAINER api | |
FROM ubuntu:latest | |
LINK postgres:database | |
LINK memcached:cache |
This file contains 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
# Lets first create a new type of `Object`, the `Record`. | |
# It's a type of `Object`, so we clone the behavior from `Object`. | |
Record: Object clone | |
# Every Object has a build method that gets called in `Object#clone`. | |
# Think of it as a way to setup your fresh new object. | |
# It should always be assigned a method. | |
build: method | |
# Every method gets it's own set of bindings object | |
# On instantiation of the method object all of the arguments get assigned | |
# to the bindings object. |
This file contains 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
space = "\s" | "\t"; | |
newline = "\n" | "\r"; | |
white space = { space | newline }; | |
upper letter = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"; | |
lower letter = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"; | |
letter = upper letter | lower letter; | |
symbol = "." | "?" | "!"| '"' | "'" | "," | "_" | "@" | "$" | "%" | "^" | "&" | "/" | "\" | "`" | "~" | "-" | "|" | "=" | "*" | "<" | ">" | "+"; |
This file contains 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
Range: Object clone | |
sort: method | |
compare: method | |
a <=> b | |
compare(a: a, b: b) <=> compare(a: a, b: b) |
This file contains 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
space = "\s" | "\t"; | |
newline = "\n" | "\r"; | |
white space = { space | newline }; | |
upper letter = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"; | |
lower letter = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"; | |
letter = upper letter | lower letter; | |
symbol = "." | "?" | "!"| '"' | "'" | "," | "_" | "@" | "$" | "%" | "^" | "&" | "/" | "\" | "`" | "~" | "-" | "|" | "=" | "*" | "<" | ">" | "+"; |
NewerOlder