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> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
<script src="https://raw.github.com/wycats/handlebars.js/1.0.rc.2/dist/handlebars.js"></script> | |
<script src="https://raw.github.com/emberjs/ember.js/release-builds/ember-1.0.0-pre.4.js"></script> | |
<script src="https://gist.github.com/raw/4628483/3ad866d0921ac05ecb466513e3048296a07db6ce/ember-11.js"></script> |
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
$(function(){ | |
$('#responsive_links_top').find('*').each(function(){ | |
console.log($(this)) | |
console.log('computed: ',$(this).height()) | |
console.log('height: ',$(this).css('height')) | |
console.log('min-height: ',$(this).css('min-height')) | |
console.log('max-height: ',$(this).css('max-height')) | |
console.log('line-height: ',$(this).css('line-height')) | |
}); | |
}) |
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
<?php | |
require_once '../../swift/lib/swift_required.php'; | |
$success = false; | |
$senderName = isset( $_POST['senderName'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['senderName'] ) : ""; | |
$senderEmail = isset( $_POST['senderEmail'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['senderEmail'] ) : ""; | |
$message = isset( $_POST['message'] ) ? preg_replace( "/(From:|To:|BCC:|CC:|Subject:|Content-Type:)/", "", $_POST['message'] ) : ""; |
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
getParameterByName = (name) -> | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]") | |
regex = new RegExp("[\\?&]" + name + "=([^&#]*)") | |
results = regex.exec(location.search) | |
(if not results? then "" else decodeURIComponent(results[1].replace(/\+/g, " "))) |
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
git status | |
git add * | |
git status | |
git commit -m landing | |
git push -u origin master |
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
<div class="video-container"> | |
<iframe src="http://www.youtube.com/embed/dFVxGRekRSg" frameborder="0"></iframe> | |
</div> |
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
# Example of working basic configuration | |
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName www.villapiaeventi.it | |
DocumentRoot /var/www/villapiaeventi.it | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> |
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
#fb-root { | |
display: none; | |
} | |
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] { | |
width: 100% !important; | |
overflow-x: hidden; | |
} | |
div.fb-like-box, |