Sets in Python

Introduction Set is an unordered collection of elements with no duplicates. They can only contain immutable objects, therefore sets can’t contain list, dictionaries or another sets. Sets are usually used when someone needs to know whether a particular element is in a collection or not and the order itself does not matter. The good use

Python Tuples with examples

Introduction Tuples are very similar to lists in Python, but in contrast to lists they can’t be modified. Once you created the tuple, you can’t modify/delete/append its elements, therefore tuples are said to be immutable. How to create a tuple? Similarly to a list, a tuple contains sequence of values. To create a tuple, we

Python Lists with examples

Introduction This article provides a lot of information about Python lists. We will learn how to create lists, append and delete elements, sort lists and create slices. List List is a collection(array) which contains ordered elements. Each element of a list has its own index. Lists can be modified and therefore are called “mutable” objects.

Data types in Python 3

Introduction In this post we will have a look at several built-in data types in Python, like numbers, strings, lists and others. I will use Ubuntu 18.04 with Python 3.5.2 for demonstration, but you can use any Python 3 interpreter, for example Python IDLE for Windows or MacOS. $ python3 Python 3.5.2 (default, Nov 12

How to upgrade CIMC on a Cisco UCS server?

Introduction In this post we will go through the process of CIMC (Cisco Integrated Management Controller) upgrade on a standalone Cisco UCS server. I will be upgrading C220M4 server from 3.0(3a) to 4.0(1d), but instructions apply to any standalone UCS server. Step 1: Download Host Upgrade Utility Go to Cisco Software Download website and download

How to run Cisco router as a virtual machine?

Introduction In this post we will learn how to install and run Cisco router as a virtual machine. Cisco has a special product called CSR (Cloud Services Router) 1000v for deploying routers as virtual machines. You can use these VMs for testing and learning purposes. Cisco supports all popular cloud and virtualization platforms, but I

Port Forwarding on Fortigate

Introduction In this post we will configure port forwarding on a Fortigate firewall running FortiOS 5.4. What is Port Forwarding? Port forwarding is a feature on the routers/firewalls that allows devices behind the NAT to be accessed by external devices. In other words, if you want anyone on the Internet to access a service (e.g.

Linux curl examples.

Introduction In this post you will learn about curl command in Linux and then have a look at some common curl examples. What is curl? Curl is a command-line utility used for sending and getting data using URLs. curl supports various protocols, including HTTP, HTTPS, FTP, SCP, SFTP, TFTP, LDAP, TELNET, POP3, SMTP and others. It

How to update NodeJS to the latest version?

Introduction In this short post we will update NodeJS to the latest version using npm (Node Package Manager). I will update  NodeJS 8.1.0 to NodeJS 10.13 in Ubuntu 18.04.   Update NodeJS using NPM If you have NodeJS installed on your computer then you also have NPM, because they come together. NPM (Node Package Manager) is usually