Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Fabio José fabiojose

🎯
Focusing
  • São Paulo, Brazil
View GitHub Profile
@fabiojose
fabiojose / index.html
Created Sep 3, 2020
Online Banking Interface
View index.html
<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 Jun 2, 2020
Apache Avro GenericRecords with MapStruct example
View CatalogItemEntity.java
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 May 12, 2021
Referências para estudos sobre Apache Kafka
View material.md

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 Apr 13, 2020
Cluster Kafka c/ 3 Brokers
View kafka.md
@fabiojose
fabiojose / get-version.sh
Created Jan 28, 2020
Get project version using gradle
View get-version.sh
#!/bin/bash
gradle properties \
--no-daemon \
--console=plain -q \
| grep "^version:" \
| awk '{printf $2}'
View keybase.md

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:

View r-sed.sh
find . -type f -print0 | xargs -0 sed -i "s#TO_FIND#TO_REPLACE#g"
View getmethods.js
Object.getOwnPropertyNames(
Object.getPrototypeOf(cloudevent))
View junit.sh
mvn clean test \
-Dtest=PostControllerTests#response_success_ok \
-Dmaven.surefire.debug
View attach.sh
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%