We found jQuery’s extend() function is the best way for creating a clone object in JavaScript. jQuery’s extend() functions is also useful for merging two or more objects in a single object. This article will help you to create a clone of an object in JavaScript using jQuery’s extend() function. JavaScript Clone Object Code: If you look in below code in JavaScript, you will find that first we have defined our first object named Obj1 with some demo values. After that we have cloned it to new object named Obj2 using extend() function. Then updated value of Obj2.name variable for…
Author: Rahul
uTorrent is most popular torrent client available for Linux systems. uTorrent downloads file very fast and efficiently as possible without slowing other online activities. This article will help you to install uTorrent on Ubuntu, Debian & LinuxMint systems with easy steps. Step 1 – Prerequsiteis Before installing uTorrent on system first install required packages using following command. sudo apt-get install libssl0.9.8:i386 Step 2 – Setup uTorrent Download the uTorrent server source code from its official website. cd /usr/src sudo wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz Now extract the downloaded archive using following command. sudo tar xvzf utorrent-server-3.0-25053.tar.gz sudo chmod -R 777 /usr/src/utorrent-server-v3_0/ Now make…
Screen Recorder applications are useful for the persons who create demos, how to tutorials etc. Simple Screen Recorder (SSR) provides us a fast and efficient way to record your system’s screen. Using SSR you can record an entire screen of your system or only selected area in a rectangular format. SSR Benefits SSR is multi-threaded SSR is capable for Live streaming of videos SSR supports many different types of codecs like MKV, WebM, MP4 etc SSR can record on 32-bit OpenGL application within a 64-bit OS SSR Installation Using below steps first add the required PPA (ppa:maarten-baert/simplescreenrecorder) to our system.…
Bash scripts are incredibly useful for automating tasks and simplifying complex processes. In this article, we will delve into the creation of an interactive Bash script that prompts the user for confirmation using a YES/NO/CANCEL dialogue. This feature can be extremely helpful when you want to ensure that users are aware of the actions they’re about to execute and give them the option to cancel if needed. Understanding Bash Script Basics Before we begin, it’s crucial to understand the fundamentals of Bash scripting. Bash is a Unix shell, which is a command-line interface for interacting with an operating system. A…
While working with the Linux systems, we used many of commands on daily basis. Most of the commands are available in binary format in /bin, /sbin , /usr/bin, /usr/sbin, etc directories. As a system administrator or student we wrote many of shell script to do few task or automate them. This article will help you to create binary file of your shell script, so no one can see the source code of your script and we can use them as a command. To create binary file from a script we use SHC compiler written by Francisco Javier Rosales García. Follow…
Logical operators are used to combine multiple conditions in a script, allowing for more complex decision-making. The two most commonly used logical operators in shell scripting are Logical OR (||) and Logical AND (&&). These operators are used in conditional statements like if, while, and until, as well as in command chaining. Command chaining is a technique where multiple commands are executed in a sequence, based on the success or failure of previous commands. The Logical OR operator (||) is used to execute the command following it only if the previous command fails (returns a non-zero exit status). The Logical…
R is a powerful open-source programming language used widely for data analysis and statistical computing. With its growing popularity, many users want to install R on their Ubuntu systems to start using it for their data analysis needs. If you’re new to R or to installing software on Ubuntu, this step-by-step guide will help you install R on your Ubuntu systems. Installing R on Ubuntu You can install R programming language on Ubuntu with a few steps below: First update the indices on your system sudo apt update Now install the following helper packagers sudo apt install –no-install-recommends software-properties-common dirmngr…
VMware Player is used for creating virtual machines on any desktop systems. If you are an windows user and learning Linux, It can be much useful for you. Using vmware you can easily create a guest machine within few minutes and start working. After completing your work you can simply delete it. Step 1: Download VMware bundle File First go to vmware download page and download latest available version in bundle file. You can also use below url to download it. # cd /opt # https://download3.vmware.com/software/player/file/VMware-Player-7.1.2-2780323.x86_64.bundle Step 2: Install VMware Player After downloading vmware bundle file, install it using following…
The log file plays an important role during the troubleshooting of any application. It’s also useful to find about details about of running application. This article you will show you to how to enable different types of logs in MySQL server. Also, you will understand how to change log file locations in MySQL server. There are mainly 3 types of log files in MySQL as followings: Error Log – This contains all the information about errors generated by MySQL server. This helps debugging of any issue occurred with MySQL service or database General Log – This contains all the general…
Subversion is an product of Apache Software Foundation. It is open-source revision control system, which is designed to be a replacement for CVS. This article will help you install and configure SVN Server on Ubuntu & LinuxMint operating system. 1. Install Required Packages First install required packages for Subversion server on your system. $ sudo apt-get update $ sudo apt-get install subversion subversion-tools libapache2-svn 2. Configure Apache Module Now enable Dav svn module in Apache2 server using following command. $ sudo a2enmod dav_svn Now create main svn directory on your svn server. $ sudo mkdir /var/svn Lets edit Apache dav_svn…