Skip to content

Instantly share code, notes, and snippets.

View fiorenzino's full-sized avatar
🏠
Working from home

fiorenzo pizza fiorenzino

🏠
Working from home
View GitHub Profile
@fiorenzino
fiorenzino / index.html
Created September 18, 2020 16:49
Org. Chart CSS
<div class="tree">
<ul>
<li>
<a href="#">President Director <br/>Tetsuo Nakai</a>
<ul>
<li>
<a href="#">
HR &amp; Administration<br/>
Heli Neo<br/>Manager</a>
<ul>
@fiorenzino
fiorenzino / 1ML-project.flower
Created December 29, 2019 10:34
1ML project
todo 2020 project
- 1 ml client android
- 1 cluster of servers
- 1 ml of key/value pairs
- 1 db of last positions geojson
web pages to interact with system
candidates technologies
mvn io.quarkus:quarkus-maven-plugin:0.17.0:create \
-DprojectGroupId=it.ictgroup \
-DprojectArtifactId=primo \
-DclassName="it.ictgroup.TestRs" \
-Dpath="/test"
cd primo
package it.coopservice.api.service;
import io.quarkus.hibernate.orm.panache.PanacheEntity;
import io.quarkus.hibernate.orm.panache.PanacheQuery;
import org.jboss.logging.Logger;
import javax.persistence.NoResultException;
import javax.transaction.Transactional;
import javax.ws.rs.*;
import javax.ws.rs.core.Context;
@fiorenzino
fiorenzino / è solo un test del òàè+=)èé
Last active January 6, 2016 20:02
prova di creazione di un gist
## gist one
package net.toutantic.jgit;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;

Raw

Raw

Example 1. Task list from the imported Ant project
$ gradle tasks
:tasks

GitHub Flavored Markdown

View the source of this content.

Let's get the whole "linebreak" thing out of the way. The next paragraph contains two phrases separated by a single newline character:

Roses are red Violets are blue

@fiorenzino
fiorenzino / post_deploy
Created June 6, 2013 13:38
post_deploy
#!/bin/bash
# This is a simple post deploy hook executed after your application
# is deployed and started. This script gets executed directly, so
# it could be python, php, ruby, etc.
echo "*************************POST DEPLOY START*********************************"
if [ ! -d "$OPENSHIFT_DATA_DIR/errors" ]; then
mkdir $OPENSHIFT_DATA_DIR/errors
echo "CREATED OPENSHIFT_DATA_DIR - ERRORS"
fi
ln -s $OPENSHIFT_DATA_DIR/errors $OPENSHIFT_JBOSSAS_DIR/standalone/deployments/ROOT.war/errors
@fiorenzino
fiorenzino / licence.java
Created May 27, 2013 12:42
licence.java
/*
* Copyright 2013 twiliofaces.org.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
/*
* Copyright 2013 twiliofaces.org.
*
* Licensed under the Eclipse Public License version 1.0, available at