My article on Ethical Hacking got published :-)

Feeling happy to share that “Ethical Hacking is Hacking to Help” is my article which got published in #accion May newsletter.  Last time the article was authored by Company’s CTO.

Link of article is: https://www.accionlabs.com/blog/2019/5/30/ethical-hacking-is-hacking-to-help?rq=aseem%20jain/

It’s a quick n fun read, if you have a couple of minutes, click the link and read it. 

Trail Hopping in San Antonio by Ash on his folding bike

My source of inspiration for biking Mr. Ashutosh Bijoor has visited San Antonio recently and has captured the city with is a unique perspective. Unfortunately, I could not join him since I went to California for a mountaineering trip to climb “Mount Shasta” during that time.
Enjoy the San Antonio video taken during the bike ride. River Walk TrailMedina River TrailLeon Creek Trail

Read details in this blog over here: https://bijoor.me/2019/05/30/trail-hopping-in-the-us-san-antonio/

Enjoy the San Antonio video taken during the bike ride. 
River Walk Trail
Medina River Trail
Leon Creek Trail

I am going to cover all 3 trails on my folding bike soon 😉

Exit codes in Python

0 and 1 are the exit codes.

exit(0) means a clean exit without any errors / problems

exit(1) means there was some issue / error / problem and that is why the program is exiting.

This is not Python specific and is pretty common. A non-zero exit code is treated as an abnormal exit, and at times, the error code indicates what the problem was. A zero error code means a successful exit.

This is useful for other programs, shell, caller etc. to know what happened with your program and proceed accordingly.

For the record, you can use POSIX standard exit codes defined here.

Example:

import sys, os

try:
    config()
except:
    sys.exit(os.EX_CONFIG) 
try:
    do_stuff()
except:
    sys.exit(os.EX_SOFTWARE)
sys.exit(os.EX_OK) # code 0, all ok