Skip to content

Instantly share code, notes, and snippets.

...
@ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY)
@JoinTable(name="TestAndTestAspect",
joinColumns={@JoinColumn(name="testId")},
inverseJoinColumns={@JoinColumn(name="testAspectId")})
private Set<TestAspectEntity> testAspects = new HashSet<TestAspectEntity>();
public Set<TestAspectEntity> getTestAspects() {
return testAspects;
@szmeku
szmeku / event.js
Last active August 29, 2015 14:00
'use strict';
angular.module('govipAdminApp')
.factory('Event', ['Model', 'Table', 'Form',
function Events(Model, Table, Form) {
var table = new Table({
name: null,
Feature: Venues actions
Background:
Given the following venues exist:
| id | name | email | description | city | street | telephone |
| 555 | Hi Five Venue | mega@gmail.com | bla bla bla | Somewhercity | bla | 32423 |
| 666 | Satan Venue | mega@gmail.com | bla bla bla | Somewhercity | bla | 32423 |
Scenario: Get one venue
When I visit venues/555
'use strict';
describe('RouteConfig', function ()
{
// load the service's module
beforeEach(module('govipAdminApp'));
// instantiate service
var RouteConfig;
@szmeku
szmeku / post-receive
Created February 25, 2014 01:03
git hook script ( ~.git/hooks/post-receive )
#!/bin/sh
git checkout -f
@szmeku
szmeku / config
Last active August 29, 2015 13:56
git repository config outside of worktree (~.git/config)
[core]
repositoryformatversion = 0
filemode = true
bare = false
symlinks = false
worktree = /path/to/repository
[receive]
denyCurrentBranch = ignore
@szmeku
szmeku / br.js
Created December 16, 2013 16:32
(function ($)
{
// jquery fix
jQuery.curCSS = jQuery.css;
$.ajaxSetup({
data: {
_token: config.token,
'XDEBUG_SESSION_START': 'PHPSTORM'
sess_160alcntgqp9mqp9u712i2n0u5 sess_f7d7cib19qfc8lci7pjh2vspl0 sess_ksp7i6h9fnljff6v6pgoiigjq0 sess_q34dmfoeukknn72npu4mladgj3
sess_51l3cn7lc8akvbqt42fmujfi81 sess_h75cmr075g3fk1n24j18v58uu2 sess_lig7aikopsmrrb1a3nr93okga5 sess_q3otiqe0r5lls5qo5aibijl606
sess_ap7o0jqs0ihko27lhg5do276d5 sess_ht0a0s20o1ncuphic5jd3c9244 sess_meuqd51tldcaeb11agsh6oe8b2 sess_qsae2qrvqnjlejdcje5auk0ec6
sess_b5lpc2ghag2b2m7uhg8663fj14 sess_ivplrb9o2fnophl2ta5sjgg6s7 sess_n5nolhhgskvkhft6fg9t09rsi6 sess_r1jc4monb5euohim3bga774751
sess_d39g4kdk6gks0miua8git7k1a7 sess_k911c07ud8r1pcne8hv436ic76 sess_ph0f11bgbe2d49hdc7q9dk98f2 sess_rj72gf9rg0679q6br0u4r2trs4
sess_d9fgat0gs7fto8fbgtpmahibs1 sess_kj5pl8tchvqr5jb2vf2vv5gbg1 sess_q0pre0tmkdo6n0ndcamihj2o57
@charset "utf-8";
html,body,input,select,textarea,button{font:14px "Helvetica Neue",Arial,Helvetica,sans-serif;line-height:18px;color:#393939}
html{font-size:100%;-webkit-text-size-adjust:100%}
p{margin:0}
ol,ul{list-style:none;margin:0;padding:0}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
ins{text-decoration:none}
del{text-decoration:line-through}
table{border-collapse:collapse;border-spacing:0;width:100%}
<h1>Header</h1>
<h2>Header</h2>
<h3>Header</h3>
<h4>Header</h4>
<p class="text-left">text left</p>
<p class="text-right">text right</p>
<p class="text-center">text center</p>
<p class="text-center">