- Rule of Modularity: Write simple parts connected by clean interfaces.
- Rule of Clarity: Clarity is better than cleverness.
- Rule of Composition: Design programs to be connected to other programs.
- Rule of Separation: Separate policy from mechanism; separate interfaces from engines.
- Rule of Simplicity: Design for simplicity; add complexity only where you must.
- Rule of Parsimony: Write a big program only when it is clear by demonstration that nothing else will do.
- Rule of Transparency: Design for visibility to make inspection and debugging easier.
- Rule of Robustness: Robustness is the child of transparency and simplicity.
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
| # ============================================================================= | |
| # 📚 Documentation | |
| # ============================================================================= | |
| # This Makefile is designed to support Go projects of any size, from small | |
| # personal projects to large enterprise applications. It provides a comprehensive | |
| # set of targets for development, testing, building, and deployment. | |
| # | |
| # Quick Start: | |
| # 1. Copy this Makefile to your project | |
| # 2. Create a .env file for local overrides (optional) |
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
| <!-- | |
| 📝 Pull Request Template | |
| ======================== | |
| Thank you for contributing to [REPO NAME HERE]! Please follow this template to ensure a smooth and efficient review process. | |
| ❌ Please delete any sections that are not relevant to your PR. | |
| --> | |
| ## 📄 Description |
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
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "strings" | |
| ) |
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 { Router } from 'express'; | |
| import passport from 'passport'; | |
| import isAuth from '../middleware/isAuth'; | |
| import validateToken from '../middleware/validateToken'; | |
| import search from '../middleware/search'; | |
| const fetch = require('node-fetch'); | |
| const Sub = require(`${process.cwd()}/models/Subscriptions`); | |
| const Events = require(`${process.cwd()}/models/EventModel`); |
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
| -- DBF Sem 1 2019 | |
| -- Schema Definition | |
| -- New Endor Integrated Data Infrastructure | |
| DROP TABLE MODEL CASCADE CONSTRAINTS; | |
| DROP TABLE LOCATION CASCADE CONSTRAINTS; | |
| DROP TABLE TICKET CASCADE CONSTRAINTS; | |
| DROP TABLE ROUTE CASCADE CONSTRAINTS; | |
| DROP TABLE IRREGULAR_EVENT CASCADE CONSTRAINTS; | |
| DROP TABLE SERVICE CASCADE CONSTRAINTS; |
NewerOlder