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
{"lastUpload":"2017-02-27T22:42:02.156Z","extensionVersion":"v2.5.1"} |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
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 | |
$currentlang = get_bloginfo('language'); | |
if($currentlang=="en-GB"): | |
?> | |
<?php elseif($currentlang=="pl-PL"): ?> | |
<?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
setTimeout("ga('send', 'event', 'NoBounce', 'Over 10 seconds')",10000); | |
setTimeout("ga('send', 'event', 'NoBounce', 'Over 30 seconds')",30000); |
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 echo get_permalink( pll_get_post( postID ) ); ?> |
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 numberPattern = /\d+/g; | |
var currencyType = /(GBP)|(PLN)|(USD)|(EUR)/g; | |
function httpGet(theUrl){ | |
var xmlHttp = null; | |
xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open( "GET", theUrl, false ); | |
xmlHttp.send( null ); | |
return xmlHttp.responseText; | |
} |
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="scene3D col-md-3"> | |
<div class="flip"> | |
<div class="card__front" style="background: url('<?php echo $obraz_wyrozniajacy; ?>') center no-repeat; background-size:cover;"> | |
</div> | |
<!-- This is the Front View--> | |
<div class="card__back" style="background: url('<?php echo $logo; ?>') center no-repeat; background-size:cover;"> | |
</div> | |
</div> | |
</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
// Smooth Scroll | |
$(function() { | |
$('a[href*="#"]:not([href="#"])').click(function() { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
if (target.length) { | |
$('html, body').animate({ | |
scrollTop: target.offset().top-100 |
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 getDayOfWeek() { | |
var newDate = new Date(); | |
newDate = newDate.getDay(); | |
for(i=1;i<=6;i++) { | |
if(newDate == i) { | |
$('#day'+i).addClass('active-day').prepend('<p class="today"><b>TODAY</b></p>'); | |
$('#day'+i).parent().css('background-color','#4A9D22'); | |
} else if (newDate == 0 && i == 6) { | |
$('#day7').addClass('active-day').prepend('<p class="today"><b>TODAY</b></p>'); | |
$('#day7').parent().css('background-color','#4A9D22'); |
NewerOlder