How to iterate through a nested JSON, search for a specific value and print the key with Python

Published on February 27th 2024 - Listed in Coding Python - 0 comments

How to handle JSON decode error in Python script with try and except

Published on February 20th 2024 - Listed in Coding Python - 1 comments

Why does a Python variable keep the default value although changed inside a function?

Published on February 16th 2024 - last updated on February 17th 2024 - Listed in Coding Python - 0 comments

How to create a Python function which accepts multiple input arguments

Published on February 15th 2024 - Listed in Coding Python - 0 comments

RabbitMQ queue monitoring and fixing check_rabbitmq_queue monitoring plugin

Published on January 4th 2024 - Listed in Monitoring Coding Perl Linux - 0 comments

Shell scripting: How to verify a command actually exists on the system

Published on December 7th 2023 - Listed in Linux Shell Bash Coding - 2 comments

Travis CI Builds have been temporarily disabled for public repositories due to a negative credit balance

Published on September 29th 2023 - Listed in Git Coding Cloud - 0 comments

How to grep for an exact string match with Perl

Published on August 4th 2023 - last updated on August 7th 2023 - Listed in Perl Coding - 0 comments

check_esxi_hardware 20221230 released: Bugfix when no Serial Number detected (NoneType)

Published on December 30th 2022 - Listed in Hardware VMware Virtualization Monitoring Coding - 0 comments

How to use SFTP password authentication in a Bash script using non-interactive (batch) mode

Published on December 23rd 2022 - Listed in Coding Bash Linux Shell - 0 comments

The problem using output redirection >/dev/null as a variable in Bash Shell script

Published on December 22nd 2022 - Listed in Coding Bash Linux Shell - 0 comments

Top 5 Java errors and how to understand them

Published on October 21st 2022 - Listed in Coding Java - 0 comments

Understanding Perl Net::DNS resolving and patching check_rbl to support a specific nameserver

Published on August 5th 2022 - Listed in Perl Coding Monitoring DNS Mail - 0 comments

How to append additional key value pair to a JSON object in MySQL or MariaDB

Published on May 13th 2022 - Listed in MySQL MariaDB Database Linux Coding - 0 comments

Python coding: Why query results of mysql.connector are in brackets and how to print real values

Published on March 10th 2022 - Listed in Coding Python MySQL Databases - 0 comments

How to send HTTP requests in Python, handle authentication and JSON POST data

Published on February 15th 2022 - Listed in Coding Python - 0 comments

ReferenceError: primordials is not defined when running gulp with Node.js version 12 and above

Published on October 6th 2021 - Listed in Coding - 2 comments

MySQL syntax error when inserting empty values using PHP (not automatically assigned NULL)

Published on September 22nd 2021 - Listed in PHP MySQL MariaDB Database Coding - 0 comments

urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version! python dependency warnings

Published on August 19th 2021 - last updated on February 15th 2022 - Listed in Monitoring Python Coding - 4 comments

Unable to deploy Rancher managed Kubernetes in LXC/LXD containers due to kube-proxy and nf_conntrack_max values

Published on July 23rd 2021 - last updated on December 8th 2021 - Listed in Docker Kubernetes Rancher Internet Cloud Coding LXC Containers - 0 comments

How to use Linux hw-probe behind a HTTP Proxy (for probe upload to linux-hardware.org)

Published on June 11th 2021 - last updated on June 15th 2021 - Listed in Linux Perl Coding Hardware - 0 comments

How to use Perl regular expression and save match to a new variable

Published on April 21st 2021 - Listed in Perl Coding - 0 comments

Better (PHP) coding and spotting syntax errors with CodeLobster IDE editor

Published on April 16th 2021 - Listed in HTML PHP Coding - 0 comments

How to do bulk/mass changes on DNS records in PowerDNS with MySQL backend

Published on March 2nd 2021 - Listed in DNS PowerDNS Linux Coding Shell MySQL Database - 0 comments

How Slot Games are categorized and made (from a creator point of view)

Published on March 1st 2021 - Listed in Internet Coding - 0 comments

