| Description | Command |
|---|---|
| Start a new session with session name | screen -S <session_name> |
| List running sessions / screens | screen -ls |
| Attach to a running session | screen -x |
| Attach to a running session with name | screen -r |
๐
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
| import winsound | |
| from subprocess import call, DEVNULL | |
| print('Begin Ping Alert') | |
| while call(["ping", "google.com"], stdout=DEVNULL, stderr=DEVNULL) != 0: | |
| print('No net yet :(') | |
| print('Web Back!!!') |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
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
| # ionCube Loader (for PHP 5.6) | |
| ADD ./ioncube/ioncube_loader_lin_5.6.so /usr/lib/php/20131226 | |
| RUN echo "zend_extension=/usr/lib/php/20131226/ioncube_loader_lin_5.6.so" > /etc/php/5.6/fpm/php.ini |
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/env bash | |
| # What it does: | |
| # - Creates a local Shopware installation using the Symfony Flex template for local development of client projects | |
| # - Prerequisites: ddev installed on your machine, see https://ddev.com/get-started/ | |
| # - See also: https://docs.ddev.com/en/stable/users/quickstart/#shopware | |
| # | |
| # How to use: | |
| # - create a project folder | |
| # - copy this file into the project folder |
These are my personal install scripts for just downloading and executing all shell scripts on new computers.
Like downloading in a exclusive folder for these scripts, then chmod +x * && bash *