Skip to content

Instantly share code, notes, and snippets.

View ramonfincken's full-sized avatar

Ramon Fincken ramonfincken

View GitHub Profile
@ramonfincken
ramonfincken / muplugins.sh
Created December 21, 2017 07:53
WordPress Composer multiple mu-plugins fix: muplugins.sh
#!/bash
# Author: Ramon Fincken, https://www.mijnpress.nl
BASEDIR=web/app/mu-plugins
muplugindirs=`ls $BASEDIR`
for i in $muplugindirs
do
if [[ -d ${BASEDIR}/${i} ]]
then
@ramonfincken
ramonfincken / Instructions.md
Last active June 1, 2016 08:20 — forked from pgilad/Instructions.md
Git commit-msg hook to validate for jira issue or the word merge

Instructions

  • copy the file commit-msg to .git/hooks/commit-msg
  • make sure your delete the sample file .git/hooks/commit-msg.sample
  • Make commit msg executable. chmod +x .git/hooks/commit-msg
  • Edit commit-msg to better fit your development branch, commit regex and error message
acl country_cn src -f /etc/haproxy/subnets/CN.subnets
acl country_ng src -f /etc/haproxy/subnets/NG.subnets
acl country_ua src -f /etc/haproxy/subnets/UA.subnets
acl country_ru src -f /etc/haproxy/subnets/RU.subnets
acl network_ovh src -f /etc/haproxy/subnets/OVH.subnets