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
<header class="navbar navbar-fixed-top"> | |
<div class="navbar-inner"> | |
<div class="container-fluid"> | |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</a> | |
<a class="brand" href="{{ path('tbs_formation_blog_posts_index') }}">Mon Blog</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
#!bash | |
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |
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
/** | |
* Get a user from the Security Context | |
* | |
* @return mixed | |
* | |
* @throws \LogicException If SecurityBundle is not available | |
* | |
* @see Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getUser() | |
*/ | |
public function getUser() |
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 Mon\Site\BlogBundle\Mailer; | |
class BaseMailer { | |
protected $mailer; | |
protected $container; | |
public function __construct(\Symfony\Component\DependencyInjection\Container $container) { | |
$this->container = $container; |
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
<!-- Modal for view slide --> | |
<div class="modal hide" id="modal-edit-{{ post.id }}"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal">×</button> | |
<h3>Modifier</h3> | |
</div> | |
<div class="modal-body"> | |
</div> | |
<div class="modal-footer"> |
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 Clever\Presenter\CoreBundle\Assetic\Filter; | |
use Assetic\Filter\BaseCssFilter; | |
use Assetic\Asset\AssetInterface; | |
/** | |
* Fixes relative CSS urls. | |
* Support of Symfony relative bundles url |
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
/** | |
* @Route("/security/login",) | |
* @Template() | |
*/ | |
public function loginAction() { | |
if ($this->get("security.context")->isGranted('IS_AUTHENTICATED_FULLY')) { | |
return $this->redirect($this->generateUrl('mon_site_blog_default_index')); | |
} | |
$request = $this->getRequest(); |
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 Mon\Site\UserBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Mon\Site\UserBundle\Entity as Entity; |
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
{# Widgets #} | |
{% block form_widget %} | |
{% spaceless %} | |
{{ block('field_rows') }} | |
{{ form_rest(form) }} | |
{% endspaceless %} | |
{% endblock form_widget %} | |
{% block collection_widget %} |
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/sh | |
### BEGIN INIT INFO | |
# Provides: amazon-resque | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the amazon resque daemon | |
# Description: starts amazon resque using start-stop-daemon |
OlderNewer