Skip to content

Instantly share code, notes, and snippets.

View MarionLeHerisson's full-sized avatar

Marion Hurteau MarionLeHerisson

View GitHub Profile
@arnaud-lb
arnaud-lb / UseIndexWalker.php
Created May 15, 2012 19:27
USE INDEX / FORCE INDEX in a Doctrine2 DQL query
<?php
use Doctrine\ORM\Query\SqlWalker;
/**
* Quick hack to allow adding a USE INDEX on the query
*/
class UseIndexWalker extends SqlWalker
{
const HINT_USE_INDEX = 'UseIndexWalker.UseIndex';
@hurricane-voronin
hurricane-voronin / README.md
Last active January 3, 2025 14:27
Naming Classes Without a 'Manager'
@pauloportella
pauloportella / conventional-comments.md
Last active April 25, 2025 05:06
How to setup conventional comments on Github

Conventional comments

Source

You can add all conventional comments Labels to Github as a saved replies by following the following steps:

  1. Go to https://github.com/settings/replies
  2. Open Developer Tools
  3. Copy/Paste above code in JavaScript console
  4. Press enter