Back on Track

Hi Bloggers and my readers 🙂

I just thought of writing a blog as I hadn’t published any of the stuff from past few days. So here it begins(or you can say it’s already started :p)

I really put my brain into my academic work from last few days but had gained knowledge regarding some simple things. Many of you may be familiar with it but for me it was new.

I got to know about Snipping tool in Windows to simply crop(It is so common but pitty me that I got to know about it now.)

But it’s better to be late than never.

I don’t know what’s happening that I was not getting much output as the error remains for so long. Sometimes I feel stuck into it. The answer I got was that may be beacause of my inner self. Yeah! may be I wasn’t trying that hard that much I can do.

But will definately boost myself now. One more thing I got to know about is that we can make a bootable pendrive through ubuntu “Startup Disk Creator”

Apart from this I had made my academic practical report in Latex just fro knowledge purpose related to LaTeX.

P.S: The title is a kind of motivation for me to get back on Track…. 🙂


Enhancing Knowledge

Today I got to know about a command in linux using which we can merge two pdf files and can even burst a pdf file into separate pages.

sudo apt-get install pdftk pdftk file1.pdf file2.pdf file3.pdf cat output newfile.pdf

pdftk newfile.pdf burst

One more thing which can be done is to join two pdf files in landscape view.

pdfjam Page1.pdf Page2.pdf --nup 2x1 --landscape --outfile Page1+2.pdf

Today I also helped some of my friends in LaTeX.

I also put my hands on windows today and installed Appserv and run my octave project over there.

Apart from this I opened firefox from tty using command:

xinit /usr/bin/firefox — :9

Tty refers to “teletype”.

Its a device that acts as a Terminal in UNIX and we can do GUI work from there also.

Press Ctrl + alt +f1 to open tty. To open another tty press ctrl+ alt + f2

To exit press ctrl + alt + f7

Signing off ………………….. 😉

Making Ubuntu a Remote Server

Today I tried making my PC a remote server. I had tried it on Ubuntu 14.04

What is a Remote Server?

In simple words its nothing much but a Computer that is not attached to a user’s keyboard but over which he or she has some degree of control (like can see data of that computer, can retrieve or send data etc.)

For going deep you need to know about ssh (Secure Shell). I had  written about it in my old blogs. You can Google it too. Below are the steps which I had followed:

sudo apt-get install openssh-server

OpenSSH is a freely available version of the Secure Shell (SSH) protocol family of tools for remotely controlling or transferring files between computers. Traditional tools used to accomplish this is telnet which is not much secure.

After this:

sudo vim /etc/ssh/sshd_config

You can edit this as per your preferences. But first take a backup of this file for later default configurations if needed.

sudo restart ssh

To check your ssh daemon is running or not:

ps -A | grep sshd

This command should produce a line like this:

<some number> ? 00:00:00 sshd

sshd (OpenSSH Daemon) is the daemon program for ssh. This program replace rlogin and rsh and provide secure encrypted communications between two untrusted hosts over a network.

In simple words, sshd listens for connections from clients.

Now try to enter your remote server from some other system using:

ssh user@host_ip

Done 🙂

P.S: Above is just first step towards making a system a remote server. For making it much secure like hiding some data or creating users. One need to explore about it more.

The Day’s Deeds

I was getting a message on Windows saying its LICENSE will expire soon. Go to settings and activate it till 19th August.

I first searched about the drawbacks of this. As such it will not harm any of my PC data but will let me use windows with some less functionalities.

For solving this one can use Windows Loader or Kmspico. But wait think about it!!

As kmspico is an Illegal program. So better to avoid it.

I also put my hands on mutt today. Firstly let us talk about mutt.

Mutt is a small but very powerful text based program for reading electronic mail under UNIX /Linux operating systems or for CentOS also, including support for color terminals, MIME, and a threaded sorting mode.

I had tried it on ubuntu 15.10 .Below are the installation steps for mutt.

sudo apt-get install mutt

After installing you need to go to your gmail settings and then go to Forwading and POP/IMAP.

Then click on Enable IMAP

After this go to configuration instructions of your email client and note down the Incoming mail server port from there and Save the changes.

Now make a directory and files for mutt :

mkdir -p ~/.mutt/cache/headers
  mkdir ~/.mutt/cache/bodies
  touch ~/.mutt/certificates
  touch ~/.mutt/muttrc
  vim ~/.mutt/muttrc

Now add below data in muttrc file or you can add much more as per your preferences:

set ssl_starttls=yes
set ssl_force_tls=yes

set imap_user = ‘’
set imap_pass = ‘****’

set from=’’
set realname=’Deepti Sharma’

# Change the following line to a different editor you prefer.

set editor = “vim”

set folder = imaps://
set spoolfile = imaps://
set postponed=”imaps://[Gmail]/Drafts”

set header_cache = “~/.mutt/cache/headers”
set message_cachedir = “~/.mutt/cache/bodies”
set certificate_file = “~/.mutt/certificates”

