Timezone aware datetime in mongodb using pymongo
MongoDB stores dates in UTC timezone by default. This makes it possible to do timezone conversion to be done in both client side side or server side.
dependancies $ pip install pytz pymongo code from … read more
Even Fibonacci numbers
Today, I am going to solve Project Euler’s 2nd problem Even Fibonacci numbers.
Day 002 Problem statement:
Each new term in the Fibonacci sequence is generated by adding the previous two terms. … read more
Multiples of 3 and 5
Happy new year everyone! Hope you had a great holiday. As a new hope for this year I wanted to improve my problem solving ability and also to improve my programming skill. So I am doing 100 days of … read more
Create a persistent menu for Facebook messenger bot
Persistent menu The persistent menu allows the bot to have menu inside Messenger conversations. This persistent menu items will help people to discover and access core functionalities of your … read more
Create a Get Started button and Quick Replies for Facebook messenger bot
This blog is part of the chatbot blog series, https://www.idiotinside.com/2017/12/22/create-fb-messenger-bot-aws-lambda/
Get started button The welcome screen is the first thing people see when they … read more