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
<html> | |
<body style="overflow: hidden;margin:0px;padding:0px"> | |
<div id="fb-root"></div> | |
<script src="http://connect.facebook.net/en_US/all.js"></script> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.Canvas.setAutoResize(); |
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
$("input[name='answer']").focus(function(){ | |
this.select(); | |
}); | |
// fix per CHROME | |
$("input[name='answer']").mouseup(function(e){ | |
e.preventDefault(); | |
}); |
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
<a name="top"></a> ... <a href="#top">Back to top</a> |
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="myvideo"> | |
<iframe src="http://www.youtube.com/embed/MY-VIDEO" frameborder="0" allowfullscreen></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
<?php if (get_adjacent_post(false, '', false)): // if there are newer posts ?> | |
<a href="<?php echo get_permalink(get_adjacent_post(false,'',false)); ?>" class="article-nav prev"> </a> | |
<?php endif; ?> | |
<?php if (get_adjacent_post(false, '', true)): // if there are older posts ?> | |
<a href="<?php echo get_permalink(get_adjacent_post(false,'',true)); ?>" class="article-nav next"> </a> | |
<?php endif; ?> |
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
Show hidden characters
{ | |
"files": | |
{ | |
"backbone": "http://backbonejs.org/backbone-min.js", | |
"jquery": "http://code.jquery.com/jquery.min.js", | |
"raphaeljs": "http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js", | |
"underscore": "http://underscorejs.org/underscore-min.js" | |
}, | |
"packages": | |
{ |
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
/* | |
#ie10 will only be red in MSIE 10, | |
both in high contrast (display setting) and default mode | |
*/ | |
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
#ie10 { color: red; } | |
} |
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
*, | |
*:after, | |
*:before { | |
box-sizing: border-box; | |
} |
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
// Init Git on your Dropbox folder (es: "index.git" is the name of the repo) | |
git init --bare index.git | |
// Add origin repository on your project folder | |
git remote add origin file:///Path/to/your/Dropbox/folder/index.git/ |
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(){ | |
var module = (function() { | |
var _privateMethod = function() { | |
}; | |
var _protectedMethod = function() { | |
// io posso usare privateMethod | |
}; |
OlderNewer