Skip to content

Instantly share code, notes, and snippets.

José Guillén damgel

  • El Salvador
Block or report user

Report or block damgel

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
View Java 8 bigdecimal max value from arraylist
Optional<BigDecimal> max = Optional.empty();
if (!this.itemsFiltered.isEmpty()) {//check if list is not empty
max =
.map(a -> a.getPrecioVentaNuevo())
if (max.isPresent()) {
Utilidades.Error("maxOptional:" + max);//prints optional value
Utilidades.Error("maxValue:" + max.get());//prints real value if any found.
damgel /
Created Oct 6, 2016 — forked from sukharevd/
Script to install JBoss Wildfly 10.x as service in Linux
#description :The script to install Wildfly 10.x
#more :
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
damgel / pom.xml
Created Aug 23, 2016 — forked from xsalefter/pom.xml
pom.xml for maven + jpa 2 + ejb3.1 + cdi + jsf 2
View pom.xml
<project xmlns="" xmlns:xsi=""
<name>Project Board</name>
<description>Project management dashboard.</description>
damgel / jsf.ajax.handler.js
Created Dec 4, 2015 — forked from jyeary/jsf.ajax.handler.js
JSF AJAX client side handling code.
View jsf.ajax.handler.js
* Copyright 2012-2014 John Yeary <>.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.