Skip to content

Instantly share code, notes, and snippets.

View muhaba7me's full-sized avatar

Alemayehu Zegeye muhaba7me

View GitHub Profile
npm run dev
> [email protected] dev
> nodemon --watch src --ext ts --exec ts-node src/index.ts
[nodemon] 3.1.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src\**\*
[nodemon] watching extensions: ts
[nodemon] starting `ts-node src/index.ts`
npm run dev
> [email protected] dev
> nodemon --watch src --ext ts --exec ts-node src/index.ts
[nodemon] 3.1.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src\**\*
[nodemon] watching extensions: ts
[nodemon] starting `ts-node src/index.ts`
import express, { Request, Response, NextFunction } from "express";
import dotenv from "dotenv";
import cors from "cors";
import helmet from "helmet";
import morgan from "morgan";
import winston from "winston";
import path from "path";
import { dbService } from "./services/db.service";
const logger = winston.createLogger({
--mat-sys-on-surface: initial;
--mat-ripple-color: rgba(0, 0, 0, 0.1);
--mat-option-selected-state-label-text-color: #3f51b5;
--mat-option-label-text-color: rgba(0, 0, 0, 0.87);
--mat-option-hover-state-layer-color: rgba(0, 0, 0, 0.04);
--mat-option-focus-state-layer-color: rgba(0, 0, 0, 0.04);
--mat-option-selected-state-layer-color: rgba(0, 0, 0, 0.04);
--mat-optgroup-label-text-color: rgba(0, 0, 0, 0.87);
--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;
--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;
Certificates Earned` }
]] at column 253 in [let card of [
{ icon: 'fa-users', count: institutionService.institution?.totalUsers || 0, text: $localize`:@@totalUsers:Total Users` },
{ icon: 'fa-book-open', count: institutionService.institution?.courseInProgress || 0, text: $localize`:@@instCourseProgress:Total Courses In Progress` },
{ icon: 'fa-clock', count: institutionService.institution?.trainedTime || 0, text: $localize`:@@instTimeTrained:Total Time Trained` }, { icon: 'fa-certificate', count: institutionService.institution?.certificateEarned || 0, text: $localize`:@@instCertificateEarned:Total Certificates Earned` }
]] in E:\development\hosstinn-frontend\src\app\features\dashboard\team-analytics\team-analytics-component.html@3:31 [plugin angular-compiler]
src/app/features/dashboard/team-analytics/team-analytics-component.html:44:28:
44 │ [legend]="true"
╵ ~~~~
<div class="container-fluid p-4">
<div class="mb-4 d-flex justify-content-end institution-filter">
<div class="select-wrapper" style="width: 250px">
<label class="mb-2" i18n="@@selectInstitution">Select Institution</label>
<select class="custom-dropdown" (change)="filterByInstitution($event)">
<option
class="instituion-name-select"
*ngFor="let institutionName of institutionNames"
[value]="institutionName"
>
import { Component, OnInit } from '@angular/core'
import { InstitutionsApiService } from 'src/app/core/services/api/institutions-api.service'
import { faChevronLeft, faChevronRight, faUserGraduate } from '@fortawesome/free-solid-svg-icons'
import { UserService } from 'src/app/core/services/user.service'
import { DepartmentsApiService } from 'src/app/core/services/api/departments-api.service'
import { InstitutionService } from 'src/app/core/services/institution.service'
import { ChartOptions, ChartType } from 'chart.js'
import { Institution, InstitutionUser } from 'src/app/core/models/institution-user'
import { DatePipe } from '@angular/common'
import * as pdfMake from 'pdfmake/build/pdfmake.js'

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default