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
| #!/bin/sh | |
| # Usage: sh add_user.sh "username" "groupname" | |
| # ref: https://openvpn.net/vpn-server-resources/managing-user-and-group-properties-from-command-line/ | |
| # create user | |
| sudo ./sacli --user $1 --key "type" --value "user_connect" UserPropPut | |
| # add created user to specified group | |
| sudo ./sacli --user $1 --key "conn_group" --value $2 UserPropPut |
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
| Here is my recipe how to speed up WebStorm: | |
| Go to Preferences and do next: | |
| Appearance & Behaviour > System Settings > Updates: disable auto update | |
| Appearance & Behaviour > System Settings > Using Statistics: Uncheck allowing sending data | |
| Editor > Live Templates: disable all, leave only what you are really use | |
| Editor > Emmet: disable all emmets | |
| Editor > Intentions: I leave only: CSS, Declaration, JavaScript and Language Injection | |
| Plugins: leave only next (* - can be also disabled in case don't need them): | |
| CoffeeScript * |

