Skip to content

Instantly share code, notes, and snippets.

Paolo D'Incau pdincau

  • XPeppers
  • Trento
Block or report user

Report or block pdincau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pdincau / springcloudexample
Created Nov 26, 2018
Spring cloud - Incremental example
View springcloudexample
Starting point:
* book-service f4045bf
* book-evaluation 8d47058
Service discovery and multiple instances of book-evaluation:
* book-service 8f22aff
* book-evaluation master
* eureka-server master

Takeaways from TDD and Software Design


  • TDD by its own CANNOT leads to good design, obviously
  • TDD as a mechanism to help us to learn more about good design
  • Software is "Soft" just because it can be changed, it is not meant to be settled in the stone
  • Test-first programming can help the team to reduce defects but it will not lead to good design

Code qualities

pdincau /
Created Jul 6, 2017 — forked from acolyer/
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
pdincau /
Last active Dec 2, 2019
Study Path on microservices
pdincau / gist:08f7b2fac39088c87b75
Last active Dec 26, 2016
Things I learned about ExUnit
View gist:08f7b2fac39088c87b75
Run tests:
mix test
Run single test file:
mix test path/to/file
Run single test:
View gist:16fddfd87e829fdeced2
sudo -u postgres createdb --locale it_IT.utf8 --encoding UTF8 --template template0 mopapp
postgres -D /opt/boxen/homebrew/var/postgres
View gist:0825ad51adbcd52ee83c
jQuery(document).ready(function() {
var attributes = {}
attributes["IT"] = 'data-amazon-it';
attributes["GB"] = 'data-amazon-gb';
var url = " ";
jQuery.getJSON(url, function(data) {
var code = data.country_code;
var links = jQuery('[data-amazon]');
jQuery.each(links, function(index, link) {
You can’t perform that action at this time.