Sunday, 10 March 2024

Who Am I?

 Yes, you read it right I have been asking the same question all my life. To myself my dear ones and to what do you call it? "acquaintance" I meet in my life. However, I feel someday I would get time to write all the things I have known or heard back. Till then let me procrastinate.

Saturday, 1 January 2022

Amazon Web Services

To understand AWS, it's very important that you know what exactly is cloud environment. 

This environment is something which you can think of as an operating system or say your Personal Computer.

Just like your PC which have it's own memory and CPU for computing and running a program or an application similarly the program needs the same kind of environment (think instances) to run the application. Depending upon your need you can configure and install the same over cloud. So basically, We are going to buy a computer which is going to run our application and then the same can be used by multiple users & process their requests. The capacity can be increased or reduced depending on the need. 

Now coming back to AWS, as you already know it's Amazon Web Services and is mainly used for availing cloud computing services.

The basic terminologies which you will often come across are:

EC2 - Elastic Compute Cloud -> Just think of it as instance which can be configured as per the size requirement of CPU and processing power needed for the Operating System.

RDS - Relational Database Service -> Just think of it as memory which will be used to store your program, files, images etc.

S3 - This also can be used to store large files.

Cloudwatch - To monitor your instance and it's activity.


Saturday, 28 August 2021

Git Tutorial

First up, for you to push and pull the code you'll need a github account and also git installed on your system. If that's done continue reading -

• Go to the project top most folder and on right click you will see 'open gitbash here'.

• Type git init

• Now, in your github account, At the top right of any of the page, you should see a '+' icon. Click on that and Select 'New Repository'. After giving it a name click on 'Create Repository'.

• You will see a page titled 'Quick Setup'

• Copy the link in input right beneath the title, which looks like https://github.com/yourepo/repo.git

• Go back to command line on your system and type - git remote add origin [copied link]

Ex: git remote add origin https://github.com/yourepo/repo.git

• Push your branch by typing - git push origin master

• That's it you're done.

 

Thursday, 8 April 2021

Easiest Git Tutorial

First up, most probably you will want to contribute to the already existing repository. And I'm assuming you might have done all the id creation and git installation steps.

Basically you wil be using these set of commands:

• Go to the repository and copy it's link from "Add Code" section.

• Go to the folder where you want to create the local copy and open git bash by right clicking.

• Write command ->  git clone <url you copied>

• Now you'll be having your repo in your folder get inside the same.

• Now you can either create a branch to separately add your code or you can commit your code their itself.

• Most probably you'll be creating branch. 

• For creating branch get inside the repository which got cloned and then open git bash.

• Write command ->  git checkout -b "Branch Name"

• Now you write your changes and commit it their in your branch 

• For commiting the changes you must make sure that you are on the branch where you want the changes to be committed by you.

° If not on branch, type -> git checkout <branch name>

• Now at first send your changes to the staging area so as to be committed by typing -> git add .

• Now commit using -> git commit -m "Some message"

• Now before pushing your changes make sure you are having the latest pull from the base/master branch. For doing the same go to branch base/master by typing -> git checkout <master>

• Get all latest changes -> git pull

• Now again switch back to your branch by typing git checkout <your branch >

• Now merge your code with the master branch so as to take the latest changes on your branch by typing  -> git merge master 

• If there exists any merge conflict rectify it by opening your editor and making the necessary changes and then again add and commit it by following the above commiting steps.

•  Finally push the changes you did by typing ->
git push origin <branch where you want to merge>

• That's it done. 

• Hope you liked it :) 

Tuesday, 10 July 2018

Storage Classes In C

Variables in C has a storage class and a scope. The storage class identifies the part of memory where storage is allocated for an object/variable which is declared & defined.It defines how long the storage allocation continues to exist. It also determines the scope which specifies the part of the program over which a variable name is visible, i.e. the variable is accessible by name. There are four storage classes in C:

* automatic: Used with auto keyword in local scope.Initializes with garbage values if not defined.

* register: Used for frequently used variables.Initializes with zero if not defined.

* external: Used for global scope.Initialized with zero If not defined.

* static: Used for retaining the value during function calls.Initializes with garbage values if not defined.

Thursday, 30 March 2017

Need is to develop an intellect crowd instead of searching

With sudden urge inside the society, it seems people are interested in the click to know more section since they have no work to do neither they have the ability to control their guts. Well, people have some set of gut feelings which all of a sudden can change their perception about any of the things present around them.

We can use this urge as a resource for one kind and development(if experimented repeatedly) For example let's take some set of students who are looking to understand and express their opinion about things and their thought.One can be developed as an asset for the future as he/she tends to help the surrounding around and explore the beauty of nature filled with magic.

At least give a try at things to a child who is showing some interest it really can be beneficial in the long run.Help people know their secret to learn more about.It really would help them know about their ability to realize their potential.

Make sprints about the working culture so that knowledge sharing groups can be found in much ease.

Today i came across an internship fair to learn about internship schemes and requirements and i assume companies will try to understand that the internship leads to brain development in a guided path and they can guide people in  best possible manner.

Saturday, 12 November 2016

First of mine.

So now when I have started writing it i gotta be telling you how it came to writing.
There was a time back in school when I used to write each and everyday though with poor or no sense( though i am continuing it now because i have no clue what the reaction would be ).
My life has been exhalirating and there is not even a single evidence in my life where i could prove I'm better( though i still feel it ) than else.
Infact I'm writing now to re read it. Because i don't know whether I'm going to post it or not.Anyways back to the point of me introducing myself. I am Ravi Raj. I hail from one of the most diverse place in the world. I study computer science. I read a lot and all you will know in this blog is how I plan everything in my mind while i read anything.

The first thing which i want to tell you about is i am a big tech enthusiast though i don't own an iPhone or Alienware kinda gadgets because of you know? student issues. I have learnt so many things but i don't know how i am going to tell you what i am thinking inside  *Pease don't forgive me if i do  something wrong* because i really want to express the best of mine.Having assured this let me end it. So that you can wait and i can exaggerate.I would be telling you atleast one story everyday till i die. You may like it or may kill me so that i stop writing. Thanks.