Skip to content

Instantly share code, notes, and snippets.

View brunojppb's full-sized avatar
🌱
code gardening...

Bruno Paulino brunojppb

🌱
code gardening...
View GitHub Profile
@brunojppb
brunojppb / BIMI_setup.md
Created November 23, 2020 11:16
Adding BIMI to identify your brand better across email clients

BIMI (Brand Indication for Message Identification)

You can now tell email clients what is the official logo of your company using the BIMI spec.

How the BIMI works on email clients

Add the following TXT record your email domain settings:

default._bimi
v=BIMI1; l=PUBLIC_URL_TO_YOUR_SVG_RESOURCE.svg
@brunojppb
brunojppb / useful_bash_commands.md
Created October 24, 2020 16:50
A collection of useful Bash commands used often

Useful Bash Commands

Check SSL certificate information

curl --insecure -vvI https://www.google.com 2>&1 | \
     awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }'

# The output will be something like this:
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
@brunojppb
brunojppb / aplicação_react_final_para_referencia.md
Last active October 19, 2020 14:15
Aplicação React final para referência do curso React para Iniciantes

Aplicação React final para referência do curso React para Iniciantes

Antes de começar a criar o app que iremos desenvolver juntos, gostaria de te mostrar o código final do projeto. Se puder, deixa uma estrela no link do Github abaixo para que ele seja compartilhado com mais pessoas como você que querem aprender a dominar o React ;)

Da uma olhada nesse link aqui:

@brunojppb
brunojppb / 04_o_que_nao_iremos_aprender.md
Last active October 19, 2020 10:30
O que nao iremos aprender durante o curso

Curso React para Iniciantes

O que não iremos aprender durante o curso

O curso assume que você tem uma noção básica sobre:

@brunojppb
brunojppb / custom_config.conf
Last active September 9, 2020 07:41
Nginx proxy with Docker
# Caching
# proxy_cache site-cache;
# proxy_cache_key "$cookie_PLAY_LANG$request_uri$http_accept_language";
# proxy_cache_bypass $cookie_session;
# proxy_no_cache $cookie_session;
# proxy_cache_valid 200 303 302 301 60m;
# proxy_cache_valid 404 1m;
# proxy_ignore_headers Cache-Control;
# add_header X-Cache-Status $upstream_cache_status;
@brunojppb
brunojppb / docker_sbt_with_node.md
Last active May 22, 2020 23:29
Building a docker image with SBT and Node for Play Framework projects

Create a Dockerfile for your SBT image with the following content (installing SBT 1.3.10)

FROM openjdk:8-alpine
LABEL maintainer="contact@bpaulino.com"

RUN apk update
RUN apk add postgresql-client

# Optional: Install Scala
# ENV SCALA_VERSION=2.12.8 \
@brunojppb
brunojppb / Floating.css
Created February 19, 2020 19:07
Floating CSS animation
img {
animation: floating infinite 3s ease-in-out;
}
@keyframes flaoting {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-5px);
@brunojppb
brunojppb / docker_sbt_scala.md
Last active November 10, 2022 12:31
Docker image with Java 8 and SBT 1.3.5

Docker image with Scala and SBT

This image is based on on alpine linux with Java 8 and includes SBT 1.3.5. You can optionally install Scala and make it available directly.

This is image is available here: brunojppb/scala-sbt:1.3.5

The Dockerfile.yml:

FROM openjdk:8-alpine
LABEL maintainer="contact@bpaulino.com"
@brunojppb
brunojppb / Readme.md
Last active November 14, 2019 14:54 — forked from PierreThiollent/Readme.md
iTerm2 and Oh-my-zsh config

Setup iTerm2 and oh-my-zsh

Enjoy ! 😄

Install iTerm 2

Download iTerm2 here.

@brunojppb
brunojppb / setup_redmine_4_ubuntu.md
Last active November 29, 2022 03:19
How to setup Redmine 4 on Ubuntu 18.04

How to setup Redmine 4 on Ubuntu 18.04

Prerequisites:

Full SSH root access or a user with sudo privileges.

Step 1: Connect to your Server

To connect to your server via SSH as the root user, use the following command: