Pulling TfL Line Status using REST APIs
The London Underground is the oldest underground train system in the world. Despite its age however, its owners (Transport for London) seemed to have spared no effort to ensure that…
Querying Cisco DNAC using REST APIs and Python
After copious amounts of blood, sweat and tears, I managed to compile a script which allowed me to enter a MAC Address and query Cisco DNA Center using REST APIs…
Checking for CLI Outputs using Netmiko
Recently I found myself in a situation where I had to find every Switch in a deployment that was hitting a specific bug. This bug ultimately meant that certain commands…
Line Breaks in Python
When learning basic Python, I had to restructure the way I looked at things. An early problem I encountered was the simple task of printing output to new lines, one…
Confirming Your Current User Account
When working on Linux, you might not always be able to see which user you are logged in as by default, or perhaps you want confirmation before making a change.…
Recent Comments