Skip to content

Instantly share code, notes, and snippets.

View ethan-gustafson's full-sized avatar
👽

Ethan Gustafson ethan-gustafson

👽
View GitHub Profile
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active May 2, 2026 11:31
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@MWins
MWins / CSS-Best Practices.md
Last active September 11, 2025 02:09
CSS best practices

What CSS best practices should I follow ?

HTML best practices Depends. How far down the rabbit hole do you want to go ?

Just need something to look good : use a frontend framework like foundation or bootstrap, won't learn much about CSS. Short list of Front End Frameworks

Surface level : work general to specific. Comment the sections of the CSS. Use a reset or normalizer. Work on patterns, use classes over IDs for reuse. CSS Resets - includes normalize.css Don't have links for the other parts. see below

Little bit deeper : Look into BEM or OOCSS. Those stand for Block Element Modifier and Object Oriented CSS. Two popular methodologies for CSS. Also SMACSS.

@iangreenleaf
iangreenleaf / gist:b206d09c587e8fc6399e
Last active May 6, 2026 09:23
Rails naming conventions

Rails naming conventions

General Ruby conventions

Class names are CamelCase.

Methods and variables are snake_case.

Methods with a ? suffix will return a boolean.