Skip to content

Instantly share code, notes, and snippets.

View sunny7899's full-sized avatar
🏠
Working from home

sunny sunny7899

🏠
Working from home
View GitHub Profile
@ryansechrest
ryansechrest / html-style-guide.md
Last active July 28, 2024 23:22
HTML style guide with coding standards and best practices.

HTML Style Guide

All rules and guidelines in this document apply to HTML files.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Icon Legend:

· Space, Tab, Enter/Return

@rveitch
rveitch / sass-7-1-pattern.scss
Last active November 13, 2024 08:34
Sass 7-1 Pattern
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– components/
| |– _buttons.scss # Buttons
| |– _carousel.scss # Carousel
@antischematic
antischematic / counter.component.compiled.ts
Last active February 21, 2022 15:12
Angular Single File Module
// noinspection BadExpressionStatementJS
import {
use,
inject,
listen,
subscribe, provide, ValueToken, ViewDef,
} from "@mmuscat/angular-composition-api"
import { EMPTY } from "rxjs"
import { Component, ViewChild } from "@angular/core"