Note book to help you and me remember some tricks

Category dev

How detect that an email sent by your application has been opened

Currently there is no 100% reliable solution, but the most “reliable” solution is the one used by email marketing platforms such as MailChimp, MailJet, SendInBlue and so on. Thus it is a question of sending an email in HTML format… Continue Reading →

Docker: LAMP development environment with XDebug + VSC ready to use! (a pampered container) – Part 5 – Conclusion

Conclusion Let’s sum up what we’ve achieved: Also remember that we have placed our different files related to the docker part inside a .devcontainer/ folder at the root of our PHP project which allows you to put it in a… Continue Reading →

Docker: LAMP development environment with XDebug + VSC ready to use! (a pampered container) – Part 4 – debug in Visual Studio Code

Introduction to VSC: Visual Studio Code Maybe you don’t know VSC? Don’t panic, team Bichon will introduce you to him. Visual Studio Code is a free, extensible, open source code editor developed by Microsoft for Windows, Linux and macOS. This… Continue Reading →

Docker: LAMP development environment with XDebug + VSC ready to use! (a pampered container) – Part 3 – start your containers

mod_deflate.conf In the folder .devcontainer/docker/ you have created an empty file called mod_deflate.conf. Here are the contents to put in this file: We will explain its usefulness in the chapter “Dockerfile” just after the definition of the Dockerfile. This file… Continue Reading →

Docker: LAMP development environment with XDebug + VSC ready to use! (a pampered container) – Part 2: your PHP project

Your PHP project on which you want to develop Objective: create a simple php project that is representative of a PHP project you might be working on. This project will serve as a support for the rest of the tutorial…. Continue Reading →

Docker: LAMP development environment with XDebug + VSC ready to use! (a pampered container) – Part 1 – Advantages and disadvantages

NOTE: This blog post was first posted in 2019 on another blog site. Fed up with setting up an environment at each project startup? You change your PC, and you have to reinstall everything? Your development works on your PC… Continue Reading →

Security headers in your web site

You can scan your website here (don’t forget to check ‘hide result’): https://securityheaders.com Then add the following code to your .htaccess or directly inside de server configuration file if you have access to it: Now it’s better:

Python ImportError: No module named Tkinter for python source compiled

You can find a lot about this error on internet, but most often they are the simplest answers using package manager to install the missing module. But it’s not always the solution. Firstly, why do you need tkinter? Do you… Continue Reading →

Developers should always encode url

Recently my software experience helped me to point where was the problem with a php source code given by developers. Developers thought the problem was a sysadmin misconfiguration with the miss php libraries or something like this because with their… Continue Reading →

How manage background tasks in your CLI and in your shell script application

First: do you know how to run background task not attached to your user session? Running a task attached to your current user session Imagine you establish an ssh connection to your linux host, or you just log into your… Continue Reading →

« Older posts

© 2024 Software engineer >> Sysadmin >> Devops >> SRE

Up ↑