$ uname -r
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
ROUTE('-POST /create/ *Create --> @create'); | |
NEWSCHEMA('Create', function(schema) { | |
schema.define('gender', ['male', 'female'], true); | |
schema.define('reference', String); | |
schema.define('firstname', 'Capitalize(30)', true); | |
schema.define('lastname', 'Capitalize(30)', true); | |
schema.define('position', 'String(30)'); |
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
//require('../index'); | |
// CONF.table_users = 'id:uid,name:string,dtcreated:date'; | |
// TABLE('users').find().callback(console.log); | |
// TABLE('users').insert({ id: UID(), name: 'Peter', dtcreated: NOW }); | |
const DELIMITER = '\0'; | |
const Fs = require('fs'); | |
const Path = require('path'); |
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
require('total4'); | |
CORS(); | |
ROUTE('POST /*', function() { | |
var self = this; | |
switch (self.url) { | |
case '/api/v1/ott-dummy/heartbeat/': | |
case '/api/v1/ott-dummy/view/': | |
self.plain('OK'); |
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> | |
<head> | |
<title>Load all files from directory and upload</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=11" /> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> | |
<meta name="robots" content="all,follow" /> |
OlderNewer