How to use sed to append quote characters around a DNS TXT record

Published on February 24th 2021 - Listed in DNS PowerDNS Linux Coding Shell - 0 comments

PHP: Translations with gettext not working in Apache mod_php but works on command line (caused by mod_perl)

Published on November 17th 2020 - Listed in Apache PHP Linux Coding - 2 comments

Fixing Perl script using LWP unable to connect to TLS 1.2 URL; failing with sslv3 alert handshake failure

Published on November 2nd 2020 - Listed in Perl Coding Security TLS - 0 comments

How to convert form fields into JSON data and submit data with HTTP POST using curl in PHP

Published on October 28th 2020 - Listed in PHP Coding - 0 comments

How to match case insensitive (uppercase and lower case) strings with regular expression in Bash

Published on September 4th 2020 - last updated on November 25th 2021 - Listed in Coding Bash Linux Shell - 0 comments

How to remove the first word of a line in Bash - comparing awk vs. cut vs. sed

Published on September 4th 2020 - last updated on August 4th 2021 - Listed in Coding Bash Linux Shell - 3 comments

Implementing Swiss Payments Code (SPC) and QR code invoicing with Invoice Ninja

Published on June 30th 2020 - last updated on May 23rd 2022 - Listed in Internet Coding Personal - 13 comments

Python: Using argparse with either argument required by creating argument group with mutual exclusion

Published on February 18th 2020 - Listed in Python Coding Monitoring - 0 comments

First steps with Github workflows (actions) for simple code/syntax validation

Published on November 25th 2019 - Listed in Linux Coding Git - 0 comments

From strings to arrays to hashes and how to view the values in Perl

Published on June 4th 2019 - Listed in Perl Coding - 0 comments

Regex != regex in sed (or: replacing digits in sed)

Published on December 14th 2018 - Listed in Shell Linux Coding - 0 comments

Another way to append a text in sed using ampersand

Published on August 15th 2018 - Listed in Linux Shell Bash Coding - 3 comments

Retrieving a value from XML document in Linux Bash

Published on July 24th 2018 - last updated on November 12th 2020 - Listed in Monitoring Linux Icinga Shell Coding - 0 comments

Bash: date -d 1 month ago still shows the same month

Published on March 29th 2018 - Listed in Linux Shell Bash Coding - 0 comments

Bash: Why is a multi-line output saved as one line in a variable?

Published on March 26th 2018 - Listed in Linux Shell Bash Coding - 6 comments

How to retrieve values from json output in Bash

Published on April 29th 2016 - last updated on October 15th 2021 - Listed in Linux Coding Shell - 0 comments

awk: print last few elements of a line

Published on October 16th 2015 - Listed in Linux Coding Shell - 0 comments

Read or count number of lines of an Excel xlsx file in Linux on the cli

Published on July 29th 2015 - Listed in Linux Perl Shell Windows Coding Office - 2 comments

awk issue when trying to sort variables with same values

Published on September 29th 2014 - Listed in Linux Shell Coding - 0 comments

Use bash to compare remote cpu load and print lowest value of array

Published on August 14th 2014 - Listed in Linux Shell Coding - 0 comments

How to remove a newline character of every second line in bash

Published on April 1st 2014 - Listed in Linux Shell Unix Coding - 0 comments

Reminder: Do not start with an integer for a variable name in Bash

Published on March 31st 2014 - Listed in Shell Linux Unix Coding Bash - 0 comments

Linux/Unix seq: Add a zero digit in front of 1-9

Published on October 7th 2013 - Listed in Linux Shell Unix Coding - 2 comments

Script to calculate/show percentage of current year passed

Published on August 13th 2012 - Listed in Linux PHP Shell Coding - 0 comments

The tabulator in bash

Published on August 23rd 2010 - Listed in Linux Shell Coding - 0 comments

Why -while read line- does not work with stdout

Published on April 16th 2010 - Listed in Linux Shell Coding - 0 comments

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Icingaweb   Icingaweb2   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder   


Update cookies preferences