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 | |
| ### Set Language | |
| exec 5> >(logger -t "$0") | |
| BASH_XTRACEFD="5" | |
| PS4='$LINENO: ' | |
| set -x | |
| TEXTDOMAIN=virtualhost | |
| ## kudos to https://github.com/RoverWire/virtualhost/blob/master/virtualhost-nginx.sh for the neat headstart | |
| ### Set default parameters | |
| ### Version 1.5 |
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
| """ | |
| Code adapted from and inspired by http://blog.ranman.org/cleaning-up-aws-with-boto3/. | |
| """ | |
| import os | |
| import re | |
| from datetime import datetime, timedelta | |
| import boto3 |
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
| */2 * * * * sh /root/network_checker.sh |
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
| [Unit] | |
| Description=Apache Tomcat Web Application Container | |
| After=syslog.target network.target | |
| [Service] | |
| Type=forking | |
| Environment=JAVA_HOME=/usr/lib/jvm/jre | |
| Environment=CATALINA_PID=/opt/tomcat85/temp/tomcat.pid | |
| Environment=CATALINA_HOME=/opt/tomcat85 |
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 | |
| ################################################################################ | |
| # | |
| # Bake is a shell script for running CakePHP bake script | |
| # | |
| # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
| # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | |
| # | |
| # Licensed under The MIT License | |
| # For full copyright and license information, please see the LICENSE.txt |
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
| scrum@scrum.mycodehost.com [~/www/app/Config]# mysql -u scrum_u1 -p | |
| Enter password: | |
| Welcome to the MariaDB monitor. Commands end with ; or \g. | |
| Your MariaDB connection id is 8522 | |
| Server version: 10.0.24-MariaDB MariaDB Server | |
| Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. | |
| Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. |
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
| <?php | |
| /********************************************************************************* | |
| * Orangescrum Community Edition is a web based Project Management software developed by | |
| * Orangescrum. Copyright (C) 2013-2014 | |
| * | |
| * This program is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU General Public License version 3 as published by the | |
| * Free Software Foundation with the addition of the following permission added | |
| * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK | |
| * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY |