The following signatures were invalid: EXPKEYSIG B188E2B695BD4743

If you get this error message while apt-get update: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORGThe following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG It means you need to update the APT signing key. To fix this issue just type this as root in your server: wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpgwget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg Then run […]

Timestamp URLs for SHA1 SHA256 Code Sign 2021

Here are timestamp URLs I use when signing Windows PE files: SHA1 Timestamp Server: http://timestamp.digicert.comhttp://timestamp.digicert.com * The above timestamp works also on Windows XP and Windows 7 * RFC timestamp servers are not supported on Windows XP and Windows 7 SHA256 Timestamp Server: http://rfc3161timestamp.globalsign.com/advancedhttp://rfc3161timestamp.globalsign.com/advanced Following ones are not working anymore: http://timestamp.globalsign.com/scripts/timestamp.dll http://timestamp.globalsign.com/?signature=sha2http://timestamp.globalsign.com/scripts/timestamp.dll http://timestamp.globalsign.com/?signature=sha2 Other timestamp […]

Best Clean Monospace Web Fonts 2021

Here are some awesome monospace web fonts I just love: Baloo Da 2 https://fonts.google.com/specimen/Baloo+Da+2 Mulish https://fonts.google.com/specimen/Mulish Shippori Mincho B1 https://fonts.google.com/specimen/Shippori+Mincho+B1

Add New Path to Delphi 10.4 Sydney on Library Path

Library Path on Delphi 10.4 Sydney is found here: Tools->Options->Language->Delphi Options->LibraryTools->Options->Language->Delphi Options->Library Here is an example of “Library path” field: $(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include$(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include If you want to add a new library path, e.g C:\Almadev\StyleControls append it: $(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include;C:\Almadev\StyleControls$(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include;C:\Almadev\StyleControls Make sure to do same for 32-bit and 64-bit platform.

AMD Radeon 7400 Drivers for Windows 10

I installed Windows 10 as dual boot using Apple Boot Camp in my MacBook Pro 2011, initially there were problems with the drivers for the graphics card AMD Radeon 7400 series, so if you’re looking for AMD Radeon 7500 series drivers for Windows 10 just click here: https://www2.ati.com/drivers/15.201.1301-150819a-188578c-whql.zip The drivers work for AMD Radeon found […]

How to pass custom command-line parameters in InnoSetup

You can read custom parameters with the {param} constant, example: if ExpandConstant(‘{param:Mode|DefaultMode}’) = ‘DefaultMode’ then begin Log(‘Installing for default mode’); end else begin Log(‘Installing for different mode’); end;if ExpandConstant(‘{param:Mode|DefaultMode}’) = ‘DefaultMode’ then begin Log(‘Installing for default mode’); end else begin Log(‘Installing for different mode’); end; It works with syntax like /Name=Value. And can also be […]

Programmatically create desktop icon with InnoSetup

Inside “ssPostInstall” of CurStepChanged() add this code: //create user desktop shortcut ShortcutPath := ExpandConstant(‘{userdesktop}’) + ‘\YourApp.lnk’; CreateShellLink(ShortcutPath, ‘YourApp’, ExpandConstant(‘{app}\YourApp.exe’), ”, ExpandConstant(‘{app}’), ”, 0, SW_SHOWNORMAL);//create user desktop shortcut ShortcutPath := ExpandConstant(‘{userdesktop}’) + ‘\YourApp.lnk’; CreateShellLink(ShortcutPath, ‘YourApp’, ExpandConstant(‘{app}\YourApp.exe’), ”, ExpandConstant(‘{app}’), ”, 0, SW_SHOWNORMAL); If you want to disable desktop icon via command-line, use this: if ExpandConstant(‘{param:skipdesktopicon|false}’) <> ‘false’ […]