Skip to content

Instantly share code, notes, and snippets.

View felipebernardes's full-sized avatar
👋
Available for quick chats

Felipe Bernardes felipebernardes

👋
Available for quick chats
View GitHub Profile
@felipebernardes
felipebernardes / .zshrc
Created December 28, 2023 20:23
.zshrc (pikachu theme)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
cd ~/git
# https://linuxhint.com/change-zsh-prompt-name/
# https://git-scm.com/book/sv/v2/Bilaga-A%3A-Git-in-Other-Environments-Git-in-Zsh
#default prompt
#PROMPT='%K{blue}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k'
@felipebernardes
felipebernardes / Makefile
Last active October 2, 2018 15:00
Example/POC of messaging between main js thread and SW thread. 1) download and unzip 2) run 'make start' in your terminal 3) access localhost:1234 in your browser
start:
php -S localhost:1234
const COLORS = {
blue: ['#1E88E5', '#90CAF9'],
brown: ['#6D4C41', '#D7CCC8'],
gray: ['#212121', '#BDBDBD'],
green: ['#388E3C', '#A5D6A7'],
red: ['#E53935', '#EF9A9A'],
orange: ['#F4511E', '#FFAB91'],
purple: ['#8E24AA', '#E1BEE7'],
yellow: ['#FFD600', '#FFF59D'],
}