Skip to content

Instantly share code, notes, and snippets.

View roalcantara's full-sized avatar
🤖
Don't Panic!

Rogério Rodrigues de Alcântara roalcantara

🤖
Don't Panic!
View GitHub Profile
@roalcantara
roalcantara / git.sh
Last active April 23, 2024 18:56
Git commands
# to log oneliner
git log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# to log oneliner 2
git log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit --date=iso-strict
# to change a specific commit
git rebase -i <HASH>
# to abort the rebase
@roalcantara
roalcantara / git-aliases.ini
Created February 8, 2024 02:56
Useful git aliases
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-alias
[alias]
# Add files to the staging area
# @example: git a
a=add
# Add all files to the staging area
# @example: git aa
aa=add --all
@roalcantara
roalcantara / resume.md
Last active January 21, 2022 17:24
Full Stack Developer: Rogério Rodrigues de Alcântara

Rogério Rodrigues de Alcântara

[rogerio.alcantara@gmail.com][8] · +55 (11) 996873252 · São Paulo/Brazil

Full Stack Developer

Driven and focused team player, experienced in web/mobile/microservices development who thrives in agile environments. Enthusiastic for DevOps culture, code reviews practices and automated testing.

Personal Details

{
"meta": {
"theme": "papirus"
},
"basics": {
"name": "Rogério R. Alcântara",
"label": "Full Stack Developer",
"image": "https://1.gravatar.com/avatar/e4ecb3055d75d5124e52f1a7599fda3a",
"email": "rogerio.alcantara@gmail.com",
"phone": "+55 (11) 996873252",
@roalcantara
roalcantara / _direnv
Last active June 6, 2021 15:43 — forked from h14i/_direnv
direnv sub-commands completion for zsh. inspired https://gist.github.com/yonchu/5005758
#!/bin/zsh
#compdef direnv
# setopt -eu
function _direnv {
# https://gist.github.com/h14i/9183369
local direnv
local -a comp_list
@roalcantara
roalcantara / lua_5_4.md
Created February 28, 2021 02:46
Lua 5.4 - Cheat Sheet

Lua - Beginners Guide

Printing

print("Hello World")

Comments

--this is a comment
@roalcantara
roalcantara / Guidelines.md
Created February 13, 2021 17:07
Project Guidelines

Project Guidelines

semantic-release Conventional Commits code style: prettier

This project was generated with Angular CLI using Nrwl Nx.

Getting Started

@roalcantara
roalcantara / firebase_intro.md
Last active February 8, 2021 23:11
Firebase Intro

Firebase

Backed by Google and loved by app development teams - from startups to global enterprises

Products and solutions you can rely on through your app's journey. Easy to integrate on iOS, Android, and the Web.

  • Build: Accelerate app development with fully managed backend infrastructure
  • Release & Monitor: Release with confidence and monitor performance and stability
@roalcantara
roalcantara / pokemons.sql
Last active January 30, 2021 08:01
Postgres: Create Table and Trigger
DROP TABLE IF EXISTS pokemons CASCADE;
CREATE TABLE pokemons (
id SERIAL PRIMARY KEY,
code integer NOT NULL,
name text NOT NULL,
height integer NOT NULL,
weight integer NOT NULL,
created_at timestamp without time zone NOT NULL DEFAULT now()
);
@roalcantara
roalcantara / 01_setup_docker.md
Last active May 9, 2023 21:19
Elasticsearch: Setup and Quickstart

Setup

[Docker][3]

  1. Install Docker

    brew install --cask docker-edge

  2. Check if the Docker is up and running