This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
symlinks = false | |
worktree = /path/to/repository | |
[receive] | |
denyCurrentBranch = ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git checkout -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
describe('RouteConfig', function () | |
{ | |
// load the service's module | |
beforeEach(module('govipAdminApp')); | |
// instantiate service | |
var RouteConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Venues actions | |
Background: | |
Given the following venues exist: | |
| id | name | email | description | city | street | telephone | | |
| 555 | Hi Five Venue | [email protected] | bla bla bla | Somewhercity | bla | 32423 | | |
| 666 | Satan Venue | [email protected] | bla bla bla | Somewhercity | bla | 32423 | | |
Scenario: Get one venue | |
When I visit venues/555 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
angular.module('govipAdminApp') | |
.factory('Event', ['Model', 'Table', 'Form', | |
function Events(Model, Table, Form) { | |
var table = new Table({ | |
name: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
@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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TestAspectEntity | |
@OneToOne(mappedBy="testAspect", cascade = CascadeType.ALL) | |
private TestKnowledgeEntity knowledge = new TestKnowledgeEntity(); | |
TestKnowledgeEntity | |
@OneToOne |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
@Table(name = "TestAspect") | |
@JsonIgnoreProperties(ignoreUnknown = true) | |
public class TestAspectEntity { | |
@Id | |
@Column(name = "id") | |
@GeneratedValue | |
private Long id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- BEM --> | |
<ul class="list"> | |
<li class="list__item"></li> | |
<li class="list__item"></li> | |
<li class="list__item"></li> | |
</ul> | |
<!-- own | |
wady: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BEM | |
.list{ | |
// properties | |
} | |
.list__item{ | |
// properties | |
} |