Skip to content

Instantly share code, notes, and snippets.

View ScheduleTest.ts output
Monday - 09:00AM – 09:15AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 09:15AM – 09:30AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 09:30AM – 09:45AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 09:45AM – 10:00AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 10:00AM – 10:15AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 10:15AM – 10:30AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 10:30AM – 10:45AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 10:45AM – 11:00AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 11:00AM – 11:15AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
Monday - 11:15AM – 11:30AM Client 1 [ 'Therapist 1', 'Therapist 2' ]
View gist:e5146064be4bcbd0259c3db4931a43ab
return new Promise((resolve, reject) => {
mongoose.connect(DATABASE_URL, err => {
if (err) {
return reject(err);
}
server = app.listen(port, () => {
console.log(`Your app is listening on port $ {port}`);
resolve(server);
}).on('error', err => {
reject(err);
View .bash_profile
NOESIS_WORKSPACE="/Users/paden/workspace/noesis"
#edit Hosts file
hosts()
{
subl /etc/hosts
}
#Go into your noesis workspace
ne()