Skip to content

Instantly share code, notes, and snippets.

View royeradames's full-sized avatar
📚
Working from library

Royer Adames royeradames

📚
Working from library
View GitHub Profile
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html {
font-size: 10px;
}
*, *:before, *:after {
font-size: 10px;
}
html {
font-size: 10px;
box-sizing: border-box;
}
*, *:before, *:after {
font-size: inherit;
box-sizing: inherit;
}
@royeradames
royeradames / gist:7acc9fa216c2bf138dc029d9f77d4aba
Last active March 25, 2021 00:46
normalize_border-box-fix_rem-unit-setup
@import-normalize; /* bring in normalize.css styles */
html {
font-size: 10px;
box-sizing: border-box;
}
*, *:before, *:after {
font-size: inherit;
box-sizing: inherit;
@royeradames
royeradames / gist:2b5327dd41cfa0a7c6362925cb3f065c
Created February 22, 2021 20:32
custom file loader reports
//custom file loader reports
// design for downloading 1 complete file at a time
let intervalID
page.on('download', async download => {
startDownloadReport(download, intervalID)
// last report
download.saveAs(`./data/${ download.suggestedFilename()}`).then(() => {
endDownloadReport(download, intervalID)
})
import { RouterModule, Routes } from '@angular/router';
const appRoutes: Routes = [
{ path: '', component: HomeComponent},
{ path: 'users', component: UserComponent},
{ path: 'servers', component: ServerComponent},
]
imports: [
BrowserModule,
FormsModule,
RouterModule.forRoot(appRoutes)