What Does the “use strict” Directive Do in JavaScript

Posted: 2021-10-10 17:36:01
Source: https://linuxhint.com/use-strict-directive-do-in-javascript/

JavaScript evolved for a long time having no compatibility issues and modified by adding new features but not changing the old features. It carried on until ECMAScript 5 whose perk was that it added new features while modifying current ones. However, by default in JavaScript, these modifications are off. One needs to enable it with a special message or command which is the “use strict”. The keyword use strict helps JavaScript developers to run their JavaScript code in strict mode hence restricting the use of undeclared variables and helps developers by avoiding possible errors or bugs.

Top 10 Popular Websites Built using JavaScript – Examples

Posted: 2021-10-10 16:56:01
Source: https://linuxhint.com/top-10-popular-websites-built-using-javascript-examples/

Popularity of JavaScript is increasing day by day with it’s usage for building websites, mobile applications, web based games and server side applications. It’s a client side scripting language but with the introduction of NodeJs, it’s now possible to handle server side as well.JavaScript is evolving everyday, making it’s way more into the tech world by introducing various frameworks, which makes the life of developers easy. Many websites which are popularly known are built around JavaScript which shows how important and useful the language is. In this write-up, you will have the top 10 popular websites built using JavaScript.

How to Use Vagrant with VMware Workstation Pro 16 on Ubuntu 20.04 LTS

Posted: 2021-10-10 16:38:25
Source: https://linuxhint.com/vagrant-vmware-workstation-pro-16/

Vagrant is a wrapper for different hypervisor programs. Vagrant can quickly configure virtual machines based on your project requirement and get them up and running. Vagrant simplifies managing virtual machines for development projects and saves a lot of time. How to use Vagrant with VMware Workstation Pro 16 on Ubuntu 20.04 LTS is explained in this article.

New 'FontOnLake' Malware Family Can Target Linux Systems

Posted: 2021-10-10 16:34:00
Source: http://rss.slashdot.org/~r/Slashdot/slashdotLinuxatom/~3/blZUCjCxL8w/new-fontonlake-malware-family-can-target-linux-systems

Security Week reports: A previously unknown, modular malware family that targets Linux systems has been used in targeted attacks to collect credentials and gain access to victim systems, ESET reported on Thursday. Dubbed FontOnLake, the malware family employs a rootkit to conceal its presence and uses different command and control servers for each sample, which shows how careful its operators are to maintain a low profile. What's more, the malware developers are constantly modifying the FontOnLake modules, and use three categories of components that have been designed to work together, namely trojanized applications, backdoors, and rootkits. Evidence suggests that FontOnLake has been used in attacks aimed at organizations in Southeast Asia. The first malware samples related to this family emerged last May. The malware was previously described by Avast and Lacework as the HCRootkit / Sutersu Linux rootkit, as well as by Tencent Security Response Center in a February report. The various trojanized applications that ESET's researchers have identified during their investigation are used to load custom backdoor or rootkit modules, but also to collect sensitive data when needed. Posing as standard Linux utilities, these files were also designed to achieve persistence on the compromised systems. What the researchers haven't figured out yet is the manner in which the trojanized applications are delivered to the victims. ESET's analysis of FontOnLake has revealed the use of three different backdoors, all written in C++, all using the same Asio library from Boost, and all capable of exfiltrating sshd credentials and bash command history. The simplest of the three was designed to launch and mediate access to a local SSH server, update itself, and transmit collected credentials. The malware appears to be under development. The second backdoor was also capable of file manipulation, updating itself, and uploading and downloading files, according to the article, while the third backdoor "accepts remote connections, serves as a proxy and can download and run Python scripts, in addition to exfiltrating credentials."

Read more of this story at Slashdot.

What are JavaScript Object Accessors

Posted: 2021-10-10 16:23:37
Source: https://linuxhint.com/javascript-object-accessors/

JavaScript object accessors are used to access and update the objects and two keywords used for this function are getter and the other is the setter. JavaScript introduced getters and setters in ES5 in 2009.We'll look at what getters and setters are and how to utilize them in JavaScript in this tutorial as well as go over why you should use get or set methods of JavaScript.

How to Install and Configure Smartctl on Ubuntu

Posted: 2021-10-10 15:31:02
Source: https://linuxhint.com/install-and-configure-smartctl-on-ubuntu/

