Skip to content

Instantly share code, notes, and snippets.

View kanuku's full-sized avatar

Fernando Benjamin kanuku

View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@kanuku
kanuku / kafka-docker.sh
Created December 4, 2019 17:30
How to start kafka with docker for developement
docker run --rm -it -p 2181:2181 -p 3030:3030 -p8081:8081 -p 8082:8082 -p 8083:8083 -p 9092:9092 -e ADV_HOST=127.0.0.1 landoop/fast-data-dev

Index.html

<!DOCTYPE html>
<html lang="en">

<head>
  <title>Wolf team dashboard</title>
  <link rel="stylesheet" href="css/bundle.css" />
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/solid.css" integrity="sha384-VGP9aw4WtGH/uPAOseYxZ+Vz/vaTb1ehm1bwx92Fm8dTrE+3boLfF1SpAtB1z7HW" crossorigin="anonymous">
@kanuku
kanuku / Agenda.md
Last active February 20, 2018 16:18
Interview Agenda

Agenda

Xx:00 - [2 mins] Introduction: agenda

Xx:02 - [5 mins] Tell about Zalando and introduce yourself and the other shadower

  • Zalando - international e-commerce company with more than 1600 employees in tech. Live in 17 countries with offices in Berlin, Dortmund, Dublin, Helsinki
  • Previous Job and what I do at zalando?

Xx:07 - [5 mins] Ask the candidate about himself

  • How did you find about Zalando? What does he know about zalando?

Xx:12 - [10 mins] Questions on CV

  • Write down your questions?
#!/bin/sh
##############################################
# Install script Java on Jenkins
# for debian, ubuntu, and centos
#
#
##############################################
JAVA_VERSION="8u92"
#!/bin/sh
##############################################
# Install script for Apache Maven
# for debian, ubuntu, and centos
#
# Usage:
# arg0: "maven_version_number"
# config.vm.provision "shell", path: "linux/bootstrap-maven.sh", args: "3.3.9"
#
@kanuku
kanuku / gist:336f3362bc696c27215a3995dd874c00
Created July 8, 2016 11:50 — forked from meiwin/gist:4043998
Jerkson custom serializer/deserializer
import com.codahale.jerkson.Json
import org.codehaus.jackson.map.module.SimpleModule
import org.codehaus.jackson.{JsonParser, JsonGenerator, Version}
import org.codehaus.jackson.map.annotate.JsonCachable
import org.codehaus.jackson.map.{DeserializationContext, JsonDeserializer, SerializerProvider, JsonSerializer}
object CustomJson extends Json {
val module = new SimpleModule("CustomJson", Version.unknownVersion())
// --- (SERIALIZERS) ---
module.addSerializer(classOf[Enumeration#Value], new JerksonEnumerationSerializer())
package org.zalando.nakadi.client.examples.java;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
import org.zalando.nakadi.client.java.Client;
import org.zalando.nakadi.client.java.Listener;
import org.zalando.nakadi.client.java.StreamParameters;
import org.zalando.nakadi.client.java.model.Cursor;
import org.zalando.nakadi.client.java.model.EventStreamBatch;
package org.zalando.nakadi.client
import scala.concurrent.duration.DurationInt
import org.slf4j.LoggerFactory
import org.zalando.nakadi.client.model.EventMetadata
object Main extends App {
val logger = LoggerFactory.getLogger(this.getClass)
val host = "nakadi-sandbox.aruha-test.zalan.do"
*.class
*.log
# sbt specific
.cache
.history
.lib/
dist/*
target/
lib_managed/