Configure CakePHP 3.6 in a Subfolder of WordPress
What do I actually want to do?
I want to access my WordPress site at example.com, while installing a CakePHP app on example.com/cakephp.
To achieve this, we need to install wordpress along with cakephp Read more…
Bootstrap CDN and some common free CDNs
Bootstrap is the most popular front-end framework for developing responsive, mobile first projects on the web. Now I will explain how to use bootstrap CDN in your project.
CDN: CDN is Content Delivery Network. A CDN Read more…
How to generate Android APK for Ionic project
Apk is android application package file format which is used by android operating system to distribute and install app. Apk file is used for publishing mobile application to google play store. Users never see the APK files because Read more…
Protect your PDF files generated with TCPDF
TCPDF is a open source PHP library which is used to generate PDF documents. After downloading it, you can invoke all basic functions of this class without requiring external libraries. It supports various languages Read more…
How to resolve the issue of Dompdf is not supporting Font-Family
Problem: We have html with some inline css and we are also importing some files on blade file where we are rendering our html but font families are not supported by Dompdf Read more…
Improve SQL queries while using .NET Language-Integrated Query (LINQ)
1. Use IQueryable instead of IEnumerable interface while querying. While using IQueryable, we need to use the ToList() to get the results from DB. Do not use ToList() until you know Read more…
Deleting all images from cloudinary through API
Cloudinary is a SaaS technology company that provides a cloud-based image and video management solution. Cloudinary API provides us the facility to delete maximum 1000 resources at once. But we may have more than 1000 images in our Read more…
Adding Multiple database server connections in PHPmyAdmin
We can use PHPmyAdmin for multiple database servers by adding them in the settings of PHPmyAdmin.
Steps to add a server in the UI of PHPmyAdmin:
Step 1: Click on Read more…
How to read .jpg and .png image from a word document and save in a different folder using Java?
Each line inside a word document is defined as a different paragraph and each image represents a paragraph. If there is some text present in between the Read more…
What is new in Sublime Text 3?
Sublime is an editor developed by Jon Skinner and Will Bond. The source code of Sublime editor is written in C++ and Python Language. It is very popular among the developers because of its advanced and easy to learn Read more…
Lookup Vs Master-Detail Relationship
There comes a moment when we are confused about whether to create a lookup relationship or a master-detail relationship between two objects (can be a Standard or a Custom object).
Below are some use cases for the aforementioned relationships.
Using Selenium WebDriver with Chrome browser
Selenium WebDriver is open source tool to automate testing the Web application across many browsers. Every browser has its own driver to execute Selenium WebDriver Scripts. It supports browsers such as Mozilla Firefox, Google Chrome, Internet Explorer, Safari etc.
Selenium Read more…
How to use CakePHP Validation class
We can use CakePHP validation functions and speed up development. These functions already follow the correct rules so we don’t need to write custom code.
$validate = new Validation();
$string = ‘Name123’;
$result = $validate->alphaNumeric ( $string );
if ($result Read more…
Some Useful Code Refactoring Techniques Available In Eclipse
So this feature allows you to rename variables, classes, methods, packages, folders, and almost any Java identifier. When you rename an identifier, all references to that identifier are also renamed. The Read more…
How to get user locale time from UTC Time
The default timezone in Php or MySql is UTC (UTC doesn’t use daylight saving). But it can be troublesome when this is to be displayed to the user. E.g. – A user in New York accesses Read more…
Sending SMS messages using Textlocal
( https://www.textlocal.in/ )
Here is an example to send sms alert using Textlocal account:
There are some mandatory fields to send Sms.
3. Message (Enable message template from Textlocal)
4. Number Read more…
How to use VBA Script in Excel?
VBA (Visual Basic for Application) is a high-level programming language that is used for MS Excel. It uses English like statements to write instructions for the computer. It also enhances the functionality of the excel by allowing the Read more…
How to use RSS Feed in wordpress
Publishers get benefit from RSS feeds because this lets them display their site content automatically. Timely updates from web feeds benefits the readers to know if something new is posted on their favorite websites.
WordPress gives the option to Read more…
Creating custom log files for AWS Lambda function using Java other than using CloudWatch
For developers who are using AWS Lambda function either for executing several concurrent processes or for processing large files; monitoring logs in CloudWatch is definitely a cumbersome task for them. The reasons Read more…
“Invalid value for header \u0067x-ms-request-id\u0067. The header must contain a single valid GUID”
I was facing the issue “Invalid value for header \u0067x-ms-request-id\u0067. The header must contain Read more…