This is a try out for using cx_Oracle module maintained by Oracle. The version I am trying is version 12.2 Here’s the same code: The above is a test out code, to test on how to connect to the oracle … Continue reading
I got myself a free basic account to do some hands on try outs. It is not necessary to use the AWS SDK to invoke the API. This try out is to write a simple static script to create a … Continue reading
An inventory list is kept to record hostnames and ip addresses, this inventory list (inventory.xlsx) is currently maintained by automation. For every virtual machine created, the hostname and its corresponding ip address are recorded in the list, automation will update … Continue reading
suppose if you need to enumerate ip addresses from a list, but want to exclude ip addresses belonging to a subnet here’s a solution which you can do with netaddr module. Supposed ip_from_inventory is the list of ip addresses you … Continue reading
Supposed you have collected a list item known as ip_collections, and you want to write the list to a temp file. Need to convert the string in byte, the tf.seek(0) is to re-wind the pointer back to the start of … Continue reading
Very simple webapp, I still need to do some styling with CSS… this is a simple concept. here’s an example: The output will be: Here are the jinja2 templates: Here’s the code.