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
<div class="calendrier"></div> | |
<script type="text/javascript"> | |
$(function(){ | |
$(".calendrier").datepicker({ | |
beforeShowDay: function(selectedDate){ | |
var evenements = <?php echo $activites_json ?>; | |
var active = false; |
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
# untrack a file that has already been added/initialized to your repository but not delete it | |
git rm --cached file | |
# show information on origin | |
git remote show origin | |
# unstage a file | |
git reset HEAD file | |
# merge a branch from a remote repository |
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
security: | |
encoders: ~ | |
providers: | |
doctrine: | |
entity: { class: FQCN, property: username } | |
firewalls: | |
dev: |
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
#!/bin/bash | |
# Ask for the administrator password upfront | |
sudo -v | |
### System preferences ### | |
# source: | |
# ~/.osx — http://mths.be/osx | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished |
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
xcode | |
command line tools | |
brew | |
brew install unixodbc | |
brew edit freetds # ajouter --enable-msdblib dans les flags | |
brew install freetds --with-unixodbc |
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
{% macro generate(mapping) %} | |
{% if mapping.type == 'route' %} | |
<a href="{{ path(mapping.target) }}">{{ mapping.section|default('Link'|trans) }}</a> | |
{% elseif mapping.type == 'render' %} | |
{{ render(controller(mapping.target)) }} | |
{% elseif mapping.type == 'include' %} | |
{% include mapping.target %} | |
{% elseif mapping.type == 'url' %} | |
<a href="{{ mapping.target }}">{{ mapping.section|default('Link'|trans) }}</a> |
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
{% extends 'AlikiSystemBundle:Backend/Allergen:layout.html.twig' %} | |
{% block content_header %} | |
<h1>{% trans %}Allergens List{% endtrans %}</h1> | |
{% endblock %} | |
{% block content_main %} | |
{{ grid(grid, _self) }} | |
{% endblock content_main %} |
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 | |
/** | |
* Lists all Allergen entities. | |
* | |
* @return Response | |
*/ | |
public function listAction() | |
{ | |
$source = new Entity('AlikiSystemBundle:Allergen'); |