Skip to content

Instantly share code, notes, and snippets.

View giampaolotrapasso's full-sized avatar

Giampaolo Trapasso giampaolotrapasso

View GitHub Profile
@giampaolotrapasso
giampaolotrapasso / Designing Event-Driven Systems links.md
Created August 1, 2018 09:56
List of links from Designing Event-Driven Systems by Ben Stopford
public class TypeConversions {
public static void main(String[] args) {
List<String> list = Arrays.asList(
"ascii",
"bigint",
"boolean",
"counter",
"date",
"decimal",
authenticator: AllowAllAuthenticator
authorizer: AllowAllAuthorizer
auto_bootstrap: false
auto_snapshot: true
batch_size_fail_threshold_in_kb: 50
batch_size_warn_threshold_in_kb: 5
batchlog_replay_throttle_in_kb: 1024
cas_contention_timeout_in_ms: 1000
client_encryption_options:
enabled: false
@giampaolotrapasso
giampaolotrapasso / Main.scala
Last active October 26, 2017 14:05
Question on Kamon 0.40 and Sigar
package sample.kamon
import akka.actor._
import MessageGenerator._
import RandomNumberActor._
import kamon.Kamon
import java.io.File;
import org.hyperic.sigar.Sigar;
import kamon.sigar.SigarProvisioner;
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->