Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block suntong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
skarllot / enum.go
Created Jun 18, 2015
Enum-like types for Go (golang) that provides string representation
View enum.go
package main
import "fmt"
var enums []string
type Enum int
func (e Enum) String() string {
return enums[int(e)]
magicznyleszek /
Last active Apr 3, 2020
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
You can’t perform that action at this time.