Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Author: Ivan Revelli

Digital solution partner

FindCmdLineSwitch.. Small thing but maybe someone doesn’t know…

FindCmdLineSwitch al posto di ParamStr

Ubuntu 22.04 configure Access Point by shell commands

Set up an Access Point in minutes with Ubuntu / Linux usually even without a graphical interface.

Add basic authentication to your IdHttpServer with Delphi

To add basic authentication to you own http server is really simple, you only need to add inside the “onCommandGet” method the authentication check, as in the example shown after the image Inside the method you can:

related articles: Build your own HTTPS server with Delphi – Open SSL Example

How To Install different version of PHP on Ubuntu

  Tested on: Ubuntu 22.04 Default php version is 8.1 and we want install php 7.4 Ondrej PPA contains PHP 8.2, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0 & PHP 5.6 packages. First update the system  

1. Check Active PHP Version

2. Install php on system Set the required PPA wich contains any…
Read more

KVM -HowTo move or copy a VM from Host to onther Host

To transfer a KVM virtual machine (VM) from one host to another, you can follow the steps below: Make sure you have the same version of KVM on both hosts. You can verify this by running the kvm –version command. Stop the VM you want to transfer. You can do this using the command virsh…
Read more

TDataSetSQLStatement c esempio di “class helper” in Delphi.

Helpers are a way to extend a class without using inheritance, which is also useful for records that don’t allow inheritance at all. Official documentation is available at: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Class_and_Record_Helpers_(Delphi). I often found myself creating code to export a dataset or a single record with its values ​​in an SQL statement, and every time I wrote…
Read more