Open in app

Sign In

Write

Sign In

Yashod Perera
Yashod Perera

180 Followers

Home

About

Feb 28

All You Must Know About Java Constructors

In Object Oriented Programming we are playing with classes and objects. If we need to create a Student Management System, then we have to interact with students. We use a constructor to create an object.

Java

4 min read

All You Must Know About Java Constructors
All You Must Know About Java Constructors
Java

4 min read


Feb 21

Java Access Modifiers

This article is to understand how to and where to apply access modifiers in Java. We have following 4 access modifiers. public — anybody can access private — can only use inside the class default — can only use inside the package protected — can only use inside the package…

Java

3 min read

Java Access Modifiers
Java Access Modifiers
Java

3 min read


Jan 27, 2022

When to use Java Enums

There are lots of jargons and technics to store constants in programming and enums are one of the method and let’s go through when to use these enums. We use enums when we satisfy following both conditions To define never changing values. To define collection of values. As an example…

Java

2 min read

When to use Java Enums
When to use Java Enums
Java

2 min read


Sep 21, 2021

Kubernetes pods, It's all you know about.

Pod is the smallest instance in Kubernetes that you are working with. This post will cover everything you need to learn about pods and how to deploy it. What is a pod why not containers? We use pods in k8s to deploy our application. Someone may ask why not to use containers in k8s and the answer…

Kubernetes

5 min read

Kubernetes pods, It's all you know about.
Kubernetes pods, It's all you know about.
Kubernetes

5 min read


Sep 20, 2021

Kubernetes Architecture.

Kubernetes is a container orchestration tool from google and it is the most popular container orchestration tool currently which is provided by most of the cloud service provided as well. There are some more such as Docker Swam, Nomad, OpenShift. …

Kubernetes

5 min read

Kubernetes Architecture.
Kubernetes Architecture.
Kubernetes

5 min read


Sep 20, 2021

What is Kubernetes and Why we use it?

Micro-services and containers are more popular in this era of technology when it comes to manage and deploy large systems. Hello Developers, This is the first post of a series of kubernetes. First let’s check what is kubernetes and why we use it. Need of Kubernetes Docker make our life easier when it…

Kubernetes

3 min read

What is Kubernetes and Why we use it?
What is Kubernetes and Why we use it?
Kubernetes

3 min read


Jul 26, 2021

Singleton design pattern in go

Singleton design pattern is the one of easiest design pattern and it is a creational design pattern. Let's go through what is singleton, where should we user it, how to implement it and implementation in goLang. What is singleton design pattern It says single. Yes singleton design pattern use only single object throughout the application…

Singleton Pattern

2 min read

Singleton design pattern in go
Singleton design pattern in go
Singleton Pattern

2 min read


Jul 18, 2021

Factory Design Pattern in GoLang

Should I make the object in my own or let some factory to make it? Programs must be expandable and they eventually expands hence you need to write codes which can be expand without much effort. Factory design pattern is a creational design pattern to predefined blueprint of a solution…

Factory Design Pattern

2 min read

Factory Design Pattern in GoLang
Factory Design Pattern in GoLang
Factory Design Pattern

2 min read


May 27, 2021

How to find and kill a port

This is a simple approach which we need on daily basis which is find and kill a port. Following are the steps to find and kill the port. You should find the process id which is known as pid using the port as follows. sudo lsof -i :<port_id> Following is…

Find Port

2 min read

How to find and kill a port
How to find and kill a port
Find Port

2 min read


May 12, 2021

Install git, npm, vs code, mysql-server in linux.

Let’s do those with command line interface which is much easier. First thing first. You should update and upgrade first. $ sudo apt update $ sudo apt upgrade Install git $ sudo apt install git Yes it is that simpler. Install npm $ sudo apt install npm Install VS code $ sudo apt install software-properties-common apt-transport-https wget $ wget –q https://packages.microsoft.com/key/microsoft.asc -O- | sudo apt-key add - $ sudo add-apt-repository “deb[arch=amd64] https://packages.microsoft.com/repos/vscode stable main” $ sudo apt install code

Linux

1 min read

Install git, npm, vs code, mysql-server in linux.
Install git, npm, vs code, mysql-server in linux.
Linux

1 min read

Yashod Perera

Yashod Perera

180 Followers

Technical Writer | Tech Enthusiast | Open source contributor

Following
  • Veli Bacık

    Veli Bacık

  • Vimukthi Mayadunne

    Vimukthi Mayadunne

  • Joshua Otwell

    Joshua Otwell

  • Soumadri Banerjee

    Soumadri Banerjee

  • Nic Chong

    Nic Chong

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech