🏳️⚧️
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
<root> | |
<add-todo> | |
<input><button>Add todo</button></input> | |
</add-todo> | |
<todo-list><ul> | |
<todo id="0" completed="false"><li>buy milk</li></todo> | |
</ul></todo-list> | |
<filters> | |
Show: <filter-link><a>All</a><filter-link> ... </filters> | |
</root> |
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
var nlp = require('./nlp'); | |
var tokens = nlp.tokenize("Eligibility: Open to the general public, must have a library card to checkout library materials"); | |
console.log(tokens.tag()); | |
//Outputs "Open" as "NNP" | |
var tokens = nlp.tokenize("Eligibility: open to the general public, must have a library card to checkout library materials"); | |
console.log(tokens.tag()); |
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
// angular.module is a global place for creating, registering and retrieving Angular modules | |
// 'Captix' is the name of this angular module example (also set in a <body> attribute in index.html) | |
// the 2nd parameter is an array of 'requires' | |
// 'Captix.controllers' is found in controllers.js | |
angular.module('captix', ['ionic', 'captix.controllers', 'captix.services']) | |
.run(function($ionicPlatform) { | |
$ionicPlatform.ready(function() { | |
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard | |
// for form inputs) |
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
// Model | |
module.exports = { | |
connection: '', | |
tableName: 'events', | |
attributes: { | |
start_time: { | |
type: 'datetime', | |
required: true, | |
before: function() { | |
return this.end_time; |
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
start_time: { | |
type: 'string', | |
required: true, | |
before: this.end_time, | |
columnName: 'status' | |
}, | |
end_time: { | |
type: 'string', | |
required: true, | |
after: this.start_time, |
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
### OnBoarding | |
- Software needed. | |
- Explanation of parts of software. | |
- Explanation of Coding standards within organization. | |
- Git class if needed. | |
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
var fs = require('fs-extra'); | |
var wrench = require('wrench'); | |
var exec = require('child_process').exec; | |
var path = require('path'); | |
var sailsBin = path.resolve('./bin/sails.js'); | |
/** | |
* Uses the Sails binary to create a namespaced test app | |
* If no appName is given use 'testApp' | |
* |