Tag: skpaul

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

Set XSRF(/CSRF) Token Globally or TokenMismatchException in Laravel 5.* (for AJAX)

LaravelLaravel 5CSRF Tokenskpaulskpaul82TokenMismatchException

Very easy (পানির লাহান) 🙂 STEP – 1: First we have to ad a meta tag (name=”_token”) in header <meta name=”_token” content=”{{ csrf_token() }}” /> STEP – 2: Then add below jQuery snippet before the </body> tag. Basically here we setting up the csrf token globally for ajax request. And after this we don’t need to ….  Read More

skpaul.me

Update – Please visit skpaul.me for latest posts and updates

DatabaseJavaScript(JS)JoomlaMagentoMySQLosCommercePHPPositive Bangladesh (পজেটিভ বাংলাদেশ)RegexUncategorizedWordpressকবিতাsk_paulskpaulskpaul.meskpaul82

Hi, Greetings!! Thanks for visiting my blog, I have open a blog (http://skpaul.me). So from now, you will get all latest posts and updates on http://skpaul.me.   Please take a look on my personal blog (http://skpaul.me), and let me know your comments and review.   Thanks in Advance sk paul http://skpaul.me

How to define Global Variable or Constant in Laravel

DevelopmentLaravelLaravel 5PHPGlobal ConstantGlobal VariableLaravel 5.2phpskpaulskpaul82

We often need to define global variables/constants for our application, like Status, Conditions, Countries (we can put all countries in table as it will be along array/object), also weekdays, weekends and e.t.c. vary on projects. Status (Active, Inactive) and Conditions (Ok, Good, Better, Best) or Grade (F, C, D, A, A-, A+), so like these ….  Read More

Multiple sessions or Different logins at the same time on firefox

DevelopmentFirefoxTesttingTools I useDifferent loginsMulti sessionsskpaulskpaul82Testing

Multifox – is an awesome and very useful plugin for me. If you need to login multiple accounts at the same time, what did we do naturally, we used multiple browsers. But with this plugin on Firefox, you can access as many accounts as you want. Mozilla Addons link -> click here But if your browser’s version ….  Read More