Skip to content

Instantly share code, notes, and snippets.

View csbenjamin's full-sized avatar

Cristiano Benjamin csbenjamin

View GitHub Profile
//schema
var messages_schema = mongoose.Schema({
from: mongoose.Schema.Types.ObjectId
,to: mongoose.Schema.Types.ObjectId
,created_on: Date
,delivered_on: Date
,message: String
});
@csbenjamin
csbenjamin / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
System.bundles = {
"bundles/1-3-4": [
"common/components/select"
],
"bundles/3-4": [
"common/components/date",
"common/core",
"common/components/modal"
]
};"format register";
<html>
<head></head>
<body>
<p>Hello World!</p>
</body>
</html>