Articles on Trending Technologies

Technical articles with clear explanations and examples

What is Browser Isolation? (Definition, Types, and Usage)

Ayushi Bhargava
Ayushi Bhargava
Updated on 14-Apr-2022 2K+ Views

What is Browser Isolation?It is predicted that more than half of businesses will deliberately begin to isolate their internet usage to lessen the effect of cyberattacks. Browser isolation solutions are one of the most effective strategies for a company to prevent web-based assaults. With this in mind, let's take a deeper look at what browser isolation is and why security-conscious enterprises are increasingly adopting remote browser isolation.Browser isolation is a web surfing security concept that allows users to physically isolate their browsing activities from their local system, network, and infrastructure. Individual browser sessions are separated away from hardware and direct ...

Read More

How to Protect Yourself from ATM Skimming?

Ayushi Bhargava
Ayushi Bhargava
Updated on 14-Apr-2022 526 Views

ATM card is a popular and simple way to get money from banks and checking accounts. However, using an ATM card carries some risks. In recent years, the practice of "ATM skimming" has unfortunately become a concern.When a burglar installs a card reader inside an ATM card slot, this is known as ATM skimming. When you enter your ATM card into the machine, this gadget reads the information on the magnetic stripe, allowing fraudsters to "clone" your card and use it to withdraw money from your account or make transactions at retail locations. Many times, an account holder is absolutely ...

Read More

What Does a VPN Tunnel Do?

Ayushi Bhargava
Ayushi Bhargava
Updated on 14-Apr-2022 564 Views

Most VPN beginners will come across the word "VPN tunnel" but have no understanding of what it means, how it works, or what VPN tunneling protocols are. That's where this article comes in to assist everyone in understanding what's going on, whether before or after using a VPN.Progressively more average people realize the importance of using a Virtual Private Network (aka VPN) because it allows them to have more privacy, security, and "freedom" on the internet, regardless of whether they are using public Wi-Fi hotspots or other types of limited networks like LAN, WAN, or WLAN.Due to the rise of ...

Read More

What is Cache Memory? (Functions and Types of Cache Memory)

Ayushi Bhargava
Ayushi Bhargava
Updated on 14-Apr-2022 8K+ Views

It is always a good idea to clean your cache if a website isn't loading correctly. We've all done that, realized that things are working again, and then promptly forgot about the browser cache (until something else breaks). But you can't help but think, "What the heck is the cache?" someplace in the back of your mind. Why is it that cleaning makes things better? In this article, let's get some basic understanding of cache memory, its functions, and how it plays a critical role in improving the user experience.What is the Function of Cache?A cache is a data storage ...

Read More

How to Use Instance Variables in Ruby

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 1K+ Views

In Ruby, there are four different types of variables that we can declare −Local VariablesInstance VariablesClass VariablesGlobal VariablesAn Instance variable has a name that starts with the @ symbol. It should be noted that the contents of an instance variable are only restricted to the object which itself refers to.An important point to note about the instance variable in Ruby is that, even if we have two separate objects that belong to the same class, we are allowed to have different values for their instance variables.Instance Variable Characteristics in RubyBefore checking how to use instance variables in Ruby, let's understand ...

Read More

Difference between 'include' and 'extend' in Ruby

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 1K+ Views

In Ruby, when we are using the include keyword, we are importing a module code, but we aren't allowed to access the methods of the imported modules with the class directly because it basically gets imported as a subclass for the superclass.On the other hand, when we are using the extend keyword in Ruby, we are importing the module code but the methods are imported as class methods. If we try to access the methods that we imported with the instance of the class, the compiler will throw an error.Now let's use these two keywords in a Ruby code to ...

Read More

How to use the "not" keyword in Ruby?

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 2K+ Views

In Ruby, we use the not keyword when we want to get an expression and then invert its Boolean value. In simple words, if an expression evaluates to True, then by using the not keyword, we will get False as the result of the expression.It can be said that the not keyword works like the "!" operator in Ruby, but the only difference between them is that the "!" operator has the highest precedence of all operators and the "not" operator has the lowest.SyntaxHere is the syntax of the not keyword in Rubynot expressionNow, let's take a couple of examples ...

Read More

How to use the "defined?" keyword in Ruby?

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 690 Views

Ruby provides a special keyword known as defined? that is used to determine if a particular object or data type is defined in Ruby or not.The defined? keyword will return a string describing its expression or argument, if the passed expression or argument is defined. It returns nil if the expression or the argument is not defined in Ruby.SyntaxThe syntax of the defined keyword in Ruby is given belowdefined? variable_nameNow, let's take a couple of examples to demonstrate how to use the defined keyword in Ruby.Example 1Consider the code shown below.# Declare the Variables programming = 2 ruby = programming ...

Read More

How to use the 'and' keyword in Ruby?

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 720 Views

'and' Keyword in RubyIn Ruby, we use the "and" keyword to return True if both the operands are true, and False if one or more of the operands is false. It should be noted that the and keyword is equivalent to the && logical operator, but it has lower precedence in Ruby.SyntaxThe syntax of the and keyword is shown below.expression1 and expression2Let's use the and keyword in a Ruby code and see how it works.ExampleConsider the code shown below.variable1 = "sunshine" variable2 = "$un$h1ne" # Using and keyword if (variable1 == "sunshine" and variable2 == "$un$h1ne")    puts "Learn ...

Read More

Useful Methods from Numeric Class in Ruby

Mukul Latiyan
Mukul Latiyan
Updated on 12-Apr-2022 350 Views

There are several methods in Ruby that can be used on numbers. In this article, we will explore some of these useful methods and how to use them.number.even in RubyThis method is used when we want to check if a particular number is even or not. Consider the code shown below −ExampleConsider the code shown below.num = 14 puts num.even? num = 19 puts num.even?OutputIt will produce the following output.true falsenumber.odd in RubyThis method is used when we want to check if a particular number is odd or not. Consider the code shown below −ExampleConsider the code shown below.num ...

Read More
Showing 44441–44450 of 61,297 articles
Advertisements