Tuesday, July 23, 2019

Search mail in Gmail by date

Keyword to type in search box

before : year
example - before:2018

before : yyyy/mm/dd
Example - before: 2018/07/14

Use the above trick to see mail of 13July 2018 easily.

after : yyyy/mm/dd
Example - before: 2018/07/14

Tuesday, July 16, 2019

macOS Useful shortcuts

Terminal

Open terminal - Command + space then type t enter
Enter full screen - Command + control + F
Bigger font size - Command  +  +
Smaller font size - Command + -
Default Font size - Command + O
Quit Terminal - Command + Q

Access Amazon EC2 instance using Filezilla

To connect to a running Amazon EC2 instance with Filezilla:

Edit -> Settings -> Connection -> SFTP
Click "Add keyfile..."
Browse to the location of your .pem file and select it.
A message box will appear asking your permission to convert the file into a supported format. Click Yes, then give the file a name and store it somewhere safe.
If the new file is shown in the list of Keyfiles, then continue to the next step. If not, then click "Add keyfile..." and select the converted file.
File -> Site Manager
Add a new site wih the following paramerters:
Host: public IP
Protocol: SFTP
Logon Type: Normal
User: username
Connect to the new server

Important Google Chrome Shortcuts

Chrome Developer tools

Goto line number - Ctrl + G 

GCP Google Cloud Platform URLs

AWS Important URLs

Sunday, July 7, 2019

How to import an EAR file in Eclipse?

Steps

Goto file ->Import
Alt + F ->  I


Type ear in search box
select EAR file
Click next  and then finish

Import Maven Project in eclipse

While importing a Maven Project
Choose import existing Maven Project in eclipse.

Maven project have pom.xml file.

POM is an acronym for Project Object Model. The pom.xml file contains information of project and configuration information for the maven to build the project such as dependencies, build directory, source directory, test source directory, plugin, goals etc. Maven reads the pom.xml file, then executes the goal.

How to stay revelant in IT?

Before taking up any project, choose to work on the latest technologies.
Say for example instead of working on AngularJS work on Angular 4.