Skip to content

Instantly share code, notes, and snippets.

View scizers's full-sized avatar

Ishaan Sharma scizers

View GitHub Profile
@scizers
scizers / bash-smtp-auth-email
Created April 28, 2016 13:28 — forked from fbatschi/bash-smtp-auth-email
How to send an email from bash via SMTP Auth
echo "PUT YOUR MAIL BODY HERE" | mailx -s "SUBJECT" -S smtp=smtp://yoursmtpserver.com -S smtp-auth=login -S smtp-auth-user=YOUR_USERNAME -S smtp-auth-password=YOUR_PASSWORD -S from="Sender Name <[email protected]>" [email protected]
@scizers
scizers / nginx.default.conf
Last active August 29, 2015 14:05 — forked from sumardi/nginx.default.conf
Install Nignix for joomla
# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php-fpm
# Install PHP extensions
sudo yum install -y php-devel php-mysql php-pdo \
php-pear php-mbstring php-cli php-odbc \