/images/avatar.png

Clarity Is More Important Than Confidence

More often we are obessesed with the confidence but in real life on of the main factor which supports in achieving the success is clarity. Through out the day/month/years we have different level of confidence. Sometimes you feel more confidence other time we do not have any confidence. Having Clarity about the goals and life helps in continue then confidence. GOLDEN CIRCLE Simen Sinek introduced a framework of Golden Circle. This can help you understand about the process of clarity.

Fetching Client IP in WebLogic Server Behind Load Balancer

Load Balancers and Client IP Addresses load balancer often hides client Ip from the application. When a load balancer is used, application and WebLogic logs load balancer’s IP instead of the user’s IP. Most of the load balancers support HTTP Header X-Forwarded-For. This header often stores the user’s IP. Weblogic can be configured to read IP addresses from this HTTP header. If IP is not being stored in X-Forwarded-For we have to check on which HTTP Header Load balancer is storing IP for the client.

Backup and Restore a MySQL database from a running Docker MySQL container

Whenever you want to restore or backup MySQL database running docker container. Here is a way to do it. Taking Backup of MySQL Database running on Docker docker exec {containerId} /usr/bin/mysqldump -u root password={password} {databaseName}> {fileName}.sql docker exec t81e97a6786 /usr/bin/mysqldump -u root –password=root example> backup.sql Restoring dump to MySQL Database running on Docker cat backup.sql | docker exec -i {containerId} /usr/bin/mysql -u root -password={password} {databaseName} cat backup.sql | docker exec -i t81e97a6786 /usr/bin/mysql -u root –password=root

As a Pakistani, Do we need or have any vision?

I saw a video of Dr A.P.J. Abdul Kalam where a 8 year boy is asking question to him. The Boy asks what is the strength of India and what is the weakness of India? Dr A.P.J. Abdul Kalam reply kept me thinking what are our priorities in our life. It kept me in thinking to Rethink my priorities. He replied that India’s biggest strength is our young generation and biggest weakness is nation without a vision.