First, create PhpStorm's configuration folder
mkdir -p ~/Library/Preferences/WebIde80/Then copy current configuration
cp /Applications/PhpStorm.app/Contents/bin/idea.properties ~/Library/Preferences/WebIde80/| location ~ /.well-known { | |
| allow all; | |
| root /var/www/letsencrypt; | |
| } | |
| ssl on; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
| ssl_prefer_server_ciphers on; | |
| ssl_dhparam /etc/ssl/certs/dhparam.pem; |
First, create PhpStorm's configuration folder
mkdir -p ~/Library/Preferences/WebIde80/Then copy current configuration
cp /Applications/PhpStorm.app/Contents/bin/idea.properties ~/Library/Preferences/WebIde80/First, profile your code with cProfile:
$ python3 -m cProfile -o profile_output search.pyBut output of that is not very helpful. To make sense of the cProfiler's output install CProfileV:
# install cprofilev
$ pip3 install cprofilevOpen your package folder (Preferences > Browse packages) and create a file named Python (VirtualEnvWrapper).sublime-build. That will be our build system.
WARNING: Make sure your sublime project name is the same as virtualenvwrapper project name!
Now copy-paste the following JSON:
{
"shell_cmd": "~/.virtualenvs/$project_base_name/bin/python3 -u \"$file\"",
"path": "$project_path",
"file_regex": "^[ ]File "(...?)", line ([0-9]*)",
| // | |
| // CustomRootCAAPIClient.h | |
| // | |
| // Created by Roman Tomjak on 19/12/14. | |
| // Copyright (c) 2014 Roman Tomjak. All rights reserved. | |
| // | |
| #import <AFHTTPSessionManager.h> | |
| @interface CustomRootCAAPIClient : AFHTTPSessionManager |