Skip to content

Instantly share code, notes, and snippets.

View andrealaforgia's full-sized avatar

Andrea Laforgia andrealaforgia

View GitHub Profile
@andrealaforgia
andrealaforgia / avd-hardware-profile-huawei-mate-20x.xml
Created July 10, 2021 21:46 — forked from mouselangelo/avd-hardware-profile-huawei-mate-20x.xml
Android: Basic AVD Hardware profile for the Huawei Mate 20 X phone
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<d:devices xmlns:d="http://schemas.android.com/sdk/devices/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<d:device>
<d:name>HUAWEI Mate 20 X</d:name>
<d:manufacturer>HUAWEI</d:manufacturer>
<d:meta/>
<d:hardware>
<d:screen>
<d:screen-size>large</d:screen-size>
<d:diagonal-length>7.20</d:diagonal-length>
@andrealaforgia
andrealaforgia / LogRule.java
Created February 28, 2020 21:30 — forked from geowarin/LogRule.java
Junit rule that allows capturing Logs output in the Class under test during unit testing
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
@andrealaforgia
andrealaforgia / deployment-tool-ansible-puppet-chef-salt.md
Created May 2, 2017 20:28 — forked from jaceklaskowski/deployment-tool-ansible-puppet-chef-salt.md
Choosing a deployment tool - ansible vs puppet vs chef vs salt

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution