A Pen by ayhan sipahi on CodePen.
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
<!-- comment.sublime-snippet --> | |
<snippet> | |
<content><![CDATA[ | |
C ----------------------------------- | |
C $1 | |
C ----------------------------------- | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>comment</tabTrigger> |
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, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
abbr, address, cite, code, | |
del, dfn, em, img, ins, kbd, q, samp, | |
small, strong, sub, sup, var, | |
b, i, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, figcaption, figure, |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
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
#livehelp { | |
font-weight: bold; | |
-webkit-animation: livehelp 2s ease-in-out infinite; /* Safari 4+ */ | |
-moz-animation: livehelp 2s ease-in-out infinite; /* Fx 5+ */ | |
-o-animation: livehelp 2s ease-in-out infinite; /* Opera 12+ */ |
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
/*! Viewport Resizer v1.1.3 | http://lab.maltewassermann.com/viewport-resizer/ Copyright (c) 2012 Created by Malte Wassermann */ | |
(function(q,C,J){var U=C.createElement("script"),V=C.getElementsByTagName("script")[0];U.src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";V.parentNode.insertBefore(U,V);C.close();var W=function(a){q.jQuery&&[jQuery.fn.jquery,"1"].sort()[1]===jQuery.fn.jquery?a(jQuery):q.setTimeout(function(){W(a)},100)};W(function(a){function x(b){b=typeof b==="undefined"?a("a.active",p):a(b);var e=b.attr("data-viewport").toDimension();a("a.active",y).removeClass("active").end(b.addClass("active")); | |
X(e)}function z(b,e){var d=b?b:a("a.active",y),g=b?d.attr("data-viewport").toDimension():{width:D,height:K},k=e=="swap"?{width:g.height,height:g.width}:{width:g.width,height:g.height},h=k.width+"x"+k.height,f=RegExp(e=="swap"?g.width+"x"+g.height:g.height+"x"+g.width,"g");g=e!=null?Y(e=="swap"&&d.is(".portrait, .landscape")?d.hasClass("landscape")?0:-90:e):Y(g);var l=d.text();if(d.hasClass("c |
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
javascript:(function(){var tmp=$('body').html().toString();$('body').append('<div id=\"src\"></div>');$('#src').text(tmp)})(); |
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 tmpTime= new Date().getTime(); | |
var tmpid ="result_not_found"+tmpTime; | |
var noResult ='<div id="'+tmpid+'" class="alert alert-error"><button type="button" class="close" data-dismiss="alert">×</button>Sorry,no result found!</div>'; | |
$("#content").prepend(noResult); | |
setTimeout(function(){$("#"+tmpid).fadeOut()},3000); |
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 id="google_translate_element"></div> | |
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> | |
<script> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({ | |
pageLanguage: 'en', | |
autoDisplay: false, | |
gaTrack: true, | |
layout: google.translate.TranslateElement.InlineLayout.SIMPLE | |
}, 'google_translate_element'); |
OlderNewer