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
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
woecifaun / haphpy-php-user-groups.md
Last active Aug 30, 2015
List of PHP User Groups Contacted for the haphpy-birthday.net project
View haphpy-php-user-groups.md

haphpy-birthday

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

http://haphpy-birthday.net

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

View yosemite-dns-flush.md

sudo discoveryutil mdnsflushcache & sudo discoveryutil udnsflushcaches

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

Legend

  • 📮 Email to group
  • 📫 Email to coordinator
View phpcon-fall-2015.md
@woecifaun
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;;
esac
You can’t perform that action at this time.