Skip to content

Instantly share code, notes, and snippets.

View savio777's full-sized avatar
💻
studying and working with web developer and mobile

Sávio savio777

💻
studying and working with web developer and mobile
View GitHub Profile
@savio777
savio777 / Dockerfile
Last active November 30, 2021 21:18
Laravel Docker - how to run
# https://www.digitalocean.com/community/tutorials/how-to-install-and-set-up-laravel-with-docker-compose-on-ubuntu-20-04-pt
FROM php:7.4-fpm
# Arguments defined in docker-compose.yml
ARG user
ARG uid
# Install system dependencies
RUN apt-get update && apt-get install -y \
@savio777
savio777 / README.md
Last active May 4, 2022 20:30
mini tutorial installation nodejs on linux

first download nodejs version here

steps:

  • unzip file: tar -xf node-version.tar.xz
  • rename new folder for 'node' (optional)
  • do: sudo cp -r node/{bin,include,lib,share} /usr/
  • test: node -v && npm -v
@savio777
savio777 / README.md
Created February 2, 2022 20:43
Shortcut for indentation in VsCode

Shortcut for indentation in VsCode

  • On Windows: Shift + Alt + F
  • On Mac: Shift + Option + F
  • On Ubuntu: Ctrl + Shift + I
@savio777
savio777 / jsx.md
Last active May 31, 2023 00:13
react web, next.js e mobile
@savio777
savio777 / mongo_shell.md
Created May 31, 2023 00:09
comandos mongo shell

comandos mongo shell

  • mostrar coleções
show dbs
  • selecionar banco de dados ou criar um se ainda não existe

git

  • renomear mensagem do último commit:
git commit --amend -m "New commit message."
  • reverter commit:

docker

  • permissão do usuário comum ao docker unix:
sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
@savio777
savio777 / links.md
Created May 31, 2023 00:13
links importantes
@savio777
savio777 / readme.md
Created October 16, 2023 16:49
Config Eslint

reference

  • install
yarn add eslint --dev
  • run eslint config
yarn run eslint --init
@savio777
savio777 / portfolio-contact-data.json
Last active December 14, 2023 18:51
portfolio contacts data
{
"aboutMe": {
"name": "Sávio",
"description": "Graduado em análise e desenvolvimento de sistemas. Atualmente trabalho como desenvolvedor Full Stack usando React, React-native, Typescript e NodeJs",
"techs": [
{
"tech": "javascript",
"color": "#000000",
"bgcolor": "#EFD81D"
},