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
jQuery(document).ready(function () { | |
var j= jQuery, | |
container = '.ce_metamodel_content', | |
list = '.layout_full', | |
entry = '.item', | |
pagination = j('.pagination'); | |
var urls = [], | |
scrolled = function (elem) { | |
var |
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
sf() { | |
if [ -f ./app/console ]; then | |
./app/console $@ | |
return $? | |
fi; | |
if [ -f ./bin/console ]; then | |
./bin/console $@ | |
return $? | |
fi; | |
echo "found neither ./app/console nor ./bin/console"; |
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
$attribute = $metaModel->getAttribute('price'); | |
$filter = $metaModel->getEmptyFilter(); | |
$andRule = new \MetaModels\Filter\Rules\Condition\ConditionAnd(); | |
$andRule | |
->addRule(new \MetaModels\Filter\Rules\Comparing\GreaterThan($attribute, 10)) | |
->addRule(new \MetaModels\Filter\Rules\Comparing\LessThan($attribute, 20)); | |
$filter->addFilterRule($andRule); | |
$items = $metaModel->findByFilter($filter); |
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
language: php | |
php: | |
- "5.3" | |
- "5.4" | |
- "5.5" | |
- "5.6" | |
- "7.0" | |
env: |
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 | |
ES6ValidationInspection | |
JSAccessibilityCheckInspection | |
JSBitwiseOperatorUsageInspection | |
JSCheckFunctionSignaturesInspection | |
JSClosureCompilerSyntaxInspection | |
JSCommentMatchesSignatureInspection | |
JSComparisonWithNaNInspection | |
JSConsecutiveCommasInArrayLiteralInspection |
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 | |
use ContaoCommunityAlliance\DcGeneral\Factory\DcGeneralFactory; | |
// Create the DcGeneral. | |
$factory = new DcGeneralFactory(); | |
$dcGeneral = $factory->setContainerName('tl_data')->createDcGeneral(); | |
// Fetch the correct data provider. | |
$dataProvider = $dcGeneral->getEnvironment()->getDataProvider(/* 'tl_data' is not required here but possible as it is the default */); |
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
{ | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "components/jquery-transit", | |
"type": "component", | |
"version": "0.9.9", | |
"homepage": "https://github.com/rstacruz/jquery.transit", | |
"require": { |