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
/************************************************/ | |
/* This file's full path would be .src/mysql.js */ | |
/************************************************/ | |
var Promise = require('bluebird'); | |
const Sequelize = require('sequelize'); | |
const fs = Promise.promisifyAll(require('fs')); | |
const _ = require('lodash'); |
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
const path = require('path'); | |
const favicon = require('serve-favicon'); | |
const compress = require('compression'); | |
const cors = require('cors'); | |
const helmet = require('helmet'); | |
const bodyParser = require('body-parser'); | |
const feathers = require('feathers'); | |
const configuration = require('feathers-configuration'); | |
const hooks = require('feathers-hooks'); |
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 Promise = require('bluebird'); | |
const Sequelize = require('sequelize'); | |
const fs = Promise.promisifyAll(require('fs')); | |
const _ = require('lodash'); | |
const sequelize = new Sequelize(connectionString, { | |
dialect: 'mysql', | |
logging: false, | |
pool: { // application-side connection pool configuration |
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 { Sequelize, ISequelizeConfig } from 'sequelize-typescript'; | |
let configOpts: ISequelizeConfig = { | |
name: 'hawtdb', | |
dialect: 'mysql', | |
username: 'hawtuser', | |
password: 'hawrtpassl3377', | |
host: 'localhost', | |
port: 3306, | |
pool: { |
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
{ | |
"name": "charms-teacher-app", | |
"author": "Charms", | |
"homepage": "https://www.charmsoffice.com/", | |
"private": true, | |
"scripts": { | |
"clean": "ionic-app-scripts clean", | |
"build": "ionic-app-scripts build", | |
"ionic:build": "ionic-app-scripts build", | |
"ionic:serve": "ionic-app-scripts serve", |
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 authentication = require('feathers-authentication'); | |
const jwt = require('feathers-authentication-jwt'); | |
const local = require('feathers-authentication-local'); | |
const extractJWT = jwt.ExtractJwt; | |
import { Application } from 'feathers'; | |
import { Request } from 'express'; | |
// !! This service is different than the 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
{ | |
"name": "angular-aot-error", | |
"version": "1.0.0", | |
"description": "Test to repro genDir issue", | |
"main": "index.js", | |
"scripts": { | |
"build-jit": "tsc -p public/src", | |
"build-aot": "ngc -p public/src/tsconfig.aot.json" | |
}, | |
"repository": { |
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
"authentication": { | |
"secret": "somereallylongstring", | |
"strategies": [ | |
"local", | |
"jwt" | |
], | |
"path": "/authentication", | |
"service": "users", | |
"entity": "user", | |
"passReqToCallback": true, |
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
/* TYPESCRIPT */ | |
import { Injectable } from '@angular/core'; | |
@Injectable() | |
export class ResponsiveService { | |
constructor() { | |
window.onresize = this.callSubscribers | |
} |
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
2017-08-23T19:27:32.124039Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). | |
2017-08-23T19:27:32.124039Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled | |
2017-08-23T19:27:32.124039Z 0 [Note] MySQL (mysqld 5.7.18) starting as process 7572 ... | |
2017-08-23T19:27:32.124039Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions | |
2017-08-23T19:27:32.124039Z 0 [Note] InnoDB: Uses event mutexes | |
2017-08-23T19:27:32.124039Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier | |
2017-08-23T19:27:32.124039Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 | |
2017-08-23T19:27:32.124039Z 0 [Note] InnoDB: Number of pools: 1 | |
2017-08-23T19:27:32.139682Z 0 [Note] InnoDB: Not using CPU crc32 instructions | |
2017-08-23T19:27:32.139682Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M |
OlderNewer