What is .gitignore and how do i generate or write one?

gitignore file is used to specify files which should be untracked by Git. Each line of the file represents a filename, directory, or pattern. When git looks for changes in your working directory, it will automatically ignore any file that matches an entry in your .gitignore file. For example, when working for a java spring … Continue reading What is .gitignore and how do i generate or write one?

Embedding source code into powerpoint.

Embedding code snippets in power point for any presentation is a painful task , as there is no support to format the code or present it with proper indentations or the way code is shown in an editor One trick is to grab the screen shot and then paste it on powerpoint but the end … Continue reading Embedding source code into powerpoint.

Can i copy files from host to container and from container to host ? If so, how can i do it ?

Yes, you can copy files from host to container and from container to host. The docker cp utility copies the contents of source to the destination. You can copy from the container’s file system to the local machine or the reverse, from the local filesystem to the container. Localhost --> Container docker cp <path of … Continue reading Can i copy files from host to container and from container to host ? If so, how can i do it ?

What are secrets in Kubernetes & how do you use it ?

A Secret object in kubernetes contains sensitive data such as client secret, password, token or a key. Secrets provide a way to store these sensitive informations separately from Pod definitions or container images. Since these secret objects can be created independently from Pod, there is a less risk of these information being exposed during the … Continue reading What are secrets in Kubernetes & how do you use it ?