Skip to content

Instantly share code, notes, and snippets.

Avatar

Juanjo García xmon

View GitHub Profile
@xmon
xmon / index-youtube-loop-background.html
Last active Mar 6, 2018
Video youtube, loop y background fullscreen
View index-youtube-loop-background.html
<!doctype html>
<html lang="es">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="style.css">
</head>
@xmon
xmon / social-colors.css
Last active Jun 5, 2017
Social networks colors
View social-colors.css
/*
* CSS
* Social networks colors
blogger: #fb8f3d rgb(251, 143, 61)
dribbble: #ea4c89 rgb(234, 76, 137)
facebook: #3b5998 rgb(59, 89, 152)
forrst: #5B9A68 rgb(91, 154, 104)
foursquare: #0072b1 rgb(0, 114, 177)
flickr: #ff0084 rgb(255, 0, 132)
@xmon
xmon / lg-editartgroup.js
Created Dec 21, 2016
Custom plugin for sachinchoolur/lightGallery
View lg-editartgroup.js
(function () {
'use strict';
var defaults = {
editArtGroup: true
};
var EditArtGroup = function (element) {
@xmon
xmon / bootstrap-button-outline.less
Last active Dec 9, 2016
Classes for outline and outline inversed button for Bootstrap 3.x LESS and SCSS
View bootstrap-button-outline.less
// Button outline style
.btn-outline {
background-color: transparent;
&.btn-default {
color: @btn-default-color;
border-color: @btn-default-color;
&:hover {
background-color: @btn-default-color;
}
View Application\Sonata\UserBundle\DataFixtures\ORM\LoadGroupData.php
<?php
namespace Application\Sonata\UserBundle\DataFixtures\ORM;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Application\Sonata\UserBundle\Entity\Group;
/**