Skip to content

Instantly share code, notes, and snippets.

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

Gordon Evans gjrevans

🏠
Working from home
View GitHub Profile
@gjrevans
gjrevans / css-rules.md
Last active November 21, 2017 19:44
An overview of the CSS rules that I push for in my development practices

CSS RULES FOR GOOD DEVELOPERS

Writing consistent and readable CSS that will scale well is a challenging process. Especially when the style sheets are getting larger, more complex, and harder to maintain. I have created this set of rules to simplify decision making and maintainability when developing new projects. The following rules assume we are using CSS preprocesser like SASS (.scss) to simplify our lives.

GENERAL RULES

As a general rule of thumb, code should be as modular as possible. Don't be afraid to break CSS into seperate files where it makes sense.

@gjrevans
gjrevans / export_git_logs
Last active October 6, 2016 16:23
Export a CSV of all git logs for a given repository
git log --all --pretty=format:'%H||%h||%t||%p||%an||%ae||%ad||%cn||%ce||%cd||%d||%s'>[file_name_wo_brackets].csv