Monday, 14 December 2020

Python regex to match start and end of sentence

 


#Check if the string starts with "The" and ends with "chennai":

txt = "The rain in chennai"

x = re.search("^The.*chennai$", txt)

Saturday, 28 November 2020

Why do we need weekend ??

 

  1. To improve on yourself as a person rather than always improving your professional skills.
  2. To re-energize yourself, when you go back after weekend, you are more relaxed and productive. A couple of days are really required to forget the rudeness of your office colleagues and managers.
  3. To spend time with friends and family, and to plan a weekend trip in a nearby place. It is also important to keep strengthening the bonds with the others around you, and these days you will always remember even when you retire.
  4. To spend time alone and learn some new skills. You can meditate and learn about spirituality, or you can enhance your skills in something else, which can help you, if the current technology you are working in, goes outdated. You will come out to be a more confidant and secured person.

Monday, 26 October 2020

Hackathon flow

 


Flow 

Register -> Create Teams -> View Problems/Deadlines/Leaderboard -> Submit Solutions -> Results

Monday, 3 August 2020

Ansible tower / AWX notification Microsoft teams channel



It's not a http header, it's the payload, which you can't alter. 

A WebHook Notification template type won't work for Mattermost/MS Teams/RocketChat or any other Slack compatible communication platform.

Try selecting Mattermost as the notification type and point it to your Teams webhook url; This should do the trick.

Friday, 31 July 2020

Scrum Process (two weeks sprint)



Day 1 : Creation of building blocks.

Day 2:  Converting building blocks into userstories

Day 3: Sprint Planning ( Converting userstories into JIRA tasks)

Day 4 - Day 13: Sprint run (incase of 2 weeks sprint) (Daily stand ups)

Day 14: Sprint Retrospective 

Sunday, 19 July 2020

Configuring zerotier on ubuntu


root@instance-20200602-1459:/# sudo snap install zerotier-one
root@instance-20200602-1459:/# sudo snap connect zerotier-one:network-control
root@instance-20200602-1459:/# sudo zerotier-one.zerotier-cli info
200 info ******** 1.4.6 ONLINE
root@instance-20200602-1459:/# sudo zerotier-one.zerotier-cli join *******
200 join OK






Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...