Disable processes Adobe Desktop Service, CC Library, CCXProcess…

sudo -H killall ACCFinderSync “Core Sync” AdobeCRDaemon “Adobe Creative” AdobeIPCBroker node “Adobe Desktop Service” “Adobe Crash Reporter” Got it into /Library/LaunchAgents and /Library/LaunchDaemons and deleted all Adobe files. sudo -H rm -rf \”/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist\” \”/Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist\” \”/Library/LaunchDaemons/com.adobe.*.plist\”

Copy / Move Files and Directories in Linux with “cp” and “mv” commands

Copy Files and Directories Thecpcommand will copy files and directories or copy multiple sources to a destination directory. The basic syntax of the cp command is: # cp [options] source destination If you have multiple files/directories to be coped to a destination directory, use the below command syntax. # cp [options] source1 source2 […] destination_directory […]

Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable

Edit file /usr/share/phpmyadmin/libraries/sql.lib.php using this command: sudo nano +613 /usr/share/phpmyadmin/libraries/sql.lib.php On line 613 the count function always evaluates to true since there is no closing parenthesis after $analyzed_sql_results[‘select_expr’]. Making the below replacements resolves this, then you will need to delete the last closing parenthesis on line 614, as it’s now an extra parenthesis. Replace: ((empty($analyzed_sql_results[‘select_expr’])) || (count($analyzed_sql_results[‘select_expr’] == […]

ERROR 1067 (42000): Invalid default value for ‘created_at’

The problem is because of sql_modes. Please check your current sql_modes by command: show variables like ‘sql_mode’ ; And remove the sql_mode “NO_ZERO_IN_DATE,NO_ZERO_DATE” to make it work. This is the default sql_mode in mysql new versions. You can set sql_mode globally as root by command: set global sql_mode = ‘ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION’;

mysqli_real_connect(): (HY000/1045): Access denied for user ‘phpmyadmin’@’localhost’ (using password: NO)

mysqli_real_connect(): (HY000/1045): Access denied for user ‘phpmyadmin’@’localhost’ (using password: NO) In terminal, log into MySQL as root. You may have created a root password when you installed MySQL for the first time or the password could be blank, in which case you can just press ENTER when prompted for a password. sudo mysql -p -u […]

Find the version of an installed npm package

npm list for local packages or npm list -g for globally installed packages. You can find the version of a specific package by passing its name as an argument. For example, npm list grunt will result in: projectName@projectVersion /path/to/project/folder └── grunt@0.4.1 Alternatively, you can just run npm list without passing a package name as an argument to see the versions of all […]