Skip to content

Instantly share code, notes, and snippets.

View harmanpa's full-sized avatar
🙄
Wondering why Github needs a status and emoticons?

Peter Harman harmanpa

🙄
Wondering why Github needs a status and emoticons?
View GitHub Profile
@urkopineda
urkopineda / content.component.css
Last active January 9, 2023 15:12
Masonry implementation in Angular 2+ only with JS and CSS, ordered horizontaly
.card-img-overlay-gradient {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.flex-container {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
grid-auto-rows: 20px;
}
.flex-item {}
@agentgt
agentgt / TestSuites.java
Created January 23, 2014 18:05
JAXB classes for generating JUnit XML that Jenkins/Hudson can read.
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlValue;
@XmlRootElement(name="testsuites")