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
<koken:if data="settings.show_feat_img" equals="true"> | |
<koken:featured_image> | |
<header class="page_cover cover_drop_shadow"> | |
<koken:background lazy="true" id="cover_bg" style="height:100%;"></koken:background> | |
<div id="ss_spinner"></div> | |
</header> | |
</koken:featured_image> | |
</koken:if> | |
<script> | |
$(document).on('k-lazy-loading-background', function(e) { |
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 script, | |
scripts = document.getElementsByTagName('script')[0]; | |
function load(url) { | |
script = document.createElement('script'); | |
script.async = true; | |
script.src = url; | |
scripts.parentNode.insertBefore(script, scripts); |
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
date.timezone = "Europe/London" | |
expose_php = 0 | |
extension = phar.so | |
extension = fileinfo.so | |
extension = intl.so | |
suhosin.executor.include.whitelist = phar | |
[opcache] | |
zend_extension=opcache.so |
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
[opcache] | |
; the path to the .so file | |
zend_extension=opcache.so | |
; Enabled. Set to 0 to disable | |
opcache.enable=1 | |
; Max memory consumption. Default 32 megs | |
opcache.memory_consumption=32 |
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 | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.7 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
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
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
Make sure your modal has an id: | |
<div class="modal" id="myModal" ... > | |
Then stick this bit of Javascript at at the end of your document: | |
*/ | |
$(document).ready(function() { |
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
#PersonalToolbar { | |
visibility: collapse !important; | |
opacity: 0.01; | |
-moz-transition: visibility 0.5s, opacity 0.5s ease !important; | |
position: fixed !important; | |
width: 100% !important; | |
padding: 3px 3px 3px 3px !important; | |
z-index: 10; |
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
$("#column_center .odd:empty").remove(); | |
$("#column_center .even:empty").remove(); |
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
/* | |
Cross-browser styling of <fieldset> and <legend> without any additional HTML elements | |
basic rules: | |
- fieldset cannot have padding, because it would ruin the legend absolute positioning in Gecko | |
- cannot use relative positioning on legend, because it does not work in Opera | |
- legend cannot have padding, because it would break its 100% size in all browsers. | |
this cannot be fixed by overflow:hidden, because it is stupid in all IE | |
- selector priority in IE7 is wrong (!important) | |
*/ |
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
// String utils | |
// | |
// resources: | |
// -- mout, https://github.com/mout/mout/tree/master/src/string | |
/** | |
* "Safer" String.toLowerCase() | |
*/ | |
function lowerCase(str){ | |
return str.toLowerCase(); |
OlderNewer