2,594 reputation
31332
bio website lekensteyn.nl
location Netherlands
age 21
visits member for 4 years, 1 month
seen 2 days ago

Former Kubuntu desktop user, now using Arch Linux. Open-source enthusiast, programmer.

Interests: network protocols, Linux kernel, server administration, Android, breaking & fixing stuff.


22h
awarded  Explainer
Sep
21
comment Complex Nginx Vhost Config
@user3393046 You could do that at nginx level using rewrite, but you could also make PHP parse the URL.
Sep
21
answered Complex Nginx Vhost Config
Sep
20
awarded  Famous Question
Sep
18
comment How can I prepend to PATH while running Ansible's pip module?
Be also aware that ansible_env refers to the environment of the SSH user, not the sudo environment. ansible_env.USER may therefore result in root rather than an unprivileged user.
Sep
18
comment How can I prepend to PATH while running Ansible's pip module?
If you need to prepend ~/bin, use PATH: "{{ansible_env.HOME}}/bin:{{ansible_env.PATH}}". If you instead use PATH: "~/bin:{{ansible_env.PATH}}", then some programs (such as Python's shutil.which) are unable to use that component.
Sep
18
revised How can I prepend to PATH while running Ansible's pip module?
re-order for clarity, emphasize difference between remote/local
Sep
14
awarded  Custodian
Sep
14
reviewed Approve suggested edit on 404 not found when trying to access index.php
Sep
4
answered When is PHP 5.4 end of life?
Sep
4
answered How can I run arbitrarily complex command using sudo over ssh?
Aug
21
awarded  Yearling
Aug
14
comment Bash convert character in variable
For such single letter translations, you could also use tr: NHOST=$(echo "$NHOST" | tr . _)
Jul
29
awarded  Enlightened
Jul
29
awarded  Nice Answer
Jul
16
awarded  Popular Question
Jul
8
awarded  Notable Question
Jul
2
awarded  Curious
Jun
18
answered Kernel stack trace to source code lines
Jun
14
comment PHP Fatal error: Call to undefined function \x90\xf9\x8a\x0f\xed*() in \x80\x07 on line 4667
That link is dead.