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="en" class="no-js"> | |
<!-- the "no-js" class is for Modernizr. --> | |
<head class="html5reset-kitchensink-commented"> | |
<meta charset="utf-8" /> | |
<!-- This prevents the conditional comments below from holding up the page load |
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
<?php | |
$url = 'http://twitter.com/statuses/user_timeline/224195473.rss'; | |
$cache_expire = 3600; // in seconds | |
$ts = time(); | |
$info_file = 'cashed/twitter/tmp-info.txt'; | |
$cache_file = 'cashed/twitter/tmp-'.$ts.'.xml'; | |
// current info |
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
<!-- Move to your custom.js file --> | |
$(window).on( 'resize', function () { | |
var viewportHeight = $(window).height(); | |
var headHeight = $(".center-head").height(); | |
var customPadding = (viewportHeight-headHeight)/2; | |
$(".center-head").css({"padding-top": customPadding }); | |
}).resize(); |
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
var map; | |
function initialize() { | |
// You need to set your latitude and longitude here | |
var myLatlng = new google.maps.LatLng(51.497951, -0.144491); | |
var isDraggable = $(document).width() > 480 ? true : false; // If document is wider than 480px, isDraggable = true, else isDraggable = false SRC - https://coderwall.com/p/pgm8xa | |
var mapOptions = { | |
zoom: 16, |
OlderNewer