Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user has with the system.
Do logging correctly:
Creating Read more…
Auto-Renew “Let’s encrypt” SSL Certificate using certbot
Make sure Domain is pointed to the server and should only be using IPv4 version. IPv6 will not work and you must have pre-configured the domain in apache configuration and make sure your default enabled ssl Read more…
Persist Data Using AsyncStorage in React Native
There are various ways to preserve the data in React Native but AsyncStorage is the most recommended way to persist data in your React Native applications as it is a built-in feature.
AsyncStorage is a simple, unencrypted, asynchronous Read more…
How to Create a drop-down with search capability using Devextreme components
Many of you might have seen a drop-down menu with a search capability that appears in Gmail on Move To Button click as shown in the screenshot below.
Similarly below is Read more…
Import Gravity Forms through code – WordPress
Gravity form is a WordPress plugin that is basically used to build and publish the WordPress forms.
Sometimes the situation arises when we need to import Gravity Forms through code.
For instance, I needed gravity forms to be available in Read more…
Totara – How to programmatically Enroll User into Course along with the corresponding Group
As a trainer or a manager, if you go to Gradebook screen you will see the dropdown of group names there, on which you can filter the gradebook records by selecting a group Read more…
Language pack updation in Totara 11
In previous versions of Totara, we were required to update the version of plugin in version.php file to reflect the language file changes. Therefore for a single string change the plugin version needed to be updated.
In Totara 11 Read more…
How to set the values of Metadata(Column fields) of Sharepoint Documents
Here is the code in C# which helps you to change the metadata field values of Sharepoint Files.
//This manager class can be used to obtain a SharePointContext object
OfficeDevPnP.Core.AuthenticationManager authMgr = new Read more…
Facebook Share-React Native
React native provides Facebook SDK to integrate facebook APIs in react native application. It can be used for both (iOS and Android) platforms. Below is the documentation to configuration this package for android:
1. Go to your project location Read more…
Paytm gateway integration in PHP
Paytm is a very popular way to make payments these days. To integrate Paytm in our site we need to follow the given steps –
Step 1. First, we need to create an account at https://business.paytm.com/ and get our Read more…
Fill a PDF form using C# console application
We will be using the SyncFusion Package to fill out the PDF Form Fields. To add SyncFusion to your project follow these steps :
1. Go to Tool -> NuGet Package Manager -> Manage NuGet Packages For Solution
2. Then search Read more…
Showing Deletion Confirmation box in Laravel datatables
Datatables are the finest way to show the larger number of records to the user on a single page as it provides so many features like sorting, pagination, etc. Sometimes we need to provide the facility to edit or Read more…
Implementing Column Search to filter Devextreme Data Grid content
Devextreme datagrid provides various capabilities to operate over the set of data. One of the attractive features is searching and filtration inside data grid to view the required set of data in a grid, based on different Read more…
Adding a custom column in WooCommerce subscription list and search data according to its content using code
There are two ways to add a custom column in the WooCommerce lists i.e. either we can add them using the WordPress plugins or by adding our custom Read more…
How can you modify the existing tables of the installed plugin in Moodle/Totara?
When you install any plugin, install.xml is used to create all the tables required for your plugin.
A most common practice that people use to do is install the plugin again Read more…
How to deploy the laravel project on Shared hosting server
On shared Environment:
Step 1: Push the code to Production Server.
I’m assuming that your project is running perfectly on your localhost and now you are ready to push it to Read more…
Problem: Google Authenticator not working along with ssh-key and password
First of all, login to Ubuntu machine where you want google-authenticator to be used along with ssh keys and password.
Step.1 Install google PAM
PAM stands for Pluggable Authentication Modules (PAM Read more…
Problem: Scroll was not working in the landscape mode for iPhone and iPad in adobe captivate
In our project, we faced one problem the scrollbar in adobe captivate content was not working on the landscape mode of iPhone and iPad.
Solution: Follow the given Read more…
how to download file from s3 disk in Laravel
What is AWS S3?
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. S3 helps you securely upload and download your data with Read more…