set smtp_url = ‘smtps://****’
set include
set sort = ‘reverse-threads’
set sort_aux = last-date-received
set move = no
set imap_keepalive = 993

Now just type mutt on console for accessing your gmail through terminal.

For more info read the manual page of mutt.

Apart from this I want to discuss about some of the Android Apps which can be used for navigation purpose.

The first choice about which hardly there can be a person who is having no idea is Google Maps.

But I want to try some other options. There is app also. You can even add a location. It uses OSM data/map. It shows distance and time to reach your destination.

Another app I had tried was Navmi. I had installed the map of India once and now I can search on it offline. It shows the distance and time taken to reach at a particular place. It also gives ideas about the recent places in your location. You can change the theme and appearance of map also as per your preferences.

The last one I had searched is GPS Route. Among all I likes this one the must as its having better interface than others and I got to recognize the way much easier using this app. It shows different ways using highways , railway lines or not etc.

Though it needs internet.

I also got to know about Cmake and little bit more about php in today’s presentation session.


Stealing Era

To see the origin and much more content refer here

We are in this modern era where everyone participates in thievery. We all are a huge fan of Larry Tesler because of his invention of copy and paste commands. Its is so beneficial in some ways but not in every sense.

I saw a movie Udta Punjab while I was coming back from my Goa trip in my cell phone. I was really impressed by Alia’s acting in that movie. It is a fine movie and I was stunned by watching the harsh reality of Punjab under addiction.

Its not the case related to Punjab only, infact it is happening in every sector.

Now coming to the point, we all know that the movie was leaked by the Censor board before its release date. And thats what I am talking about is stealing someone’s hardwork and distributing it among others is illegal. No one has right to distroy others efforts, even if the intentions behind the success is money. (which I guess is the intention behind most of the people)

My main intention behind writing this blog is firstly that this is purely unlawful to steal someone’s work at the cost of his loss. Secondly where is that nation? that Land of five waters (Punjab) which is now drastically converting into a land of poison 😦

X Just Say no to Drugs X

“You don’t need heroin to be Hero”

Thievery: Action of stealing another person’s property

commensurate: In proportion

euphemism: too harsh

Amusement: Entertainment

Get high on life, Not drugs!


Go Goa Gone!

Today I am gonna discuss about my journey to Goa. It was a wonderful trip and a new experience for me. I got to know some of the new things over there and new experiences. 

I just thought of writing some of stuff of my journey. We (me & my family) went to delhi first by train and from there I took the flight. later on it was my plan to come back via Rajdhani. As I had never travelled through Rajdhani before.

Now coming  to the place i.e Goa. It is a beautiful city to visit. There are many tourist places like Old goa church, Panji church and many more churches are over there. One must try cruise. A museum giving historic knowledge is there in Old goa.

Some of the points which I got to know from there are:

  • Vasco came to Calicut first in India via Europe and America.
  • Another one is that in previous decades scluptures of the persons who lost there life in the battles are made just to pay tribute and homage to them.

There are many more such historic clips. You have to visit there for that :p

Open language which people over there speak is Konkin

A phrase I got to know there is:

“Maka Naka Go” which says “mujhe nhi chahiye”

But yeah Beaches are the cake. It is so amazing. There are many beaches in Goa.It takes a month to visit them all :p

I had visited some of them like Baga Beach, Donapal, Miramar, Calangute.

There is a fairy over there which moves from one Bank of the river to other. It is a free service started by govt. 

I was thinking that it will be good of Ola cabs will start over there but for overcoming that there are many plus points as the bus service over there is very successful.

But still I suggest to start ola cabs as the bus don’t go to some of the spots like Aguada Fort. 

Now wait here I am going against my statement as I got to know later that one can hire a car or bike for self driving for a day or more in cheap rates.

But these rates varry with the season as its costly in December.

Overall it was an amazing trip. I really enjoyed it and can’t explain everything in a single blog. I must say service of Rajdhani and Shatabdi is good.

P.S: Its more fun to visit there in Christmas days.But as after day the night comes. Weather is cool in July-august. 😉

C language: OOP or not?

Original content of this post is present here

Before writing this blog my belief was that C is a procedural language and another one C with classes (C++) is an object oriented programming language designed by BJarne Stroustrup.

But thats not so. We can take it in two ways either to go with C++ thinking that C doesn’t provides OOP features or take it as a challange to go with C making it an OOP language.

I had read it somewhere that structs & unions in C are far similar to classes in C++. Only difference I found is that by default the access specifier in classes is private but in case of structs & unions it’s public.

Then I thought it need some advance knowledg for completing this challange. But that’s not the case. The basic knowledge which I am having till now is enough.

One need to go through the following topics to challenge oneself.

  • Pointers
  • Structs
  • Function
  • Dynamic Memory Allocation
  • Function Pointers
  • Typedef

    Once you are done with above topics you can go ahead. In case you want to have a brief introduction you may visit this tutorial   

    beef: complaint 

    convoluted: twisted 

    notion: belief