Skip to content

Instantly share code, notes, and snippets.

View boubouhkarim's full-sized avatar
🏠
Working from home

Boubouh Karim boubouhkarim

🏠
Working from home
  • Mabroka Média
  • Morocco
View GitHub Profile
@boubouhkarim
boubouhkarim / interview-php-sf.txt
Created February 13, 2018 01:13 — forked from jpchateau/Interview back-end developer
Entretien développeur PHP / Symfony
Cible : Développeur PHP / Symfony
Niveau : Confirmé / Senior
Veille technologique
Quelle est la version actuelle de PHP ?
Qu'apporte t-elle de plus par rapport à la version précédente ?
PHP / POO
@boubouhkarim
boubouhkarim / calendar.twig
Created August 18, 2017 15:09 — forked from aknosis/calendar.twig
Table based calendar only using Twig
{#
time can be any string acceptable by http://www.php.net/strtotime, the
template will output that time's month.
If you don't want to pass in a date you can set time like this:
{% set time = "now"|date("U") %}
{% set time = "December 2012"|date("U") %}
How ever you want to output items onto the calendar is a different issue,
but I'd assume pushing everything into an array numerically indexed by that day: