Skip to content

Instantly share code, notes, and snippets.

View zellyn's full-sized avatar

Zellyn Hunter zellyn

View GitHub Profile
@alekseykulikov
alekseykulikov / index.md
Last active April 14, 2024 00:32
Principles we use to write CSS for modern browsers

Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.

My 3 developers team has just developed React.js application with 7668 lines of CSS (and just 2 !important). During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.

Here are main principles we use to write CSS for modern (IE11+) browsers:

@ChrisHines
ChrisHines / logfmt-bench_test.go
Created February 20, 2016 03:08
Simple benchmark for three logging packages.
package main
import (
"io/ioutil"
"testing"
"github.com/Sirupsen/logrus"
"github.com/go-kit/kit/log"
"gopkg.in/inconshreveable/log15.v2"
)
@zellyn
zellyn / _.md
Created October 20, 2012 03:05
Drug users vs prisoners.