using ChatGPT for PHP code refactoring

prompts, commands:

##########################################################

refactor this code for php 7.4

##########################################################

refactor php code to hide this message: 'Trying to access array offset on value of type null '

##########################################################

refactor this php code for php 5.4 use if else statement

##########################################################

refactor this php code for php 5.4
use if else statement
do not use for cycle

##########################################################

refactor this php code which run with php 5.4 and php 7
use if else statement
do not use for cycle

##########################################################

https://chat.openai.com/

Tapasztalat: Sokszor újra és újra kell generálni az utasítást kicsit módosítva, pontosítva a szöveget.

SAS hajó 570 infó

SAS HAJÓ István Tel.: 06.70.369.60.72

06 70 369 60 72

https://www.cewe-community.com/hu/galeria/book/16418

https://helyi.infobel.hu/HU101618121/toth_istvan-szigetszentmarton.html

üvegszál, műgyanta technológia

570 a legkisebb, ennél csak nagyobb hajókat épít

(Sikerült beszélnem a hajó építővel. ‘Műgyanta, üvegszál, rétegek. ‘ Az 570cm a legkisebb méret amit készít, ennél nagyobb hajókat, jachtokat épít ugyanilyen technológiával.)

MySQL: ignore errors when importing?

MySQL: ignore errors when importing?
mysql -u root -p -f -D connection < dump.sql https://stackoverflow.com/questions/11263018/mysql-ignore-errors-when-importing

SET FOREIGN_KEY_CHECKS = ON;
PhpMyAdmin Import Error-MySQL server has gone away

https://stackoverflow.com/questions/33698579/phpmyadmin-import-error-mysql-server-has-gone-away-unrecognized-keyword

Change to:

post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

In my.ini (MySQL File – Under mysqld)

Find:

max_allowed_packet = 1M
Change to:

max_allowed_packet = 500M

########################

Fatal error: Maximum execution time of 300 seconds exceeded

https://stackoverflow.com/questions/7680572/fatal-error-maximum-execution-time-of-300-seconds-exceeded

…\phpmyadmin3.4.10.1\libraries (change path according to your installation)

open config.default.php and change value for $cfg[‘ExecTimeLimit’] to 0:

if not found add:
$cfg[‘ExecTimeLimit’] = 0;

Sharepoint 365 info

Display any SharePoint data in a tiled dashboard | Tiles Web Part

CSempék > A Fő kép kijelző használata

https://support.microsoft.com/hu-hu/office/a-f%C5%91-k%C3%A9p-kijelz%C5%91-haszn%C3%A1lata-d57f449b-19a0-4b0d-8ce3-be5866430645

Üres Fő kép kijelző elhelyezése egy weblapon
Az adott lapon helyezze az egeret a meglévő kijelző alá vagy felé. Ekkor megjelenik egy bekarikázott + jel egy vonallal, amely így néz ki:
Válassza a +, majd a Fő kép kijelzőt.
########

Create a Page / Oldal létrehozás:
https://support.microsoft.com/en-us/office/create-and-use-modern-pages-on-a-sharepoint-site-b3d46deb-27a6-4b1e-87b8-df851e503dec