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
pipeline { | |
agent any | |
options { | |
buildDiscarder(logRotator(daysToKeepStr: '1')) | |
} | |
stages { | |
stage('Deploy CronJobs') { | |
steps { |
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
pipeline { | |
agent any | |
options { | |
buildDiscarder(logRotator(daysToKeepStr: '4')) | |
} | |
stages { | |
stage('Configure env') { | |
steps { |
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 | |
/** | |
* This file is part of TaladStatsBundle. | |
* | |
*/ | |
class KpiComparatorBehavior extends Behavior | |
{ | |
public function queryMethods($builder) |
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
$(document).ready(function() { | |
/** Update button **/ | |
if (null !== location.pathname.match(/\/edit/)) { | |
$(window).scroll(function() { | |
if ($(window).height() + $(window).scrollTop() > $(document).height() - 10 || $(this).scrollTop() < 100) { | |
$('#save-button').fadeOut(); | |
} | |
else { | |
$('#save-button').fadeIn(); |
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 | |
trait autoTranslate | |
{ | |
protected | |
$lang1, | |
$lang2 | |
; | |
protected function translate($text) |