I hereby claim:
- I am cadecairos on github.
- I am cadecairos (https://keybase.io/cadecairos) on keybase.
- I have a public key whose fingerprint is 99F9 2E19 A752 31D1 CEF5 C795 3758 CA9B 4018 940D
To claim this, I am signing this object:
var schema = Joi.array().items( | |
Joi.object().keys({ | |
a: Joi.string().valid('1', '2', '3'), | |
b: Joi.string().valid('a', 'b', 'c'), | |
c: Joi.object().keys({ | |
// Does this work? | |
// if not, how do I reference 'a' properly? | |
d: Joi.any().when('a', { | |
is: '1', |
@namespace url(http://www.w3.org/1999/xhtml); | |
html input, | |
html textarea, | |
html select, | |
html button, | |
html input[type="reset"], | |
html input[type="button"], | |
html input[type="submit"], | |
html input[type="radio"], |
I hereby claim:
To claim this, I am signing this object:
title { | |
label: "mozilla/id.webmaker.org ERD", size: "20" | |
} | |
[Clients] | |
*client_id | |
client_secret | |
allowed_grants | |
allowed_responses | |
redirect_url |
CREATE EXTENSION IF NOT EXISTS pgcrypto; | |
CREATE OR REPLACE FUNCTION generate_reset_code() | |
RETURNS TRIGGER AS $$ | |
BEGIN | |
NEW.code = gen_random_uuid(); | |
RETURN NEW; | |
END; | |
$$ language 'plpgsql'; |
Tools used
Since projects take up about 750Mib of disk space, loading them all into a node process is not possible. Therefore, I broke the projects up into 50000 project chunks. You're probably also going to want to manuall increase the Heap size available to V8 using node --max_old_space_size=2000000
We can roll the new featured tag[s] into /discover
Pros: No extra HTTP requests on the client
Cons: Kind weird, especially with pagination. Larger payload sizes.
GET /disover
{
webmaker: | |
image: cade/webmaker-api:latest | |
env_file: compose.webmaker.env | |
net: "host" | |
id: | |
image: cade/webmaker-id:latest | |
env_file: compose.id.env | |
net: "host" | |
loginapi: | |
image: cade/legacy-webmaker-login:latest |
# A postgresql container to store all your dev dataz! | |
pg: | |
# cade/webmaker-postgres is a slightly customized version of the official Docker Hub postgres container | |
image: cade/webmaker-postgres | |
# Enable host networking for the container - effectively making th containers 'localhost' the same as the host | |
net: "host" | |
# Mounts the pg_data folder in this repo to the containers filesystem. |