It is easy and hassle-free to integrate the WordPress websites with the available Plugins from PayKun Payment Gateway. With PayKun WordPress Plugins you do not…
Leave a CommentTutorials / Programming tips Posts
In this tutorial, we gonna download YouTube live-stream video in chunks for the given interval. We gonna run a few commands in the terminal for…
Leave a CommentFROM node:10 WORKDIR /usr/src/app COPY package*.json ./ RUN npm install pm2 -g RUN npm install COPY . . EXPOSE 8080 CMD [“pm2-runtime”, “server.js”]
Leave a CommentJavascript allows us to declare fields inside the class. We can access its own fields or properties by creating an instance of a class. Example:…
Leave a CommentThe null coalescing assignment operator is a shorthand for null coalescing operations. Let’s take a example code $data[‘date’] = $data[‘date’] ?? new DateTime(); So, instead…
Leave a CommentArrow functions also called “short closures”. We can always access the parent scope, there’s no need for the use keyword. Here is a simple example…
Leave a CommentLaravel has in-built increment() and decrement() functions to increase or decrease a value of the column, by 1 or with the given number. Below are…
Leave a CommentLet us see an example of how to calculate the difference between dates using Javascript. First, write an HTML code with Javascript as below: const…
Leave a CommentThis is useful for migrations when you can’t rollback. It can easily be run in artisan mode or you can create a console command. foreach(\DB::select(‘SHOW…
Leave a CommentPHP 7.4 allows for underscores to be used to visually separate numeric values. It looks like this: $unformattedNumber = 123456789.78; $formattedNumber = 123_456_789.78; The underscores…
Leave a CommentIn this post, we gonna use pyodbc a package to connect to the SQL server using Python. So let’s install the package using the pip…
Leave a CommentThis post will cover the step needed to take the angular universal app to the production server. This post assumes that you have running angular…
4 CommentsIn this post, we gonna see how we can use Docxtemplater library to replace placeholders in the Word Document in Node js based projects. Let’s…
1 CommentCreate a controller called UploadController.php with the following code. Create a view file Create a file called upload.blade.php in the resources/views directory with the below…
Leave a CommentIn this post, I will show you SonarQube integration steps for Node-based projects. SonarQube is an Open Source Software for static code scanning to discover…
1 Comment