This file contains hidden or 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
var isMobile = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|Windows Phone)/); | |
var is_iPad = navigator.userAgent.match(/(iPad)/); | |
// | |
var res1440 = false; | |
var res1080 = false; | |
var res1050 = false; | |
var res900 = false; | |
var res768 = false; | |
// | |
var userAgent = window.navigator.userAgent.toLowerCase(); |
This file contains hidden or 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
body { | |
height: 6000px; | |
font-family: Helvetica, Arial; | |
} | |
#top-menu { | |
position: fixed; | |
z-index: 1; | |
background: white; | |
left: 0; |
This file contains hidden or 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
$("#nav ul li a[href^='#']").on('click', function(e) { | |
// prevent default anchor click behavior | |
e.preventDefault(); | |
// store hash | |
var hash = this.hash; | |
// animate | |
$('html, body').animate({ |
This file contains hidden or 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
/*! | |
* Bootstrap v3.3.5 (http://getbootstrap.com) | |
* Copyright 2011-2015 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
.getbootstrap-grid .btn-default, | |
.getbootstrap-grid .btn-primary, | |
.getbootstrap-grid .btn-success, | |
.getbootstrap-grid .btn-info, |
This file contains hidden or 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
$(window).on('unload', function() { | |
$(window).scrollTop(0); | |
}); |
This file contains hidden or 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
.spinner { | |
width: 40px; | |
height: 40px; | |
margin: 50px auto; | |
background-color: #555; | |
border-radius: 100%; | |
-webkit-animation: scaleout 1s infinite ease-in-out; | |
animation: scaleout 1s infinite ease-in-out; | |
} |
This file contains hidden or 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> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
This file contains hidden or 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
sudo apt-get install php5 mysql-server apache2 | |
sudo apt-get install lamp-server^ | |
sudo apt-get install phpmyadmin | |
sudo ln -s /usr/share/phpmyadmin /var/www/ |
This file contains hidden or 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
<style> | |
#SkypeButton_Call_soluntechSkype_1_paraElement img { | |
margin-left: 0 !important; | |
} | |
</style> | |
<div id="SkypeButton_Call_soluntechSkype_1"> | |
<script type="text/javascript"> | |
Skype.ui({ | |
"name": "call", |
This file contains hidden or 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
#!/bin/bash | |
clear | |
echo 'Eliminando Wordpress' | |
sudo rm -R wp wordpress | |
echo 'Instalando Wordpress' | |
wget http://wordpress.org/latest.tar.gz | |
tar xzvf latest.tar.gz | |
sudo chmod -R 777 wordpress |