Skip to content

Instantly share code, notes, and snippets.

View gulbinas's full-sized avatar

Justinas Gulbinas gulbinas

View GitHub Profile
Aug 16 19:30:18 tg-app-6 salt-minion[1147]: [INFO ] Returning information for job: 20170816193018072421
Aug 16 19:32:36 tg-app-6 systemd[1]: Created slice User Slice of root.
Aug 16 19:32:36 tg-app-6 systemd[1]: Starting User Manager for UID 0...
Aug 16 19:32:36 tg-app-6 systemd[1]: Started Session 1 of user root.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Reached target Timers.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Reached target Sockets.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Reached target Paths.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Reached target Basic System.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Reached target Default.
Aug 16 19:32:36 tg-app-6 systemd[1538]: Startup finished in 25ms.
package lt.vintex.store.inventory;
import eu.tavatievs.plsqlabstraction.auth.AuthContext;
import eu.tavatievs.plsqlabstraction.jsf.PlSqlLazyDataModel;
import eu.tavatievs.plsqlabstraction.types.MutableBigDecimal;
import lombok.Getter;
import lombok.Setter;
import lt.vintex.store.cart.BuyCartItem;
import lt.vintex.store.filter.DateFilterInstance;
import org.primefaces.model.SortOrder;
package lt.vintex.store.inventory;
/**
* Created by justinas on 2016-02-19.
* (c) Justinas Gulbinas
*/
import lombok.Getter;
import lombok.Setter;
import org.apache.log4j.Logger;
import org.primefaces.component.datatable.DataTable;
package lt.vintex.store.inventory;
/**
* Created by justinas on 2016-02-19.
* (c) Justinas Gulbinas
*/
import eu.tavatievs.plsqlabstraction.Utils;
import eu.tavatievs.plsqlabstraction.auth.AuthContext;
import lombok.Getter;
import lombok.Setter;
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://xmlns.jcp.org/jsf/core"
template="/tpl/layoutMain.xhtml"
xmlns:tt="http://java.sun.com/jsf/composite/ttcomp">
@gulbinas
gulbinas / PlSqlLazyDataModel.java
Created September 2, 2016 12:32
PlSqlLazyDataModel.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package eu.tavatievs.plsqlabstraction.jsf;
import eu.tavatievs.plsqlabstraction.Utils;
import eu.tavatievs.plsqlabstraction.auth.AuthContext;
import eu.tavatievs.plsqlabstraction.exceptions.PlSqlActionErrorException;
import eu.tavatievs.plsqlabstraction.types.MutableLong;
@gulbinas
gulbinas / pymongo_test.py
Created August 7, 2013 12:18
simple example to show that Inherited queries in mongokit doesn't work
from mongokit import *
connection = Connection()
@connection.register
class User(Document):
__database__ = 'python_test'
__collection__ = 'users'
structure = {
'_type': unicode,