http://nginx.org/ru/docs/http/ngx_http_secure_link_module.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # 1. Install openvpn | |
| # 2. Download and extract all vpn config files (.ovpn files, .key and .crt) inside the /etc/openvpn/ folder | |
| # 3. Create a new .pia file inside the /root/ directory that stores the username and password for the vpn | |
| # 4. Run this script in crontab under root user. (Ie, use sudo crontab -e) | |
| import os | |
| import random | |
| openvpn_config_dir = '/etc/openvpn/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # this forces Arena into full screen mode on startup, set back to 3 to reset | |
| # note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
| # and you will need to run these commands again | |
| defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
| # replace 1792 and 1120 with your full screen resolution, or any scaled resolution your display supports | |
| # to find the scaled resolutions, go to System Preferences --> Display | |
| defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer 1792 | |
| defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer 1120 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <module type="PYTHON_MODULE" version="4"> | |
| <component name="NewModuleRootManager"> | |
| <content url="file://$MODULE_DIR$" /> | |
| <orderEntry type="inheritedJdk" /> | |
| <orderEntry type="sourceFolder" forTests="false" /> | |
| </component> | |
| <component name="TestRunnerService"> | |
| <option name="PROJECT_TEST_RUNNER" value="Unittests" /> | |
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <module type="PYTHON_MODULE" version="4"> | |
| <component name="NewModuleRootManager"> | |
| <content url="file://$MODULE_DIR$" /> | |
| <orderEntry type="jdk" jdkName="Python 3.5.2 virtualenv at ~/VirtTest_ChekIO" jdkType="Python SDK" /> | |
| <orderEntry type="sourceFolder" forTests="false" /> | |
| </component> | |
| <component name="TestRunnerService"> | |
| <option name="PROJECT_TEST_RUNNER" value="Unittests" /> | |
| </component> |