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
DB_NAME= | |
DB_USER= | |
DB_PASSWORD= | |
DB_HOST= | |
DISPLAY_ERRORS= | |
AUTH_KEY='' | |
SECURE_AUTH_KEY='' | |
LOGGED_IN_KEY='' | |
NONCE_KEY='' |
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
find / -xdev -type f -exec grep -rlPo '(?<=href=")[^"]*/index.html' -l {} \; -exec sed -i 's/index.html//g' {} \; |
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
yum install php70 php70-devel php70-json php70-mbstring php70-mcrypt php70-mysqlnd php70-pdo php70-opcache php70-pecl-uuid php70-pecl-yaml | |
wget http://pear.php.net/go-pear.phar | |
php go-pear.phar | |
sed -i "$ s|\-n||g" /usr/bin/pecl |
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 | |
# | |
# Copyright (c) 2014-2017 Praveen Saxena <> | |
# License: BSD-3-Clause | |
# | |
# To get: | |
# rm -rf apache-php7-environment && wget -O apache-php7-environment https://gist.githubusercontent.com/saxenap/571c05380c62c865c96ef32c578eb573/raw && chmod 777 apache-php7-environment && ./apache-php7-environment | |
sudo ln -sf /usr/share/zoneinfo/EST /etc/localtime | |
echo " Timezone modified to EST." |
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 GMAT essays should be written in standard written English. That is, you should not use spoken English, or the casual English you use when writing an email to a friend, but the English used for writing papers and assignments, a resume, formal letters, etc. | |
Specifically, this means the following: | |
A. Do not use contractions: | |
Incorrect: John doesn't smoke. | |
Correct: John does not smoke. | |
B. Do not use abbreviations: | |
Incorrect: Intl. | |
Correct: International |
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 | |
# | |
# Copyright (c) 2014-2017 Praveen Saxena <> | |
# License: BSD-3-Clause | |
# | |
# To get: | |
# rm -rf xdebug-webgrind && wget -O xdebug-webgrind https://gist.githubusercontent.com/saxenap/a2d96a30629f83d60ead1dcabec9fc35/raw && chmod 777 xdebug-webgrind && ./xdebug-webgrind | |
pecl install xdebug | |
echo "zend_extension=/usr/lib64/php/modules/xdebug.so" > /etc/php.d/xdebug.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
#!/bin/bash | |
# | |
# Copyright (c) 2014-2017 Praveen Saxena <> | |
# License: BSD-3-Clause | |
# | |
# To get: | |
# rm -rf phalcon && wget -O phalcon https://gist.githubusercontent.com/saxenap/76c805f6adc5ba8995c374e84ff03743/raw && chmod 777 phalcon && ./phalcon | |
git clone git://github.com/phalcon/cphalcon.git |
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 | |
# | |
# Copyright (c) 2014-2017 Praveen Saxena <> | |
# License: BSD-3-Clause | |
# | |
# To get: | |
# rm -rf mysql_secure_installation && wget -O mysql_secure_installation https://gist.githubusercontent.com/saxenap/b84d67f63a5fc315c5895648438fd2d0/raw && chmod 777 mysql_secure_installation && ./mysql_secure_installation | |
# | |
# Automate mysql secure installation for Red Hat Enterprise Linux (RHEL) compatible distributions | |
# |
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
# Login to your Amazon EC2 Instance via SSH. | |
# If you are logged in as root, you don't need to use the sudo command in the commands below. | |
# Update the current packages installed on the system | |
sudo yum upgrade | |
# Install the required packages before installing Apache / MySQL and PHP | |
sudo yum install gcc gcc-c++ autoconf automake pcre-devel \ | |
libxml2-devel bzip2-devel libcurl-devel freetype-devel \ | |
openldap-clients cyrus-sasl-devel openldap-devel \ |
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
# rm -rf datetime.conf && wget -O datetime.conf https://gist.githubusercontent.com/saxenap/cecdcc6d4b0755d41784a16e5ecaff40/raw | |
php_value date.timezone "America/Indiana/Indianapolis" |