Skip to content

Instantly share code, notes, and snippets.

View namendes's full-sized avatar

Nuno Mendes namendes

View GitHub Profile
@namendes
namendes / user.java
Created April 25, 2016 07:13
beyondCow example
final Query query = getQueryManager(context).createQuery(queryString, Query.SQL);
final NodeIterator iter = query.execute().getNodes();
if (iter.hasNext()) {
 user.populate(iter.nextNode());
} else {
 LOG.error("User {} does not exist, returning object without state.", username);
}
@namendes
namendes / still_resize.css
Last active December 27, 2015 16:39
Media Manager player implementation. Loads still behind the HTML5 player and implements a shadowbox load Reference (Jan Horsman) - https://gist.github.com/jhorsman/6681918
.mmPlayer {
position: relative;
display:block;
height:350px;
margin:10px;
}
.overlay
{
display:none;
@namendes
namendes / resize.css
Created November 5, 2013 13:19
Media Manager Still with resize
/*.mmPlayer {
height: 350px;
position: relative;
}
.mmPlayer .still {
position: absolute;
z-index: 90;
}