Skip to content

Instantly share code, notes, and snippets.

<h2>Článek I. Úvodní ustanovení</h2>
<ol>
<li>
<@cs>
Tyto všeobecné obchodní podmínky a reklamační řád (dále jen „obchodní podmínky“) vymezují a upřesňují práva a povinnosti GoOut a kupujícího při prodeji vstupenek na jakékoliv kulturní, společenské, sportovní či jiné akce (dále jen „Akce“) prostřednictvím GoOut.
</@cs>
<@en>
These General Terms, Conditions and Complaints Procedures (the "Terms and Conditions") clarify the rights and obligations of GoOut and the Buyer in the sale of tickets for any cultural, social, sporting or other events (the "Event") through GoOut.
</@en>
</li>
// binds to. Override this method to prevent the initial
// events, or to add your own initial events.
_initialEvents: function(){
- if (this.collection){
- this.listenTo(this.collection, "add", this.addChildView, this);
- this.listenTo(this.collection, "remove", this.removeItemView, this);
- this.listenTo(this.collection, "reset", this._renderChildren, this);
- }
+
+ // Bind only after composite view in rendered to avoid adding child views
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
2014-02-14 11:22:29.479 FATAL Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko : 212.79.110.78, 144.76.195.251 : org.hibernate.exception.LockAcquisitionException: could not execute statement javax.persistence.PersistenceException: org.hibernate.exception.LockAcquisitionException: could not execute statement
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1338)
at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedE
<event name="Electronic Beats: Bonobo">
<!-- id bude identifikovat vstupenku -->
<ticket id="123456788">
<source>GoOut</source>
<created>2014-02-23T23:59:21</created>
<price>400</price>
<note>Poznamka k prodeji</note>
<owner>
<name>Name Name</name>
<email>email</email>
<tag name="INTERVIEWS" id="776" state="APPROVED">
<locale lang="cs" name="Rozhovory" metaDescription="Rozhovory s umělci, kapelami, organizátory a jinými zajímavými lidmi." slug="rozhovory" h1="Rozhovory" singular="rozhovor"/>
<locale lang="en" name="Interviews" slug="interviews" h1="Interviews" singular="interview"/>
<parents>
<parent name="ARTICLE"/>
</parents>
</tag>
<tag name="INVITES" id="777" state="APPROVED">
<locale lang="cs" name="Pozvánky" slug="pozvanky" h1="Pozvánky" singular="Pozvánka"/>
public void connect() {
try {
Connection connIrs=new MyConnectDB().connect(irsConnection,irsUser,irsPassword);
Connection connImpact=new MyConnectDB().connect(impactConnection,impactUser,impactPassword);
Connection connIpreport=new MyConnectDB().connect(ipreportConnection,ipreportUser,ipreportPassword);
Mapping myMapping=Mapping.getInstance(connIrs,connImpact,connIpreport);
TreeMap<String, String> myParameters = myMapping.getParams(adminNum,sceneid,data,indata);
if(!myParameters.isEmpty()) {
for(String param : myParameters.keySet()) {
<?php
class Cislo {
private $value;
public function Cislo($value) {
$this->value = $value;
}
// generated automatically from ft/common/Ban.xml, DO NOT EDIT!
#ifndef __BAN_CFG_H__
#define __BAN_CFG_H__
#include <string>
namespace szn {
namespace fulltext {
@vojkny
vojkny / gist:2847060
Created May 31, 2012 23:06
Memory usage
Tasks: 54 total, 1 running, 53 sleeping, 0 stopped, 0 zombie
Cpu(s):100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2150400k total, 1877728k used, 272672k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3271 root 18 0 1559m 530m 12m S 0 25.2 1:44.31 java
1568 mysql 15 0 270m 71m 7332 S 0 3.4 0:50.79 mysqld
5844 suivi 15 0 217m 27m 8720 S 0 1.3 0:00.13 php