Posts

How To Convert Your Code To Image For Social Media

Image
Hello guys, in this post, I will tell you how you can convert your code into images so that you can post it on your Twitter feed or else where. Head on to: https://carbon.now.sh You will presented with its homepage where it can be seen that carbon is to create and share beautiful images of your source code. Start typing or drop a file into the text area to get started. 1. You can go through several styles and pick the best for you:  2. Next, choose the language of your code: 3. Type your code in the center image:  4. Click on Export button, type your file name, select size (1x, 2x, 4x) and download either in PNG or SVG format.

Nagarro Placement Process

Image
Nagarro Placement Process Welcome to Nagarro Placement Process Post: I have been hired by Nagarro this year for the role of Software Developer. Through this post, I want to share about my experience and you will also get to know about Nagarro as an awesome organization and also its placement process. About Nagarro: Let's  learn about Nagarro in following points. Why Nagarro: Nagarro has super modern offices with young, friendly and informal atmosphere among the employees. Nagarro pushes ' Work From Anywhere ' policy aggressively for all of its employees which means you have higher chance of having to work remotely than from its offices unless clients demands. It even boasts to have this policy even before COVID started. Nagarro is an MNC having its headquarters in Germany and main development center in Gurugram, India. The company currently employs over 16,000+ employee working across all its offices over ...

Route Order in Angular - Why Is It Important?

Image
[ UPDATE : There is an error on loading of images in every post. I am working to resolve this as soon as possible. Screenshots were mere snap of windows so you can still follow the steps written in text and do the work!]  In this post, I'll be telling you what is route order and the importance of it. What are Routes? - The Router service's Routes represents a route configuration. A single route is defined by a configuration object whereas a set of routes are collected in a Routes array to define a Router configuration.  - The router attempts to match segments of a given URL against each route by using the configuration options defined in this object. Route supports a variety of route kinds, including static, parametrized, redirect, and wildcard routes, as well as custom route data and resolve methods. - Typically, the Routes array contains the following properties: path and component. Path: This contains a string and contains URL path to the route. It is the path to matc...

How To Create A Pipeline Using Jenkins and GitLab

Image
[ UPDATE : There is an error on loading of images in every post. I am working to resolve this as soon as possible. Screenshots were mere snap of windows so you can still follow the steps written in text and do the work!]  Hello, in this post I will show how to create a CI pipeline using Jenkins, SonarQube and GitLab. Before proceeding, make sure you have basic knowledge of commands in Git and Git Bash. If you have any doubt or query please comment it below so that others having same question can benefit from it.  Some common URL for following applications: - Jenkins : localhost:8080 - SonarQube ( version sonarqube-9.2.4.50792 ): localhost:9000  How to open SonarQube on your local machine: 1. Go into the folder where your SonarQube installation is located. From here go to: \bin\windows-x86-64. 2. In address bar above in the file explorer, clear out the rest of the text and type cmd so that it opens a Command Prompt terminal in that directory. 3. In the Command Prompt, ty...

How To Get Data From MySQL Table to EJS page using NodeJS

Image
[ UPDATE : There is an error on loading of images in every post. I am working to resolve this as soon as possible. Screenshots were mere snap of windows so you can still follow the steps written in text and do the work!]  Welcome to another tech post. In this post, I will be showing you how to get data from the MySQL table which is made using SequelizeJS into our view which is an EJS file in NodeJS. If you want to learn how to create a table using SequelizeJS, then refer to my other post:  How To Create MySQL Table with SequelizeJS (sumitkp.in) Before starting to read further, make sure you have prior knowledge of NPM packages, NodeJS, SequelizeJS, EJS, JSON and ExpressJs. Something about the EJS: EJS stands for Embedded JavaScript. EJS is a simple templating language that lets us generate HTML markup with plain JavaScript. It offers fast development time. It has a simple syntax and speedy execution. It is easy to debug EJS errors. EJS has a large community of active users and...

How To Create MySQL Table with SequelizeJS

Image
Hello, in this post I will be showing how you can create an SQL table using JavaScript without the knowledge of MySQL. Sequelize is a promise-based  Node.js   ORM tool  for  Postgres ,  MySQL ,  MariaDB ,  SQLite ,  Microsoft SQL Server ,  Amazon Redshift  and  Snowflake’s Data Cloud . It features solid transaction support, relations, eager and lazy loading, read replication and more.

How To Fetch Data From MySQL table In Java Using Hibernate

Image
In this post, I will be showing you how to fetch data from MySQL table and show it in the console of your IDE using Hibernate and Java. If you have chosen Hibernate version 3.0 in your DTD in hibernate.cfg.xml file and if you refer to https://developer.jboss.org/docs/DOC-15062#api . you will find that query execution methods like find(), iterate(), filter() and delete() has been deprecated instead we'll be using createQuery() method. Later in this document, you will also get error for using Query class as it is deprecated but don't worry about it as it will still work. You can also read the document above completely to understand what new features are released and which ones have been removed in newer version. Suppose you have a Student class: @Entity public class Student{     @Id     private String id;     private String name; //getters and setters here : : : } and you have the following data in your Student MySQL table. ID|Name 1  | Sumit 2 | Am...