Skip to content

Instantly share code, notes, and snippets.

View ansargondal's full-sized avatar

Ansar Gondal ansargondal

  • DevDimensions
  • Lahore, Pakistan
View GitHub Profile
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
download the second link (x64: vc_redist.x64.exe)
- Create a user with
- Install mail package composer require guzzlehttp/guzzle
- Install AWS SDK composer require aws/aws-sdk-php
- Run the following command to get details about virtualhosts
apachectl -S
- Check the logs files
cat /var/log/apache2/error.log
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:
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
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();
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
-- 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 */;
- 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>

How To See PHP Information?

<?php

 echo phpinfo();

?>