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 | |
namespace Havvg\Bundle\DashboardBundle\DependencyInjection\Compiler; | |
use Havvg\Bundle\DRYBundle\DependencyInjection\Compiler\AbstractTaggedMapCompilerPass; | |
class DashboardPass extends AbstractTaggedMapCompilerPass | |
{ | |
protected $mapServiceTag = 'havvg_dashboard.boardlet'; | |
protected $targetServiceTag = 'havvg_dashboard.dashboard'; |
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
imports: | |
- { resource: parameters_dev.yml } | |
- { resource: config.yml } | |
- { resource: config_local.yml, ignore_errors: true } | |
framework: | |
profiler: | |
only_exceptions: false | |
web_profiler: |
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
jQuery(function($) { | |
var $inputs = $('input[type="date"]'); | |
if (!$inputs.length) return; | |
/* | |
* The browser does not support the HTML5 date type. | |
* | |
* We add the datepicker as a fallback. | |
*/ |
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
services: | |
ormigo.form.flow: | |
class: Craue\FormFlowBundle\Form\FormFlow | |
parent: craue.form.flow | |
scope: request | |
calls: | |
# see https://gist.github.com/3066310 | |
- [ setStorage, [ @ormigo.form.flow.storage.mongodb ] ] | |
ormigo.form.image_upload.flow: |
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
jQuery(function($) { | |
$('form[data-async]').live('submit', function(event) { | |
var $form = $(this); | |
var $target = $($form.attr('data-target')); | |
$.ajax({ | |
type: $form.attr('method'), | |
url: $form.attr('action'), | |
data: $form.serialize(), |
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
[alias] | |
cctrl = push --recurse-submodules=check cloudcontrol |
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 | |
namespace Ormigo\Bundle\TranslationBundle\Translation\Dumper; | |
use Ormigo\Bundle\TranslationBundle\Translation\Loader\PdoLoader; | |
use Symfony\Component\Translation\Dumper\DumperInterface; | |
use Symfony\Component\Translation\MessageCatalogue; | |
class PdoDumper extends PdoLoader implements DumperInterface |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<database name="default" defaultIdMethod="native" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.propelorm.org/1.6/database.xsd"> | |
<table name="country"> | |
<column name="id" type="integer" autoIncrement="true" primaryKey="true" /> | |
<column name="iso_code" type="char" size="2" required="true" /> | |
<column name="name" type="varchar" size="255" required="true" primaryString="true" /> | |
<behavior name="i18n"> | |
<parameter name="i18n_columns" value="name, url" /> | |
<parameter name="default_locale" value="de_DE" /> |
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
(function(Sternenbund, $, undefined) { | |
Sternenbund.Model = Backbone.Model.extend({ | |
url: function() { | |
return this.urlRoot+'/'+this.id+'.json'; | |
} | |
}); | |
// .. | |
Sternenbund.Venad = Sternenbund.Model.extend({ |
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
monolog: | |
handlers: | |
log_everything: | |
type: fingers_crossed | |
action_level: critical | |
handler: grouped | |
channels: [!frontend, !deprecation] | |
grouped: | |
type: group |