Capturing screenshots on macOS is very slow

Need to do both things below to fix it.

Disable Finder Extensions
1. Go into System Preferences > Extensions
2. In the left sidebar, choose “Finder”
3 Disable everything there include Google Drive Extension

Disable Show Floating Thumbnail
1. Press CMD + SHIFT + 5
2. Click Options
3. Uncheck Show Floating Thumbnail

Change severity list in Mantis

Add the below line into config_inc.php to change the options in the severity list.
$g_severity_enum_string = ’10:feature,30:text,40:tweak,50:minor,60:major,70:crash,80:block’;

Or remove the severity field completely by adding the below array into config_inc.php.
$g_bug_report_page_fields = array(
‘additional_info’,
‘attachments’,
‘category_id’,
‘due_date’,
‘handler’,
‘os’,
‘os_version’,
‘platform’,
‘priority’,
‘product_build’,
‘product_version’,
‘reproducibility’,
// ‘severity’,
‘steps_to_reproduce’,
‘tags’,
‘target_version’,
‘view_state’,
);

Refer to the config_defaults_inc.php file for the details.

Reference:
https://mantisbt.org/forums/viewtopic.php?t=1193

Copy MySQL row with new id

CREATE TEMPORARY TABLE tmp SELECT * from my_table WHERE …;
ALTER TABLE tmp drop pk_id; # drop autoincrement field
INSERT INTO my_table SELECT 0,tmp.* FROM tmp;
DROP TEMPORARY TABLE tmp;

Reference: https://stackoverflow.com/questions/11331573/copy-row-but-with-new-id/11331672#11331672

[proxy_fcgi:error] [pid 3659] (70007)The timeout specified has expired: [client :39524] AH01075: Error dispatching request to : (polling)

Problem:
[proxy_fcgi:error] [pid 3659] (70007)The timeout specified has expired: [client :39524] AH01075: Error dispatching request to : (polling)

Solution:
vim /etc/httpd/conf/httpd.conf
Timeout 600

systemctl reload httpd

Reference: https://stackoverflow.com/questions/46594731/php-apache-error-dispatching-request