Some warnings are really annoyed. So to ignore them, just create a file ‘~/.config/flake8
‘ with settings, for example:
[flake8] ignore = D101,D102,D105 max-line-length = 100 max-complexity = 10 |
That’s it!
Some warnings are really annoyed. So to ignore them, just create a file ‘~/.config/flake8
‘ with settings, for example:
[flake8] ignore = D101,D102,D105 max-line-length = 100 max-complexity = 10 |
That’s it!
Go to chrome://net-internals and select “HSTS” from the drop down. Enter the domain name under “Delete domain” and press the Delete button.
Now clear your browser cache:
Settings > Show advanced settings… > Privacy > Clear browsing data…
That’s it!
When you launch VMware Fusion, it fails with this error:
This issue occurs if:
VMware Fusion displays a File Not Found error message, as it is unable to find the virtual machine registered in the Virtual Machine Library.
To resolve the issue, remove the missing virtual machine entry from the Virtual Machine Library.
To remove the missing virtual machine entry from the Virtual Machine Library:
File Not Found
error.Edit the ‘site-packages/usercustomize.py
‘ and add this code:
import sys sys.dont_write_bytecode = True |
to make this apply to all your scripts.
For me this directory was
~/.virtualenvs/{my-envs}/lib/python2.7/site-packages |
but I had to create ‘usercustomize.py
‘ because it didn’t exist.
I use Vim most of my time for coding. I like to have mouse support (scrolling and clicking) inside Vim in OS X Terminal, just like when I use it inside other applications.
To enable these features, you need MouseTerm. Just make sure to install SIMBL first!
If you get the error when launching an installer “{installer-name} is damaged and can’t be opened. You should eject the disk image.” like below.
You can workaround this issue by temporarily changing the System Preferences as follows:
Now try the installer again.
After the installation you can set it back to Mac App Store and Identified Developers.
To enable the mouse for all modes add the following to your ~/.vimrc
file:
if has("mouse") set mouse=a endif |
That’s it!