This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
.videoWrapper { | |
position: relative; | |
padding-bottom: 56.25%; /* 16:9 */ | |
padding-top: 25px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Images sprite | |
//Background definition | |
@img-sprite: '../images/image-sprite.png'; | |
//Main Class | |
.imgsprite { | |
background: url(@img-sprite) no-repeat 0 0 scroll transparent; | |
border:0; | |
display:block; | |
overflow:hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> | |
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> | |
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" /> | |
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png" /> | |
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" /> | |
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" /> | |
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" /> | |
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png" /> | |
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" /> | |
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class=""> <!--<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* media-queries.less */ | |
/* | |
Deffined on variables.less from bootstrap | |
Large screen / wide desktop / screen >= 1200px | |
Medium screen / desktop / 992px >= screen < 1200px | |
Small screen / tablet / 768px >= screen < 992px | |
Extra small screen / phone / 480px >= screen < 768px | |
Very small screen / Outdated phone / screen < 480px | |
*/ | |
/* Large screen & Biger */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- Symfony2 ----------------------------------------- | |
app/bootstrap.php.cache | |
app/bootstrap_cache.php.cache | |
app/config/parameters.ini | |
app/config/parameters.yml | |
app/cache/* | |
app/logs/* | |
vendor/* | |
web/bundles/* | |
web/css/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush cache-clear all | |
drush en module_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name dominio.com; | |
root /var/www/html; | |
#if ($http_host != "dominio.com") { | |
# rewrite ^ http://dominio.com$request_uri permanent; | |
#} | |
index index.php index.html; | |
location = /favicon.ico { | |
log_not_found off; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2 aws linux ami | |
cambiar valores | |
/etc/php-fpm.d/www.conf | |
/var/run/php-main.socket | |
/etc/nginx/nginx.conf | |
/etc/nginx/conf.d/new-site.conf | |
chown ec2-user o ubuntu | |
/var/lib/nginx |