Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View xmon's full-sized avatar

Juanjo García xmon

View GitHub Profile
@xmon
xmon / index-youtube-loop-background.html
Last active March 6, 2018 10:21
Video youtube, loop y background fullscreen
<!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 June 5, 2017 09:08
Social networks colors
/*
* 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 December 21, 2016 20:56
Custom plugin for sachinchoolur/lightGallery
(function () {
'use strict';
var defaults = {
editArtGroup: true
};
var EditArtGroup = function (element) {
@xmon
xmon / bootstrap-button-outline.less
Last active December 9, 2016 17:22
Classes for outline and outline inversed button for Bootstrap 3.x LESS and SCSS
// 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;
}
@xmon
xmon / Application\Sonata\UserBundle\DataFixtures\ORM\LoadGroupData.php
Last active May 5, 2016 01:44
DataFixtures for SonataUserBundle Symfony2
<?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;
/**