Skip to content

Instantly share code, notes, and snippets.

Rafe Goldberg rafegoldberg

Block or report user

Report or block rafegoldberg

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
View list.md
@rafegoldberg
rafegoldberg / filled-array.js
Last active Jan 28, 2019
New Array Filled Randomly (Javascript)
View filled-array.js
let
set = [...Array(40)].map(e=> ~~(Math.random()*40))
@rafegoldberg
rafegoldberg / style.css
Created Jan 13, 2019
Flexible CSS Grid
View style.css
.grid {
display: grid;
grid-template-columns: repeat(
auto-fill,
minmax(15rem, 1fr)
);
grid-gap: 1rem;
}
@rafegoldberg
rafegoldberg / _pattern.scss
Last active Dec 24, 2018
wrap core styles in an @exe() $silent toggle for extension auto-expansion
View _pattern.scss
@include pattern(PatternName){
/**
* this creates a silent root selector
* "%PatternName"; if $SILENT is false,
* it'll also append the ".PatternName"
* selector to enable ‘auto-extension‘.
*/
test: 'auto-@extends and a @pattern() mixin';
}
@rafegoldberg
rafegoldberg / .gitconfig
Created Oct 26, 2017 — forked from rab/.gitconfig
A good starting point for ~/.gitconfig
View .gitconfig
# -*- Conf -*-
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
# color.branch
# A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or
You can’t perform that action at this time.