Alex

Alex

Experienced Web Developer with a demonstrated history of working in the information technology and services industry.

Skilled in User Experience, Magento, Joomla, WordPress and IT Services.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.

You can even run Python3 alongside a concurrent Python 2.7 installation without affecting the version 2.7 installation.

How we can do it?

1. Download the most recent package from the Python website and install latest package on your Mac.

2. Run terminaland write a command:

$ python --version
Python 2.7.6

$ python3 --version
Python 3.9.6

$ alias python=python3
$ python --version Python 3.9.6 #here your version latest to Python

 In regards to deleting the symbolic links Python2.7, I found this to be useful.

find /usr/local/bin -lname '../../../Library/Frameworks/Python.framework/Versions/2.7/*' -delete

 Now job done, try write in terminal $ python --version and you should be look Python 3.9.x

Same situation with pip, if you write in terminal $pip list and look $bash pip: command not found

Open the terminal and write

$ alias pip=pip3

$ pip --version
pip 21.1.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)

 Jobe done and now you can write pip or pip3 - it's same like simlink.

Remove CleanMyMac X HealthMonitor.app

Rm -rf ~/Library/Application Support/CleanMyMac Setapp/CleanMyMac X HealthMonitor.app

Add a read-only permission to CleanMyMac X HealthMonitor.app

Mkdir ~/Library/Application Support/CleanMyMac Setapp/CleanMyMac X HealthMonitor.app
Chmod 444 ~/Library/Application Support/CleanMyMac Setapp/CleanMyMac X HealthMonitor.app
Friday, 22 November 2019 08:50

How to change your version of your Mac OS?

  • Open Terminal and enter
    sudo nano /System/Library/CoreServices/SystemVersion.plist

    and enter your admin password.
  • Change the two strings "10.11" to "10.12". Leave the minor version number (e.g. 0, 1, 2...) like it is. Hit ctrlO and Enter to write the file to disk.
  • Hit ctrlX to quit nano

I have Gutenberg plugin installed in WordPress and am trying to remove the CSS:

<link rel='stylesheet' id='wp-block-library-css'  href='http://site.loc/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='wp-components-css'  href='http://site.loc/wp-includes/css/dist/components/style.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='wc-block-style-css'  href='http://site.loc/wp-content/plugins/woo-gutenberg-products-block/build/style.css' type='text/css' media='all' />

I am use this code to to remove default style.

function my_deregister_styles_and_scripts() {
    wp_dequeue_style('wp-block-library');
    wp_dequeue_style('wc-block-style');
}
add_action( 'wp_print_styles', 'my_deregister_styles_and_scripts', 100 );

 

Tired of the message “Hola! Please activate your copy of Visual Composer to receive automatic updates.”? Add this code to you child_theme/function.php

setcookie('vchideactivationmsg', '1', strtotime('+3 years'), '/');
setcookie('vchideactivationmsg_vc11', (defined('WPB_VC_VERSION') ? WPB_VC_VERSION : '1'), strtotime('+3 years'), '/');

Looks super! keep it up