Linux Tutorial

1601149980

How to Install Atom Text Editor on CentOS 8 - YallaLabs

Atom is a free and open-source text and source code editor for OS X, Linux, and Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub

In this tutorial, we are going to show you how to install latest version of Atom using .rpm package on your CentOS 8 machine.

#centos/redhat #linux #atom install #install atom #centos

What is GEEK

Buddha Community

How to Install Atom Text Editor on CentOS 8 - YallaLabs
Servo Node

Servo Node

1623344371

Installing Atom Text Editor On Ubuntu Desktop

Atom Text Editor is a well known open source text or source code editor developed by GitHub. It allows users to deal with a built-in package manager, embedded Git control, syntax highlight, and more other features. Means, this tool can be customized and used for almost every purpose, and is available for Windows, OS X, and Linux distributions as well.

Features Of Atom Text Editor
As already mentioned, it’s developed by GitHub and includes wide range of features to allow users using it everywhere. Some of the features include:

  • Available to be used for Cross-platform editing, means it can be used on any OS platforms.
  • Built-in package manager allows you to search, install and create your own packages within its interface.
  • In-built auto completion helps to write coding faster than ever.
  • Used for browsing a file, project and even multiple projects in a single interface.
  • Offers a number of panes to compare and edit code across different files.
  • Allows to deal with find and replace feature.

How to install Atom Text Editor On Ubuntu
Installing Atom on Ubuntu Linux distribution is very easy and if you love this distro for your personal usage, then you might also love to have Atom installed on your desktop. And this article includes two helpful methods to install the app on your Ubuntu platform.

Approach 1: Install Atom with Packagecloud Repo

sudo apt update
sudo apt install software-properties-common apt-transport-https wget
sudo add-apt-repository “deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main”

sudo apt install atom

Approach 2: Install Atom with Snap Package

sudo apt update
sudo apt install snapd
sudo snap install atom –classic

https://servonode.com/install-atom-text-editor-on-ubuntu

#install atom text editor ubuntu #atom text editor ubuntu #install atom text editor linux

Linux Tutorial

1601149980

How to Install Atom Text Editor on CentOS 8 - YallaLabs

Atom is a free and open-source text and source code editor for OS X, Linux, and Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub

In this tutorial, we are going to show you how to install latest version of Atom using .rpm package on your CentOS 8 machine.

#centos/redhat #linux #atom install #install atom #centos

Servo Node

Servo Node

1623691737

Install Atom Text Editor On Fedora Workstation › Servo Node

Although, the list of text editor available for Linux is very long, still the fanbase of Atom text editor is very huge. Thanks to its clean and robust features like split view, Git integration, availability of additional extensions or addons, and many more. Means, this easily enables users to work with almost every kind of text files whether it be while wring some project codes, comparing two codes, and so on. So, in this article, we will discuss about installing Atom on a Fedora desktop. But before that, let’s learn some of the available features with Atom.

Atom text editor is technically developed by and maintained by GitHub and includes a number of features which includes:

  • Available to be used for Cross-platform editing, means it can be used on any OS platforms.
  • Built-in package manager allows you to search, install and create your own packages within its interface.
  • In-built auto completion helps to write coding faster than ever.
  • Used for browsing a file, project and even multiple projects in a single interface.
  • Offers a number of panes to compare and edit code across different files.
  • Allows to deal with find and replace feature.

Installing Atom on Fedora with RPM Package

To install Atom using official RPM package, Visit the official site, and click on Download.rpm button. Do make sure to save it under Downloads directory.

To view the downloaded file (atom.x86_64.rpm) under Downloads folder, run the commands below:

cd ~/Downloads
ls -lh

Now, you can install the Atom package by running this command.

sudo dnf install ./atom.x86_64.rpm

Install Atom Text Editor using Snap

To install Atom using Snap package, run the commands below:

sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install atom –classic

#install atom text editor on fedora #install atom on fedora #atom text editor on fedora

Chet  Lubowitz

Chet Lubowitz

1595855400

How to install PgAdmin 4 on CentOS 8

pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQLpgAdmin4 is a rewrite of the popular pgAdmin3 management tool for the PostgreSQL database.

