Tag: skpaul82

Validate BAD Emails in PHP, Laravel

DebuggingDevelopmentLaravelLaravel 5PHPTesttingUncategorizedbad_emailsEmailLaravelphpskpaulskpaul82validate_bad_emailvalidation

Hey! what’s up? I am working on a SAAS application for my current company (Prithibi Consulting Services) and facing the issue of sending emails, actually bad emails, those comply with the RFC. So that means basic email validation is not working from the Laravel side and we are processing emails to ‘example@gmail’ like email addresses ….  Read More

Create and access multiple ports for Apache on Amazon EC2(aka AWSEC2) or DigitalOcean

DevOpsLAMPLinuxServerUbuntuAmazonApacheAWSAWSEC2Cloud ServerDigitalOceanEC2multiple appsmultiple domainmultiple portssk_paulskpaulskpaul82virtual host

We can do this by using the virtual host. There is two part to complete to open and configure the ports. I used port 8080 but you can use any port that is not using for any service.   Part 1: Add/Update Virtual Host Navigate to the sites-available directory for the configuration file cd /etc/apache2/sites-available/ ….  Read More

Open/Start Sublime Text in (windows) command line shortcode with a specific project

DevelopmentEditorcommand lineshortcodeskpaul.meskpaul82Sublime TextSublime Text3windows

Open your Sublime Text2/3 by shortcode “subl .” on command prompt with a specific project.   We often need to open projects in between another project for some updates/support. As I am using Sublime Text 3 for coding, so I open/drag the folder to the editor project panel. But, It is risky and time consuming ….  Read More