This file contains hidden or 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 id="projects"> | |
| <h1>Projects</h1> | |
| <p> | |
| Data will be inserted here from the API, or death ! | |
| </p> | |
| <ul class="mt-5"> | |
| <li |
This file contains hidden or 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
| # Determines which branch(es) will cause a CI build to be started | |
| trigger: | |
| - master | |
| # Stages precede strategy, in other words each stage can contain a strategy (or multiple or none) | |
| # Full run-cylce described here: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/runs?view=azure-devops | |
| stages: | |
| - stage: Prepare | |
| jobs: | |
| - job: |
This file contains hidden or 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 Controller from "@ember/controller"; | |
| import { action } from "@ember-decorators/object"; | |
| export default class Application extends Controller { | |
| constructor() { | |
| super(...arguments); | |
| this.showModal = false; | |
| } | |
| @action |
This file contains hidden or 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 Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| }); |
This file contains hidden or 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 this hook to set the `.id` property of an item/record to a freshly generated uuidv4. | |
| // | |
| // Requires https://github.com/kelektiv/node-uuid | |
| const { checkContext, getItems, replaceItems, _setFields } = require('feathers-hooks-common'); | |
| const uuidv4 = require('uuid/v4'); | |
| // eslint-disable-next-line no-unused-vars |
This file contains hidden or 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
| // ----------------------------------------------------- | |
| // projects.service.js | |
| // ----------------------------------------------------- | |
| // Initializes the `projects` service on path `/projects` | |
| const createService = require('feathers-sequelize'); | |
| const createModel = require('../../models/projects.model'); | |
| const hooks = require('./projects.hooks'); | |
| module.exports = function (app) { | |
| const Model = createModel(app); |
This file contains hidden or 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
| # -------------------------------------- | |
| # Cakebox HTTP catch-all configuration | |
| # -------------------------------------- | |
| server { | |
| listen 80 default_server; | |
| server_name _; | |
| # root directive should be global | |
| root /cakebox/console/webroot; |
This file contains hidden or 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
| a |
This file contains hidden or 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
| GOOD: | |
| Array | |
| ( | |
| [host] => ssl://smtp.gmail.com | |
| [port] => 465 | |
| [timeout] => 30 | |
| [username] => [email protected] | |
| [password] => secret | |
| [client] => |