Skip to content

Instantly share code, notes, and snippets.

View pensiero's full-sized avatar
🍕
Eating a Pizza

Oscar Fanelli pensiero

🍕
Eating a Pizza
View GitHub Profile
class Tile extends Entity {
/**
* @ORM\OneToOne(
* targetEntity="Domino\Entity\Tile",
* mappedBy="tileLeft",
* cascade={"persist", "merge"}
* )
* @var Tile
*/
SELECT DISTINCT t1.sess
FROM (
wp_cf7groups AS t1
INNER JOIN wp_cf7dbplugin_submits AS t2 ON ( t1.cf1 = t2.submit_time
OR t1.cf2 = t2.submit_time )
)
WHERE t2.form_name
IN (
'Azienda1', 'Azienda2'
)
$('.bs-sidebar').affix({
offset: {
top: $('.bs-sidebar').offset().top,
bottom: function () {
return (this.bottom = $('body > footer').outerHeight(true) + 50)
}
}
});