Import the utility function:
import rovingTabindex from './rovingTabindex';
Init the function by bassing the required parameter:
$breakpoints: ( | |
extraSmall : 30em, | |
small : 48em, | |
medium : 60em, | |
large : 80em, | |
extraLarge : 100em | |
); | |
$densities: ( | |
1x : '96dpi', |
sudo gem install -n /usr/local/bin package_name |
document.addEventListener('touchmove', function (e) { | |
e.preventDefault(); | |
}); | |
var c = document.getElementsByTagName('canvas')[0], | |
x = c.getContext('2d'), | |
pr = window.devicePixelRatio || 1, | |
w = window.innerWidth, | |
h = window.innerHeight, | |
f = 90, | |
q, |
touch ~/.npmrc | |
echo "prefix = ~/.local" >> ~/.npmrc | |
echo "export PATH=$HOME/.local/bin:$PATH" >> ~/.zshrc && echo $PATH | |
source ~/.zshrc |
const fs = require('fs-extra'); | |
const postcss = require('postcss'); | |
const postcssrc = require('postcss-load-config'); | |
const folder = './folder/'; | |
const outputFolder = './out'; | |
const run = async () => { | |
const files = await fs.readdir(folder); |
# First: | |
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
#go to /usr/local/lib and delete any node and node_modules | |
cd /usr/local/lib | |
sudo rm -rf node* |
[user] | |
name = Mattia Astorino | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[color "status"] |
$i: 5; | |
$halfstar-style: url(#half-star) currentColor; | |
$dimmed-star-opacity: 0.3; | |
.ReviewIndicator { | |
display: inline-flex; | |
/** | |
* Set consecutive icons spacing | |
*/ |