In this tutorial, we are going to show you how to install pgAdmin4 in Server Mode as a web application using httpd and Wsgi module on CentOS 8.

Install pgAdmin4 on CentOS 8

**01-**To install pgAdmin4 on CentOS 8 we need to add an external repository, so execute the following command:

$ sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm

02- After we add the pgAdmin4 repository, let’s use the below command to install pgAdmin4 as server mode:

$ sudo dnf install pgadmin4-web

03- Before proceeding with the configuration of pgAdmin4, we need to install policycoreutils tool:

$ dnf install policycoreutils-python-utils  

04- Once we done installing pgAdmin4, we need to configure the pgAdmin4 by setting up the initial pgAdmin user account

#databases #linux #ubuntu #install pgadmin4 #install pgadmin4 centos #pgadmin #pgadmin 4 install #pgadmin 4 install centos #pgadmin4 #pgadmin4 install centos

Navigating Between DOM Nodes in JavaScript

In the previous chapters you've learnt how to select individual elements on a web page. But there are many occasions where you need to access a child, parent or ancestor element. See the JavaScript DOM nodes chapter to understand the logical relationships between the nodes in a DOM tree.

DOM node provides several properties and methods that allow you to navigate or traverse through the tree structure of the DOM and make changes very easily. In the following section we will learn how to navigate up, down, and sideways in the DOM tree using JavaScript.

Accessing the Child Nodes

You can use the firstChild and lastChild properties of the DOM node to access the first and last direct child node of a node, respectively. If the node doesn't have any child element, it returns null.

Example

<div id="main">
    <h1 id="title">My Heading</h1>
    <p id="hint"><span>This is some text.</span></p>
</div>

<script>
var main = document.getElementById("main");
console.log(main.firstChild.nodeName); // Prints: #text

var hint = document.getElementById("hint");
console.log(hint.firstChild.nodeName); // Prints: SPAN
</script>

Note: The nodeName is a read-only property that returns the name of the current node as a string. For example, it returns the tag name for element node, #text for text node, #comment for comment node, #document for document node, and so on.

If you notice the above example, the nodeName of the first-child node of the main DIV element returns #text instead of H1. Because, whitespace such as spaces, tabs, newlines, etc. are valid characters and they form #text nodes and become a part of the DOM tree. Therefore, since the <div> tag contains a newline before the <h1> tag, so it will create a #text node.

To avoid the issue with firstChild and lastChild returning #text or #comment nodes, you could alternatively use the firstElementChild and lastElementChild properties to return only the first and last element node, respectively. But, it will not work in IE 9 and earlier.

Example

<div id="main">
    <h1 id="title">My Heading</h1>
    <p id="hint"><span>This is some text.</span></p>
</div>

<script>
var main = document.getElementById("main");
alert(main.firstElementChild.nodeName); // Outputs: H1
main.firstElementChild.style.color = "red";

var hint = document.getElementById("hint");
alert(hint.firstElementChild.nodeName); // Outputs: SPAN
hint.firstElementChild.style.color = "blue";
</script>

Similarly, you can use the childNodes property to access all child nodes of a given element, where the first child node is assigned index 0. Here's an example:

Example

<div id="main">
    <h1 id="title">My Heading</h1>
    <p id="hint"><span>This is some text.</span></p>
</div>

<script>
var main = document.getElementById("main");

// First check that the element has child nodes 
if(main.hasChildNodes()) {
    var nodes = main.childNodes;
    
    // Loop through node list and display node name
    for(var i = 0; i < nodes.length; i++) {
        alert(nodes[i].nodeName);
    }
}
</script>

The childNodes returns all child nodes, including non-element nodes like text and comment nodes. To get a collection of only elements, use children property instead.

Example

<div id="main">
    <h1 id="title">My Heading</h1>
    <p id="hint"><span>This is some text.</span></p>
</div>

<script>
var main = document.getElementById("main");

// First check that the element has child nodes 
if(main.hasChildNodes()) {
    var nodes = main.children;
    
    // Loop through node list and display node name
    for(var i = 0; i < nodes.length; i++) {
        alert(nodes[i].nodeName);
    }
}
</script>

#javascript