Skip to content

Instantly share code, notes, and snippets.

View lezi's full-sized avatar
:octocat:

Osvaldo Júnior "mwanalezi" lezi

:octocat:
View GitHub Profile
EditableValueHolder evh = (EditableValueHolder) this.uiInput;
evh.resetValue();
FacesContext ctx = FacesContext.getCurrentInstance();
List<String> clientIds = Lists.newArrayList("form:input1", "form:input2");
UIViewRoot view = ctx.getViewRoot();
view.resetValues(ctx, clientIds); // reseta os componentes da lista
@lezi
lezi / paisesPortuguesIngles.sql
Created September 20, 2016 13:51 — forked from thiagosilr/paisesPortuguesIngles.sql
Tabela MYSQL com o nome de todos os países em Português / Inglês
--
-- Estrutura da tabela `pais`
--
CREATE TABLE IF NOT EXISTS `pais` (
`paisId` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`paisNome` varchar(50) NOT NULL,
`paisName` varchar(50) NOT NULL,
PRIMARY KEY (`paisId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=253 ;
@lezi
lezi / install-tensorflow-using-anaconda.md
Created April 22, 2020 19:56 — forked from johndpope/install-tensorflow-using-anaconda.md
Create a virtual environment using Anaconda and install various ML tools and TensorFlow