View InheritanceTypeIdResolver.java
/*
* Automatic inheritance type resolver for Jackson.
* @author root_talis<https://github.com/root-talis>
*
*
* Usage:
*
* @JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, include = JsonTypeInfo.As.PROPERTY, property = "discriminator")
* @JsonTypeIdResolver(InheritanceTypeIdResolver.class)
* class Animal { // can be abstract or interface
View php7_build_ubuntu.sh
#! /bin/bash
# PHP 7 Initial Compile #
# Author: Maulik Mistry
# Date: Aug 04, 2017
# References:
# http://www.zimuel.it/install-php-7/
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu
#
# License: BSD License 2.0
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="container-fluid" id="main">
<div class="page-header">