Skip to content

Instantly share code, notes, and snippets.

git filter-branch --force --index-filter "git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA" --prune-empty --tag-name-filter cat -- --all
git ls-files | xargs -n 1 dirname | uniq | grep /dist | xargs -n 1 git rm --cached -r --
find ./packages/ -name dist | uniq | xargs -n 1 rm -rf --
<template>
<div class="Modal mfp-hide" ref="modal">
<div class="Modal__inner">
<slot></slot>
</div>
</div>
</template>

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@SvyatoslavPozhydaev
SvyatoslavPozhydaev / _fw-variables.sass
Last active June 15, 2018 07:25
sass variables for font-weight
$font-weight-thin: 100 // Thin (Hairline)
$font-weight-extra-light: 200 // Extra Light (Ultra Light)
$font-weight-light: 300 // Light
$font-weight-normal: 400 // Regular (normal, book)
$font-weight-medium: 500 // Medium
$font-weight-semi-bold: 600 // Semi Bold (Demi Bold)
$font-weight-bold: 700 // Bold
$font-weight-extra-bold: 800 // Extra Bold (Ultra Bold)
$font-weight-black: 900 // Black (Heavy)

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
@SvyatoslavPozhydaev
SvyatoslavPozhydaev / cssblur.css
Last active May 3, 2017 10:00 — forked from agragregra/cssblur.css
CSS Stand-Alone Blur Overlay
.class {
filter: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="blur"><feGaussianBlur stdDeviation="3"/></filter></svg>#blur');
}