Skip to content

Instantly share code, notes, and snippets.

View fabiojose's full-sized avatar
🎯
Focusing

Fabio Jose fabiojose

🎯
Focusing
  • São Paulo, Brazil
  • 06:19 (UTC -03:00)
View GitHub Profile
@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 / Jenkinsfile
Last active June 25, 2023 11:25
Sample Jenkinsfile to build, test and deploy Platform-as-Code in Openshift
pipeline {
/* run in any agent (a.k.a. node executor) */
agent any
stages {
stage('Setup') {
steps {
script {
/* Check the GIT_BRANCH to compute the target environment */
if (env.GIT_BRANCH == 'origin/develop' || env.GIT_BRANCH ==~ /(.+)feature-(.+)/) {
@fabiojose
fabiojose / rundeck-exec-follow.sh
Last active July 13, 2021 19:27
Trigger & Follow the Rundeck Job Execution using the RESTful API
#!/bin/bash
######
# Shell script to trigger and follow the rundeck job execution.
# Author: Fàbio José de Moraes
# E-mail: fabiojose@gmail.com
######
######
# Necessary environment variables
@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 / 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:

@fabiojose
fabiojose / devops-kpi-nifi-template.xml
Created August 1, 2018 16:50
DevOps KPI in Practice - Chapter 2
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template encoding-version="1.2">
<description></description>
<groupId>8ce97bbb-0162-1000-233e-5c8cc4c3a93f</groupId>
<name>DevOps KPI - Change Volume and Lead Time</name>
<snippet>
<connections>
<id>8a0d9e3d-1744-3d97-0000-000000000000</id>
<parentGroupId>33980602-0d29-3ae1-0000-000000000000</parentGroupId>
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold>
find . -type f -print0 | xargs -0 sed -i "s#TO_FIND#TO_REPLACE#g"