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
*/ | |
public function showPagination() { | |
// Custom rewriting of style. Can be turned off by disabling the variable or customized using variables. | |
if($this->overwriteStyle) { | |
echo " | |
<style> | |
ul.pagination li a{ | |
background-color: $this->styleColorBg; | |
color: $this->styleColorText; | |
border-color: $this->styleColorBorder; |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
public function createRouter() | |
{ | |
$router = new RouteList(); | |
$router[] = new Route('TYPO3/index.php', array( | |
'presenter' => 'Page', | |
'action' => 'view' | |
)); |
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
<script type="text/javascript"> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({ | |
pageLanguage: 'sk', | |
includedLanguages: 'cs,en', | |
layout: google.translate.TranslateElement.InlineLayout.SIMPLE | |
}, 'google_translate_element'); | |
} | |
</script> |
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
// DREAM-FACTORY.sk | |
// thx page URL | |
// https://www.dream-factory.sk/nakupny-kosik/&objednane | |
// THX page data | |
// Ecomm_totalvalue | |
// Na stránke detailu produktu prepisovať cenu produktu | |
// Na stránke košíku (v celom nákupnom procese) a na stránke dokončenej objednávky je potrebné | |
// prepisovať celkovú hodnotu produktov v košíku. |
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
# TERMINAL | |
alias ll="ls -FlAGh" | |
alias c="clear" | |
alias h="cd ~/" | |
# APPS | |
alias subl="open -a 'Sublime Text 3'" | |
alias storm="open -a 'PhpStorm'" | |
alias sublime="subl" |
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
yarn === npm install | |
yarn init === npm init | |
yarn add vue === npm install vue --save | |
yarn remove vue === npm uninstall vue --save | |
yarn add vue --dev === npm install vue --save-dev | |
yarn upgrade === npm update --save | |
yarn global add vue === npm install vue --global |
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 up periodic site registration | |
if(plugins_isEnabled('taskManager') AND plugins_getVersion('taskManager') > 0.00) { | |
// registering will be handled by a task every week | |
if(!taskManager_checkTask('registerSite')) { | |
$task = new Task('registerSite'); | |
$task->setCommand_registerSite(); | |
$task->executionTime = date('Y-m-d', strtotime('+1 day', strtotime(now()))).' 01:00:00'; | |
$task->repeatAfter = '1 day'; | |
$task->source = 'tracker'; | |
$task->description = 'Registers site every day.'; |
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 up periodic site registration | |
if(plugins_isEnabled('taskManager') AND plugins_getVersion('taskManager') > 0.00) { | |
// registering will be handled by a task every week | |
if(!taskManager_checkTask('registerSite')) { | |
$task = new Task('registerSite'); | |
$task->setCommand_registerSite(); | |
$task->executionTime = date('Y-m-d', strtotime('+1 day', strtotime(now()))).' 01:00:00'; | |
$task->repeatAfter = '1 day'; | |
$task->source = 'tracker'; | |
$task->description = 'Registers site every day.'; |
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(function(){debugger; }, 3000) |
NewerOlder