Find a mirror geographically close to you and use it like this:
pip install -i https://[mirror-url]/simple packageFor instance, using a Beijing mirror:
pip install -i https://pypi.douban.com/simple package| @echo off | |
| SET PhpStormPath=C:\Program Files\JetBrains\PhpStorm 2020.3.3\bin\phpstorm64.exe | |
| echo Adding file entries | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_SZ /v "" /d "Open in PhpStorm" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PhpStormPath%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm\command" /t REG_SZ /v "" /d "%PhpStormPath% \"%%1\"" /f | |
| echo Adding within a folder entries |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> | |
| <policyconfig> | |
| <vendor>Apache Friends</vendor> | |
| <vendor_url>https://www.apachefriends.org/index.html</vendor_url> | |
| <icon_name>xampp</icon_name> | |
| <action id="com.ubuntu.pkexec.xampp.policy"> | |
| <description>Run XAMPP Control Panel</description> | |
| <message>Authentication is required to run the XAMP Control Panel</message> |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
Recommendations of unit types per media type:
| Media | Recommended | Occasional use | Infrequent use | Not recommended |
|---|---|---|---|---|
| Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
| em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |