- Change
__openerp__.pyaddon name field - Change
README.rstfile
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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
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
| server { | |
| server_name my.lychee.site; | |
| listen 80; | |
| root /var/www/my.lychee.site/htdocs; | |
| access_log /var/www/my.lychee.site/logs/access.log; | |
| error_log /var/www/my.lychee.site/logs/error.log; | |
| index index.php index.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
| # The command below creates a tgz file with all emails for [email protected] in .eml format: | |
| # execute as root | |
| /opt/zimbra/bin/zmmailbox -z -m [email protected] getRestURL "//?fmt=tgz" > /tmp/account.tgz | |
| # You can do the same via a REST URL: | |
| wget http://ZIMBRA.SERVER/home/[email protected]/?fmt=tgz | |
| # to restore email: | |
| /opt/zimbra/bin/zmmailbox -z -m [email protected] postRestURL "//?fmt=tgz&resolve=reset" /tmp/account.tgz |
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
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |
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
| @echo off | |
| :: color 17 | |
| :: title | |
| @title git batch | |
| :: check | |
| :check | |
| cls | |
| echo. =-=-=-=-=git status=-=-=-=-= |
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/bash | |
| # The following script will export all accounts to an import script. | |
| # this script should be run as zimbra user | |
| # target for ZCS 8, single server deployment | |
| # last update 2014-04-04 | |
| # [email protected] | |
| # original at http://www.3open.org/d/zimbra/export_accounts | |
| # customize these to your needs |
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
| ################################## | |
| # WORDPRESS NGINX CONFIGURATIONS | |
| ################################## | |
| # /etc/nginx/wordpress.conf | |
| # | |
| # Contains a common configuration for use by nginx on a WordPress | |
| # installation. This file should be included in any WordPress site | |
| # nginx virtual host config located in sites-available with the following line: | |
| # | |
| # include /etc/nginx/wordpress.config; |
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/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro | |
| # | |
| WP_OWNER=changeme # <-- wordpress owner | |
| WP_GROUP=changeme # <-- wordpress group | |
| WP_ROOT=/home/changeme # <-- wordpress root directory |
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
| # as zimbra user | |
| $ zmprov -l gaa |grep -v admin-domain.com >/tmp/accounts.zmp | |
| $ zmprov -l gad |grep -v admin-domain.com >/tmp/domains.zmp |