Skip to content

Instantly share code, notes, and snippets.

View brunoannunciato's full-sized avatar
🇧🇷
bruno.dev

Bruno Annunciato brunoannunciato

🇧🇷
bruno.dev
View GitHub Profile
iTerm - terminal
Zsh - shell
zinit - Plugins manager
syntax-highlighter
autocomplete
autosuggestion
powerLevel10k - Zsh theme
NVM (from curl) - Node version manager
Vim - Text editor
wakatime - plugin
@brunoannunciato
brunoannunciato / txt
Created July 9, 2019 17:34
Fix: zsh: command not found: nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
source ~/.nvm/nvm.sh
@media screen and (min-width:0\0) {
}
const FutureSelect = (selector, parent = document) => {
let request = null
return new Promise((resolve) => {
const select = () => {
const elements = parent && [ ...parent.querySelectorAll(selector) ] || []
if (!elements.length) {
request = requestAnimationFrame(select)
return