Skip to content

Instantly share code, notes, and snippets.

Faun woecifaun

Block or report user

Report or block woecifaun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
woecifaun / nginx-lang-conf
Created Feb 17, 2019
Nginx lang redirection depending on preferred user (accept) language
View nginx-lang-conf
server {
listen 80;
charset UTF-8;
# Language
set $user_langs ",$http_accept_language";
set $first_available_language "en";
if ($user_langs ~* ',{1}(en|fr)') {
woecifaun /
Last active Aug 30, 2015
List of PHP User Groups Contacted for the project


Here is the list of PHP Users Groups I have contacted for the HaPHPy Birthday project: the collaborative movie celebrating 20 years of PHP.

PUGs that already participate to the project have a piece of cake (🍰). They already appear on the HaPHPy PUG's list.

If your PHP group is not on the list or doesn't have a piece of cake, tell your group organiser about the project. You can also contact me: woecifaun@gmail●com or Twitter: Woecifaun


sudo discoveryutil mdnsflushcache & sudo discoveryutil udnsflushcaches

woecifaun /
Last active Sep 13, 2015
List of contacted PHP user groups for the HaPHPy Birthday project #haPHPy20
Column Description
Country If not relevant, fill with ~
Location Can be city, state, region… or ~ if not relevant
Name name of the php group


  • 📮 Email to group
  • 📫 Email to coordinator
woecifaun / doctrine_schema_update
Last active Aug 29, 2015
Little helper for Symfony doctrine:schema:update
View doctrine_schema_update
#! /bin/sh
output="$(php app/console doctrine:schema:update --dump-sql)";
echo $output;
case $output in
Nothing* ) return 0;;
You can’t perform that action at this time.