Skip to content
GOA Systems

GOA Systems

  • Home
  • Git repository
  • About me
    • Resume
    • Public key
  • Wallpapers

Category: Python

Format a string with content in Python

I use the ssh-keyscan command to get the public keys in order to use the ssh and scp commands without warnings and errors. To generate a list of hosts I feed the IPv4 and IPv6 address and the hostname to a function to generate the command. To format these three values into the string with… Continue reading Format a string with content in Python

Published 2023-04-13
Categorized as Python

Parse JSON output from an API with Python

As great as PowerShell is with JSON objects you can’t always use it because it is not available on each and every machine with Linux out there. And I don’t know a way of parsing JSON code with plain bash properly. Fortunately a lot of servers come with “python” installed and it can be used… Continue reading Parse JSON output from an API with Python

Published 2022-01-11
Categorized as Bash, Linux, Python

Recent Posts

  • Bulk modify PuTTY sessions
  • Theory vs. experience
  • I’m a hybrid morning person
  • Cleanup Linux logs
  • Start Spring Boot with classpath and class

Archives

  • December 2024
  • April 2024
  • January 2024
  • December 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • April 2023
  • November 2022
  • October 2022
  • September 2022
  • June 2022
  • May 2022
  • April 2022
  • February 2022
  • January 2022
  • December 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • February 2021
  • January 2021

Categories

  • Apache
  • Bash
  • Concept
  • Docker
  • Git
  • Java
  • Linux
  • PowerShell
  • Python
  • Security
  • Small hacks
  • Software
  • Software development
  • SSH
  • Uncategorized
GOA Systems
Proudly powered by WordPress.