Skip to content

Instantly share code, notes, and snippets.

View fabiojose's full-sized avatar
🎯
Focusing

Fabio Jose fabiojose

🎯
Focusing
  • São Paulo, Brazil
  • 20:07 (UTC -03:00)
View GitHub Profile
@fabiojose
fabiojose / index.html
Created September 3, 2020 19:30
Online Banking Interface
<div class="container">
<div class="header">
<ul class="icon_nav">
<li><i class="fa fa-arrow-left"></i></li>
<li><i class="fa fa-bars"></i></li>
</ul>
<h1>Checking</h1>
<span class="total pos">430.23</span>
</div>
<div class="content">
@fabiojose
fabiojose / CatalogItemEntity.java
Created June 2, 2020 21:06
Apache Avro GenericRecords with MapStruct example
package petstore.catalog.elasticsearch;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.avro.generic.GenericRecord;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
@fabiojose
fabiojose / material.md
Last active January 27, 2024 08:40
Referências para estudos sobre Apache Kafka

Apache Kafka

Existe muito material sobre Apache Kafka, sendo a maioria esmagadora em inglês.

E aqui segue uma lista com artigos, exemplos, videos, livros e documentações.

Na udemy existem vários cursos muito bons também

Comece por aqui!

@fabiojose
fabiojose / kafka.md
Last active April 13, 2020 19:45
Cluster Kafka c/ 3 Brokers
@fabiojose
fabiojose / get-version.sh
Created January 28, 2020 19:47
Get project version using gradle
#!/bin/bash
gradle properties \
--no-daemon \
--console=plain -q \
| grep "^version:" \
| awk '{printf $2}'
@fabiojose
fabiojose / keybase.md
Created December 20, 2019 17:10
keybase

Keybase proof

I hereby claim:

  • I am fabiojose on github.
  • I am fabiojose (https://keybase.io/fabiojose) on keybase.
  • I have a public key ASDdthCdvyYgzAe7I6_AwZtBj8EZBZmW4y5bpWxpEWJ38wo

To claim this, I am signing this object:

find . -type f -print0 | xargs -0 sed -i "s#TO_FIND#TO_REPLACE#g"
Object.getOwnPropertyNames(
Object.getPrototypeOf(cloudevent))
mvn clean test \
-Dtest=PostControllerTests#response_success_ok \
-Dmaven.surefire.debug
echo "GET http://localhost:8080/foo" | vegeta attack -duration=5s | tee results.bin | vegeta report
# Vert.x
Requests [total, rate] 250, 50.20
Duration [total, attack, wait] 4.982574217s, 4.980034967s, 2.53925ms
Latencies [mean, 50, 95, 99, max] 2.887619ms, 2.852304ms, 3.541659ms, 5.610393ms, 9.278688ms
Bytes In [total, mean] 1500, 6.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%