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 CommentAuthor: Praveen Anaparthi
11+ years of IT industry experience holding a wide range of skill sets and roles with significant work on PHP, Node.js, Python, Ruby, Docker, React.js, Microsoft Azure, Azure DevOps, Windows PowerShell, Shell script, Jenkins, MongoDB, SQL, MySQL, Apache, Nginx. etc. It is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.
FROM 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 CommentIn this tutorial, I will show you how to use the Datatables in the Laravel based project withyajra/laravel-datatables-oracle package. For this tutorial, we gonna use…
Leave a Comment