Semantic, responsive, magical, easy to learn flexbox grid.
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
import {inject} from 'aurelia-framework'; | |
import {Router} from 'aurelia-router'; | |
import AppRouterConfig from './app.router.config'; | |
import {AuthService} from 'aurelia-authentication'; | |
import {BindingEngine} from 'aurelia-framework'; | |
import {EventAggregator} from 'aurelia-event-aggregator'; | |
@inject(Router, AppRouterConfig, AuthService, BindingEngine, EventAggregator) | |
export class Default { |
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
login() { | |
let loginData = { | |
username: this.username, | |
password: this.password, | |
school: this.selectedSchool //this.selectSchool retorna o ID da escola, e não o Object | |
}; | |
this.authService | |
.login(loginData) | |
.then(response => { |
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
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(13, 12, 5, 4, 2, 3); | |
int portaBtnEnter = 10; | |
int portaBtnMoveSeta = 9; | |
bool btnEnter; | |
bool btnMoveSeta; |
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
'use strict'; | |
const moment = require('moment'); | |
const jwt = require('jwt-simple'); | |
const config = require('../config/config.js'); | |
exports.createJWT = user => { | |
let payload = { | |
sub: user._id, | |
iat: moment().unix(), |
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
[{"_id":"57aeab62ed8ac259616c8b52","number":1,"type":"Personal Preference","question":"What is your favorite place to visit on weekends? Describe it and explain why it is your favorite place to go.","audio_url":"","reading":"","__v":0}] |
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
import {inject} from 'aurelia-framework'; | |
import {HttpClient} from 'aurelia-fetch-client'; | |
@inject(HttpClient) | |
export class NewTask { | |
tasksType = | |
[ | |
{number: 1, type: 'Personal Preference'}, | |
{number: 2, type: 'Paired Choice'}, |
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
<template> | |
<div> | |
<select md-select value.bind="selectedTaskType" change.delegate="onChangeTaskType()"> | |
<option model.bind="null">Choose the type of the task...</option> | |
<option repeat.for="taskType of tasksType" model.bind="taskType"> | |
${taskType.number} - ${taskType.type} | |
</option> | |
</select> | |
</div> |
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
{ Error: ENOENT: no such file or directory, open '/app/package.json' | |
at Error (native) | |
errno: -2, | |
code: 'ENOENT', | |
syscall: 'open', | |
path: '/app/package.json' | |
} |
Semantic, responsive, magical, easy to learn flexbox grid.
NewerOlder