<?php
echo phpinfo();
?>
This file contains 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
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads | |
download the second link (x64: vc_redist.x64.exe) |
This file contains 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
- Create a user with | |
- Install mail package composer require guzzlehttp/guzzle | |
- Install AWS SDK composer require aws/aws-sdk-php |
This file contains 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
- Run the following command to get details about virtualhosts | |
apachectl -S | |
- Check the logs files | |
cat /var/log/apache2/error.log | |
This file contains 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
APPLICATION LEVEL CONFIGS: | |
- Edit app/Providers/AppServiceProvider.php | |
- Add the following code in the boot method | |
- URL::forceScheme('https'); | |
- It will make sure to server all the content, links, form actions over https instead of http. | |
SERVER LEVEL CONFIGS: | |
This file contains 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
SES Uses DKIM(Domain Key Identitiy Management) process. Which works based on the public private key pair. | |
SES adds public key to the header of the email as well as body. They can be verified by receving email server. | |
All reply sent to SES can be verified by that public and private key matching. | |
Verify the DNS Records | |
nslookup -type=txt _amazonses.conservationdistrict.us. | |
- Repeat the same process form DKIM |
This file contains 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
if (permitteeEditModal.find(".datepicker").length > 0) { | |
permitteeEditModal.find(".datepicker").datepicker({}).position({ | |
my: "left top", | |
at: "left bottom", | |
of: permitteeEditModal.find(".datepicker"), | |
}).hide(); | |
permitteeEditModal.find(".datepicker").show(); |
This file contains 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
Did this on my linux box and it worked | |
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 | |
sudo /sbin/mkswap /var/swap.1 | |
sudo /sbin/swapon /var/swap.1 | |
This file contains 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
-- MySQL dump 10.13 Distrib 5.7.26, for Linux (x86_64) | |
-- | |
-- Host: localhost Database: owship | |
-- ------------------------------------------------------ | |
-- Server version 5.7.26-0ubuntu0.18.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
This file contains 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
- Let's create an example site named [devdimensions.test] | |
- sudo a2enmod rewrite | |
- Now all the browsers are more secure and they don't allow .com domain to be served from localhost | |
- That's why we are using .test | |
- sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/devdimensions.conf | |
- sudo vi /etc/apache2/sites-available/devdimensions.conf | |
- Add the following Lines | |
<VirtualHost *:80> |
NewerOlder