graph TD
feat --> data-access
feat --> ui
feat --> type
feat --> util
feat --> state
feat --> guard
feat --> const
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
| { | |
| "arrowParens": "avoid", | |
| "htmlWhitespaceSensitivity": "ignore", | |
| "overrides": [ | |
| { | |
| "files": "*.md", | |
| "options": { | |
| "printWidth": 80 | |
| } | |
| }, |
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
| javascript: (function () { | |
| if (document.getElementById('chatgpt-bookmarklet-ui')) return; | |
| function getCleanSelectedText() { | |
| const selection = window.getSelection(); | |
| if (!selection || selection.rangeCount === 0) return ''; | |
| const range = selection.getRangeAt(0); | |
| const fragment = range.cloneContents(); | |
| const container = document.createElement('div'); |
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
| /** | |
| * Inside "src/routes" directory | |
| */ | |
| const express = require('express'); | |
| const router = express.Router(); | |
| router.get('/', (req, res) => { | |
| res.send('Hello World'); | |
| }); |
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
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
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
| highlight CursorLine cterm=NONE ctermbg=darkgray ctermfg=NONE | |
| highlight lineNr cterm=NONE | |
| nnoremap <F3> :set nu! rnu! list!<CR> | |
| nnoremap <silent> <Esc><Esc> :noh<CR> :call clearmatches()<CR> | |
| set backspace=indent,eol,start | |
| set cursorline | |
| set listchars=tab:↳\ ,trail:·,extends:>,precedes:<,nbsp:· | |
| set nonu nornu nolist | |
| set pastetoggle=<F2> |
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 { AuthService } from './auth.service'; | |
| import { map } from 'rxjs'; | |
| export const BaseCard = (title, ...ngContent) => { | |
| const auth = inject(AuthService); | |
| const isPremiumAccount = auth.user$.pipe( | |
| map(user => user.isPremium) | |
| ); | |
| return ( | |
| // JSX-style template with first-class support for RxJS |
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
| /* ::ng-deep */ | |
| ::ng-deep.mat-tab-label, | |
| ::ng-deep.mat-tab-label-active { | |
| min-width: 0 !important; | |
| padding: 0 10px !important; | |
| margin: 0 20px 0 0 !important; | |
| } |
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
| export function createSnapshotObjects<T>(snapshots): Array<T> { | |
| return snapshots.map(snap => { | |
| return { | |
| id: snap.payload.doc.id, | |
| ...snap.payload.doc.data() | |
| }; | |
| }); | |
| } |