How to make a custom activation function in Keras?

Simple example on how to make a custom activation function in Keras? Source: Codementor

Simple example on how to make a custom activation function in Keras?
Source: Codementor