Magento 2 Modes , Set Mode in Magento 2
Display the current mode in Magento 2 using CLI/Command Prompt bin/magento deploy:mode:show This will result in something like below Current application mode: {mode}. Set/Change mode in Magento 2 using CLI/Command Prompt bin/magento deploy:mode:set {mode} {mode} can be either default, developer, or production. If changing to developer mode, out put will be like below
PHP Get path in an Laravel application
Laravel framework provides several useful helper methods to get various paths required to access some commonly used directories/folders. app_path() – Laravel app_path helper base_path() – Laravel helper config_path() – Laravel helper database_path() – Laravel helper mix() – Laravel helper public_path() – Laravel helper resource_path() – Laravel helper storage_path() – Laravel helper How to get app […]
Enable GZIP compression for Magento 2 Website on Apache/Linux to Make it Load Faster
What is GZIP ? Gzip is a data compression algorithm capable of compressing and decompressing files quickly. How can enabling GZIP can make a website load faster? Websites are getting larger and carry a lot of content that can be compressed and save bandwidth during transmission over the networks. Compressing large text format files like […]
Magento 2 add a user via command line cli
Magento does not allow resetting password of an existing user using the command prompt CLI. But it allows creating new admin users via CLI. Login to the command line and change directory to your magento 2 root directory. e.g. cd /var/www/magento2 Enter the below command and press enter. php bin/magento admin:user:create The CLI will prompt […]
How to promote your eCommerce business in 2020
As online platforms and publishers look to grab bigger shares of digital commerce budgets, the number and variety of paid and organic formats available to marketers to promote their e-businesses have taken off in the last few years, including shoppable media options. Below is a list of current options. Product Shopping Ads These are feed-based […]
How to Extract a .gz File or directory in Linux using command prompt / terminal / shell / bash
Extract GZ archive file in Linux Terminal To extract the GZ archive to the current directory, use below command. $ gunzip archive.gz .gz files are compressed with gzip compression algorithm. To extract .gz files we use gunzip command is used in Linux. if the operation is successful, nothing is shown and linux command prompt is […]
Laravel Framework Cheat Sheet
Get laravel app base urbottom: 0px !important;border-top-width: 0px !important; $app->make(‘url’)->to(‘/’); $app[‘url’]->to(‘/’); App::make(‘url’)->to(‘/’);
Laravel Scheduler – Cron Tutorial
Task scheduling is an important part of many web applications. Here are several examples: Check if new emails are received in a specified email accounts inbox, read them and take actions based on the information ( in every minute) Perform batch jobs – etc dispatch order status change emails in an ecommerce system. (once a […]
PHP7 Vulnerability that allows hackers to hijack web servers
The PHP programming language that powers most of the Internet based appications. It is used in the popular content management systems like WordPress, Joomla and Drupal, so it’s a big issue whenever someone identify a security vulnerability within it. A few days a ago, Emil ‘Neex’ Lerner, a Russian security expert, published a remote-code execution […]
All About Site Kit by Google WordPress Plugin
Site Kit by Google is a plugin that brings all the Google related services for any WordPress website under a single dashboard. It is so well made that it is extremely easy to install, configure and use. It allows following Google Products and Services to be accessed from within your WordPress dashboard in a very intutive […]
How to check the Laravel version using CLI / command prompt and files on Windows or Linux
[vc_row][vc_column][vc_column_text]There are two ways to find the version of your Laravel application . You can either find it by running a command via CLI/ Command Prompt or you can check Laravel version in source files of your Laravel installation.[/vc_column_text][vc_tabs][vc_tab title=”Using Command” tab_id=”1572406098-1-97″][vc_column_text title=”Using command line CLI / Command prompt to find Laravel version” css=”.vc_custom_1572400844663{margin-bottom: 0px […]
How to Include / Add Custom JavaScript into your WordPress Site
You might need to insert custom Javascript code to WordPress header of Footer when developing your own plugin. There are couple of ways to do this.
How to set a static front page for my WordPress blog / website?
Step 1 – Create or select a WordPress Page First step is to create the new page. if you want to select an existing page, thats fine too. To create a new page, goto WordPress admin area -> Pages -> Add New. Once you have created and saved the new page, you are ready to […]
Redirect from HTTPS to HTTP – Force HTTP
There are some scenarios when you want to redirect a website address to be opened through HTTP instead of HTTPS.To do that, you can add the following htaccess directives in your website’s .htaccess file:
Choosing a Good Color Scheme For Your Website
“I believe that color affects people’s moods” – Lilly Pulitze
What is the Difference Between Vision and Mission Statements of a Business
The vision statement focuses on the future and what the organization wants to become. The mission statement focuses on the present and what the organization does. While organizations generally use mission and vision statements conversely, it’s essential to have both of them. Just one doesn’t work without the other, because having a purpose and meaning […]
Web Developer productivity Tools ( Lazy guys toolkit)
https://json-csv.com/A tool that coverts JSON objects snatched from html pages in to excelsheets where you can manipulate data as you want.
Sri Lankan Media Youtube domination
Here you can find the statistics of the top Media channels and accounts from Sri Lanka sorted according to media for the year 2018. Take a look at the Channels that have the most ‘Uploaded video views’ on YouTube. Currently, the page with the most ‘Uploaded video views’ is TV Derana. YouTube Channels Stats in […]
We were invited to the Infortel Exhibition organized by ICTA
We are proud to be invited to the Infortel Exhibition organized by ICTA to present our products and services. We were able to find many businesses and persons that require our services and meet many business owners with many future opportunities. #infortel #icta #itexpo
What is GDPR – General Data Privacy Regulation and What it means for online businesses.
What is GDPR? GDPR is an extensive set of regulations that gives citizens who live in the European Economic Area (EEA) and Switzerland more control over how their personal data is collected and used online. GDPR introduces a lot of new rules and if you’re up for a little light reading, you can check out […]