Life with 🐘 🐳 🐧 πŸ’»

Follow @DennisdeBest

Adding WebPack Encore and TypeScript to Grav

I started this Grav Blog in 2016. It was a nice and easy way to get started and to set everything up. I got the LingonBerry theme and only changed a few lines in its CSS code to change some colors. This worked fine and was up for years.

Recently I wanted to get back to my blog to add some mor...

Continue reading

Creating a HoneyPot to avoid Spam in Symfony Forms

On one of the sites I have set up with a contact form there started to get quite a few automated spam messages.

To avoid this I could add something like reCaptcha but first I'll try to take care of this on my own and not add more Google stuff to the page.

My form was pretty simple :


Continue reading

Traefik Middleware, redirect from www. to the simple URL

A lot of people are still used to a website needing to start with www. but this is not the case anymore. This has created a few issues in the past where I would deploy a site to but then when people would try to share the site they would mention it as

Continue reading

A Bash Script To Create New Scripts !

In Linux I tend to create my own scripts to try to automate the most stuff possible. In order to do so I used to create a new file in /usr/local/bin, make it executable and then start writing script into that file :

touch /usr/local/bin/my-script
chmod +x /usr/local/bin/my-script
vim /usr/local/...

Continue reading

β€œInnovation is the outcome of a habit, not a random act. ” Sukant Ratnakar