Smartctl is designed to perform smart operations from the command line such as initiating device self-tests and printing smart self-test etc. Using smartctl a user can read the smart information from the hard disk and can perform tests on the SSD or hard drive to detect any problems with the hard drive or SSD.In this post, we'll teach you how to install and configure smartctl on Ubuntu 20.04, as well as how to uninstall smartctl from Ubuntu, so, without further ado, let's get started with installing smartctl.

How to Reverse an Array in JavaScript

Posted: 2021-10-10 15:00:15
Source: https://linuxhint.com/reverse-an-array-in-javascript/

Reversing an array is a very popular coding problem which is often asked as an interview question when applying for an entry level JavaScript Developer position. Sometimes you will be asked to modify the original array so that the first element becomes the last and the second element becomes the second last element of the array and so on. Sometimes you might be asked to reverse an array without changing the original array. In this post we will look at different methods which are used to reverse an array in JavaScript.

How to Speed up the Execution of JavaScript Code

Posted: 2021-10-10 14:14:36
Source: https://linuxhint.com/speed-up-the-execution-of-javascript-code/

Poor JavaScript code results in slower websites.With this in mind, a developer always looks at ways of improving his webpage. You are in luck because today we are going to talk about how to speed up the execution of JavaScript code

How to Write a JavaScript Program to Get File Extension from File Name?

Posted: 2021-10-10 13:35:24
Source: https://linuxhint.com/write-a-javascript-program-to-get-file-extension-from-file-name/

The file extension is a three or four-letter abbreviation or an acronym at the end of a file that tells you what kind of file it is under different operating systems. For example, the file name is code.js hence the extension here is js. The goal of this article is to show you how to write a JavaScript program to get file extensions from a file name. We will discuss two of the easiest and most used methods to find the file extension.

How to Reverse a String in JavaScript

Posted: 2021-10-10 13:05:46
Source: https://linuxhint.com/reverse-a-string-in-javascript/

Reversing an array is a very popular coding problem that is often asked as an interview question to beginner JavaScript devs. Sometimes the interviewers add certain restrictions, forcing you to come up with ingenious solutions.In JavaScript, a string can be reversed by many different methods. In this article we will discuss the most creative and interesting methods for reversing a string.

How to Make a String in Minecraft

Posted: 2021-10-10 12:43:16
Source: https://linuxhint.com/make-a-string-in-minecraft/

In Minecraft, a string is a common crafting resource utilized in various recipes. A string has numerous applications and can be obtained in a variety of ways. They can be used to link tripwires, wool, fishing rods, bows, and other items. This article explains how to obtain string in Minecraft and how to use it to craft various items.

How to Install Vim Editor on Windows

Posted: 2021-10-10 12:01:42
Source: https://linuxhint.com/install-vim-editor-on-windows/

Vim is a highly customized and versatile editor, and this makes it appealing to users that require a high level of control and customization in their text editing environment. Vim has a plethora of plugins that extend or add additional features. The Vim editor was specifically designed for Unix-based operating systems, but it was later ported to the Windows platform. This article explains how to install the vim editor on the Windows operating system. Permalink: install-vim-editor-windows

How to Link JavaScript to HTML

Posted: 2021-10-10 11:18:23
Source: https://linuxhint.com/link-javascript-to-html/

JavaScript can be linked to HTML by adding all the JavaScript code inside the HTML file. Another solution is to write JavaScript in a dedicated separate javaScript file and provide the reference of the JavaScript file in the HTML. Linking JS with HTML makes your website dynamic and interactive. The first way is using JavaScript within the HTML file. The second way is using JavaScript outside the HTML file using a JavaScript file.

Development Release: Redo Rescue 4.0.0

Posted: 2021-10-10 07:42:07
Source: http://distrowatch.com/11364

Zebradots Software has announced the release of Redo Rescue 4.0.0, a major update of the project's specialist distribution for bare metal backups and system restoration tasks. Although the version number does not indicate it, the release is considered beta quality software, the first build based on Debian 11....

The Best Part of Windows 11 Is Its Linux, Argues Ars Technica

Posted: 2021-10-10 07:34:00
Source: http://rss.slashdot.org/~r/Slashdot/slashdotLinuxatom/~3/LKp9MaLTO30/the-best-part-of-windows-11-is-its-linux-argues-ars-technica

