I hereby claim:
- I am akajedi on github.
- I am akajedi (https://keybase.io/akajedi) on keybase.
- I have a public key ASCBz7ub9P59qiqeEj9Qkxq8dhBL1emkV3hTNM4yPf-Yzwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # -*- encoding: utf-8 -*- | |
| # requires a recent enough python with idna support in socket | |
| # pyopenssl, cryptography and idna | |
| from OpenSSL import SSL | |
| from cryptography import x509 | |
| from cryptography.x509.oid import NameOID | |
| import idna | |
| from socket import socket | 
| # 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 | |
| sudo -u www-data composer require magento/product-community-edition 2.2.5 --no-update | |
| sudo -u www-data composer update | |
| rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* | |
| sudo -u www-data bin/magento cache:clean | |
| sudo -u www-data bin/magento cache:flush | |
| sudo -u www-data bin/magento setup:upgrade | |
| sudo -u www-data bin/magento setup:di:compile | |
| sudo -u www-data bin/magento indexer:reindex | 
| #!/bin/sh | |
| # Check if an IP address is listed on one of the following blacklists | |
| # The format is chosen to make it easy to add or delete | |
| # The shell will strip multiple whitespace | |
| BLISTS=" | |
| bl.score.senderscore.com | |
| bl.mailspike.net | |
| bl.spameatingmonkey.net | |
| b.barracudacentral.org | 
| !!! | |
| . | |
| .. | |
| **** | |
| ***** | |
| 0 | |
| 0000 | |
| 0000000 | |
| 0002593w | |
| 0;color | 
| Lines with numbers "n)" tested by me and corrected if required. | |
| Sign "!" means can't confirm, looking for details. | |
| The restones was not confirmed yet. | |
| Command, where first key will be Esc: | |
| ------------------------------------- | |
| 1) Quick change directory: Esc + c | |
| 2) Quick change directory history: Esc + c and then Esc + h | |
| 3) Quick change directory previous entry: Esc + c and then Esc + p |