Skip to content

Instantly share code, notes, and snippets.

Avatar
💭

Rafe Goldberg rafegoldberg

💭
View GitHub Profile
@rafegoldberg
rafegoldberg / VSCode Workspace Settings.md
Last active Jul 6, 2020
Baseline workspace settings file for Node projects.
View VSCode Workspace Settings.md

VSCode Settings

Baseline workspace settings file for Node projects.

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.