My journey in the computer world

Category Scripts

OpenAI ChatGPT and Whisper to generate recipe instructions from YouTube video

As everybody else, I wanted to see what ChatGPT could do. I love finding recipes on YouTube, but sometimes, a good set of instruction is better than the whole story of the recipe. Especially when I want to do the… Continue Reading →

.NET Core detection in Inno Setup

Code to help you detect if the wanted version of .NET Core is installed on the user machine when using Inno Setup and Pascal programming.

Increment version of release for debian packaging with git tag

At work we’re using debian packaging to prepare our release, this mean we need to prepare the changelog, commit the change on the changelog and tag the release. Moreover we need to track what the current release number and to… Continue Reading →

Elastic Stack with TLS

Introduction At work, we decided to give a try to the Elastic Stack (Elastic Search, Logstash and Filebeat in our case) while having the whole communication secured with TLS. TLS Protocol You might at this point wonder how all the… Continue Reading →

SalesForce ID 15 chars to 18 chars in PHP

Like in a lot of companies, SalesForce is used to manage customer file and information. Our application need to interface with the SF Database to either update/create records or fetch some information for our support/marketing. We encounter a weird issue… Continue Reading →

Fail2ban and CloudFlare

In a previous blog post (Fail2ban + Tarpit), I explained how to setup a Tarpit for Fail2ban to use it against the attacker that got banned multiple times. It works great especially in conjunction with WP Fail2ban, a fail2ban plugin for… Continue Reading →

Nginx Referrer Blacklist updated

I went through my google analytic log and updated the referrer blacklist for Nginx. As before, it’s available as a gist on GitHub.

letsencryp.sh a client to automatize let’s encrypt renewal and creation

I’ve been playing around with let’s encrypt and the official client available on github. I have to admit the client is great to automatize the process and with some tweaking can be also applied to nginx. But it’s slow and… Continue Reading →

Autotagging and versioning for C# app with AppVeyor and Git

I needed a way to auto-tag my release when I’m modifying the AssemblyInfo.cs file in my C# application. I created a pre-commit, post-commit and simple version.sh file to do so: The version.sh contain which file need to be monitored. When… Continue Reading →

Fail2ban + Tarpit

This website is hosted on my own dedicated server (a kimsufi) and like every server, it’s getting regularly attacked. To identify those attacks, I needed to add a layer of security to ban recurrent attempt, this layer is Fail2ban. It’s… Continue Reading →

« Older posts

© 2024 Antoine Aflalo — Powered by WordPress

Theme by Anders NorenUp ↑