Skip to content

Instantly share code, notes, and snippets.

View rbento's full-sized avatar

Rodrigo Bento rbento

  • Toronto
View GitHub Profile

Asymmetric Cryptography

  • It is about trust.

  • Also called Public Key Cryptography.

  • Uses Public and Private keys in cryptographic and signature operations.

  • These Keys and also Certificates are born of an implementation of the Public Key Infrastructure.

Prometheus

  • Free and Open Source monitoring toolkit.

  • A monitoring and alerting solution.

  • See trends emerging and take action before bad things happen.

MySQL

Client Application

Run with Docker

alias mysql="docker run --rm --name mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=app -p 3306:3306 -d mysql:latest"

Grafana

Run with Docker

docker run --rm --name=grafana -p 3000:3000 -d grafana/grafana:latest

Sign In

Qemu

A generic and open source machine emulator and virtualizer.

Shortcuts

  • Full Screen - Ctrl + Alt + F

Linux

Add a user to sudo group

sudo usermod -aG sudo username

groups username
@rbento
rbento / notes-on-the-jvm.md
Last active April 21, 2022 01:30
Notes on the Java Virtual Machine

JVM

JVM related options and more.

Debugging Compiled Code


# Disable JIT Compiler
-Xint

Vulkan

Devices


Physical Device
  • The GPU itself.
  • Holds memory and processing pipeline queues.
    • Memory
@rbento
rbento / notes-on-reactive-streams.md
Last active September 4, 2023 20:10
My notes on Reactive Streams
@rbento
rbento / my-useful-snippets.md
Last active October 1, 2022 02:51
Some useful commands and code snippets

Bash

# Programs
alias redis="docker run --rm --name redis -p 6379:6379 -v /Users/username/Data/redis.txt:/data/data.txt -d redis:latest"
alias jaeger="docker run --rm --name jaeger -e COLLECTOR_ZIPKIN_HOST_PORT=:9411 -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 14250:14250 -p 14268:14268 -p 14269:14269 -p 9411:9411 -d jaegertracing/all-in-one:latest"
alias prometheus="docker run --rm --name prometheus -p 9494:9090 -v /Users/username/Conf/prometheus.yml:/etc/prometheus/prometheus.yml -d prom/prometheus"
alias grafana="docker run --rm --name grafana -p 3000:3000 -d grafana/grafana"