Skip to content

Instantly share code, notes, and snippets.

View markitosgv's full-sized avatar
💭
coding

Marcos Gómez Vilches markitosgv

💭
coding
View GitHub Profile

Keybase proof

I hereby claim:

  • I am markitosgv on github.
  • I am markitosgv (https://keybase.io/markitosgv) on keybase.
  • I have a public key ASD2GaNS4qvCfpndMLZmIWgwCponXdU0XFV-84QCVbCkjgo

To claim this, I am signing this object:

.btn-primary {
color: yellow !important;
}
@markitosgv
markitosgv / bashforeach.sh
Last active September 20, 2018 14:55
bash foreach
for i in `cat a.txt`; do php bin/console xxxx $i; done
@markitosgv
markitosgv / DatabaseSwitcherEventListener.php
Created October 27, 2015 22:34
Database Switch Event Listener (Symfony2)
<?php
namespace AppBundle\EventListener;
use Doctrine\DBAL\Connection;
class DatabaseSwitcherEventListener
{
private $connection;
@markitosgv
markitosgv / ObjectManagerRequest.php
Last active August 29, 2015 14:13
Wrapper for Object Manager from Request
<?php
namespace xxx\xxxAPIBundle\Services;
use Symfony\Bridge\Doctrine\RegistryInterface;
use Symfony\Component\HttpFoundation\RequestStack;
/**
* Class ObjectManagerRequest
* Wrapper for Object Manager from Request