Skip to content

Instantly share code, notes, and snippets.

View juancsr's full-sized avatar
🧑‍💻
Learning rust

Juan Sarmiento juancsr

🧑‍💻
Learning rust
View GitHub Profile
@juancsr
juancsr / mac-docker-withot-docker-destop.md
Last active April 17, 2024 15:05
Use docker in mac without docker-
@juancsr
juancsr / config
Last active June 19, 2021 18:40 — forked from rbialek/config
ssh/.config
Host github.com gist.github.com
User juancsr
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/user/.ssh/id_rsa
@juancsr
juancsr / init.vim
Last active January 1, 2023 22:38
My nvim configuration
call plug#begin('~/.local/share/nvim/plugged')
" Themes
Plug 'morhetz/gruvbox'
" Nerdtree
Plug 'preservim/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'ryanoasis/vim-devicons'
Plug 'johnstef99/vim-nerdtree-syntax-highlight'
@juancsr
juancsr / docker-compose.yml
Last active April 15, 2020 22:32
MongoDB yml file
# remember to run docker network create back_end
version: '3'
# mongodb
services:
db:
image: mongo:latest
container_name: mongodb_backend_develop
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/var/log/mongodb
@juancsr
juancsr / easy_copy.sh
Last active August 29, 2019 17:51
hacer_todo.sh
# Lee el nombre de la carpeta base
read -p "Ingrese el nombre de la carpeta: " folder_name
if [ -d "$HOME/$folder_name" ]; then
echo "Eliminando la carpeta $folder_name"
rm -r $HOME/$folder_name
fi
mkdir $HOME/$folder_name && cd $HOME/$folder_name
echo "Creando carpetas..."