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
@Input() formDataObj; | |
pageProps = []; | |
private oldFormSetup() { | |
const formDataObj = {}; | |
for (const propName of Object.keys(this.formDataObj)) { | |
console.log('prop name', propName); | |
formDataObj[propName] = new FormControl(this.formDataObj[propName]); | |
console.log('value', formDataObj[propName].value); | |
this.pageProps.push({ |
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
$screen-xs-min: 425px; // Tiny phones | |
$screen-sm-min: 576px; // Small tablets and large smartphones (landscape view) | |
$screen-md-min: 768px; // Small tablets (portrait view) | |
$screen-lg-min: 992px; // Tablets and small desktops | |
$screen-xl-min: 1200px; // Large tablets and desktops | |
// Mixins | |
// Tiny devices | |
@mixin xs { |
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
@function hex-to-rgb($hex) { | |
@return #{red($hex)},#{green($hex)},#{blue($hex)}; | |
// @return red($hex),green($hex),blue($hex); | |
} | |
// replace substring with another string | |
// credits: https://css-tricks.com/snippets/sass/str-replace-function/ | |
@function str-replace($string, $search, $replace: '') { | |
$index: str-index($string, $search); | |
@if $index { | |
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); |
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
@use 'sass:math'; | |
@use 'sass:map'; | |
// $values: (50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700); | |
@function createPalette($color) { | |
$white: #fff; | |
$black: #000; | |
$baseDark: multiply($color, $color); | |
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 { NgModule } from '@angular/core'; | |
import { httpInterceptorProviders } from './http-interceptors'; | |
import { Cache } from './services/cache'; | |
import { CacheMapService } from './services/cache-map.service'; | |
@NgModule({ | |
providers: [ | |
httpInterceptorProviders, | |
CacheMapService, | |
{ provide: Cache, useClass: CacheMapService } |
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
# List All Apps Using the Terminal | |
ls -la /Applications/ > /Users/kwakes/Workspace/___Space___/InstalledAppsTerminal.txt | |
# ls -la /Applications/ > /Users/[USERNAME]/InstalledApps/InstalledAppsTerminal.txt | |
# List All APP Files Everywhere Using Terminal | |
sudo find / -iname '*.app' > /Users/kwakes/Workspace/___Space___/InstalledAppsOnSystemTerminal.txt | |
# sudo find / -iname '*.app' > /Users/[USERNAME]/InstalledApps/InstalledAppsOnSystemTerminal.txt | |
# List All Mac App Store Apps Using Terminal | |
find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print | |
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
{ | |
"scripts": [], | |
"styles": [] | |
} |
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
{ | |
"scripts": [], | |
"styles": [] | |
} |
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
{ | |
"scripts": [], | |
"styles": [] | |
} |
OlderNewer