The best part of Windows 11 is Linux, argues Ars Technica: For years now, Windows 10's Windows Subsystem for Linux has been making life easier for developers, sysadmins, and hobbyists who have one foot in the Windows world and one foot in the Linux world. But WSL, handy as it is, has been hobbled by several things it could not do. Installing WSL has never been as easy as it should be — and getting graphical apps to work has historically been possible but also a pain in the butt that required some fairly obscure third-party software. Windows 11 finally fixes both of those problems. The Windows Subsystem for Linux isn't perfect on Windows 11, but it's a huge improvement over what came before. Microsoft has traditionally made installing WSL more of a hassle than it should be, but the company finally got the process right in Windows 10 build 2004. Just open an elevated Command prompt (start --> type cmd --> click Run as Administrator), type wsl --install at the prompt, and you're good to go. Windows 11, thankfully, carries this process forward unchanged. A simple wsl --install with no further arguments gets you Hyper-V and the other underpinnings of WSL, along with the current version of Ubuntu. If you aren't an Ubuntu fan, you can see what other easily installable distributions are available with the command wsl --list --online. If you decide you'd prefer a different distro, you can install it instead with — for example — wsl --install -d openSUSE-42. If you're not sure which distribution you prefer, don't fret. You can install as many as you like, simply by repeating wsl --list --online to enumerate your options and wsl --install -d distroname to install whichever you like. Installing a second distribution doesn't uninstall the first; it creates a separate environment, independent of any others. You can run as many of these installed environments as you like simultaneously, without fear of one messing up another. In addition to easy installation, WSL on Windows 11 brings support for both graphics and audio in WSL apps. This isn't exactly a first — Microsoft debuted WSLg in April, with Windows 10 Insider Build 21364. But Windows 11 is the first production Windows build with WSLg support. If this is your first time hearing of WSLg, the short version is simple: you can install GUI apps — for example, Firefox — from your Ubuntu (or other distro) command line, and they'll work as expected, including sound. When I installed WSLg on Windows 11 on the Framework laptop, running firefox from the Ubuntu terminal popped up the iconic browser automatically. Heading to YouTube in it worked perfectly, too, with neither frame drops in the video nor glitches in the audio.... [T]here is one obvious "killer app" for WSLg that has us excited — and that's virt-manager, the RedHat-originated virtualization management tool. virt-manager is a simple tool that streamlines the creation, management, and operation of virtual machines using the Linux Kernel Virtual Machine... virt-manager never got a Windows port and seems unlikely to. But it runs under WSLg like a champ. They reported a few problems, like when running GNOME's Software Center app (and the GNOME shell desktop environment). But "If you're already a Windows Subsystem for Linux (WSL) user, Windows 11 offers an enormously improved experience compared to what you're accustomed to from Windows 10. It installs more easily, makes more functionality available, and offers better desktop integration than older workarounds such as running MobaXTerm's X11 server."

Read more of this story at Slashdot.

How to install and use Steam on Debian 11

Posted: 2021-10-09 16:20:30
Source: https://linuxhint.com/install-and-use-steam-debian/

Steam provides an unmatched way to play AAA PC titles on Linux. Steam is an online platform for games. Users can buy and install and play multiplayer games from this platform and communicate with other gamers through social networking. This article explains how to install the popular gaming platform Steam on Debian 11 Bullseye.

5.14.11: stable

Posted: 2021-10-09 13:02:55
Source: http://www.kernel.org/

Version:5.14.11 (stable)
Released:2021-10-09
Source:linux-5.14.11.tar.xz
PGP Signature:linux-5.14.11.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.14.11

5.10.72: longterm

Posted: 2021-10-09 12:52:02
Source: http://www.kernel.org/

Version:5.10.72 (longterm)
Released:2021-10-09
Source:linux-5.10.72.tar.xz
PGP Signature:linux-5.10.72.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.10.72

5.4.152: longterm

Posted: 2021-10-09 12:40:06
Source: http://www.kernel.org/

Version:5.4.152 (longterm)
Released:2021-10-09
Source:linux-5.4.152.tar.xz
PGP Signature:linux-5.4.152.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-5.4.152

4.19.210: longterm

Posted: 2021-10-09 12:11:43
Source: http://www.kernel.org/

Version:4.19.210 (longterm)
Released:2021-10-09
Source:linux-4.19.210.tar.xz
PGP Signature:linux-4.19.210.tar.sign
Patch:full (incremental)
ChangeLog:ChangeLog-4.19.210

1 ... 600 601 602 603 ... 726