Skip to content

Instantly share code, notes, and snippets.

View opchaves's full-sized avatar

Paulo Chaves opchaves

View GitHub Profile
@opchaves
opchaves / Yarn.md
Last active December 30, 2016 14:34

Yarn

Install Yarn

Troubleshooting

On Ubuntu 16.04, after running yarn global add express-generator the command express didn't became available. This hapenned because the path to the binaries wasn't set. If you're using zsh, open your .zshrc and add the following:

export PATH="$PATH:$HOME/.config/yarn/global/node_modules/.bin"
@opchaves
opchaves / tmux-cheatsheet.markdown
Created November 24, 2016 15:44 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@opchaves
opchaves / xubuntu-config.md
Last active November 24, 2016 15:42
A list of commands to install and config the tools I use daily

Xubuntu Configuration

Zsh

Install

sudo apt-get install zsh

Install Oh My Zsh

Via curl

@opchaves
opchaves / svn-cheat-sheet.md
Created November 18, 2016 14:10
A great list of SVN commands that I've been using on a daily basis

SVN commands

Check the status

svn status

Repository info

svn info
@opchaves
opchaves / mongodb-cheat-sheet.md
Last active September 10, 2022 21:51
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Connect to a database after starting mongo client

$ mongo
use dbname

Call this command before using a specific database. This command also creates the database, but the new database is only save when you insert the first document in a collection.