How to query and alter JSON documents

Query and alter JSON documents using dasel utility which also supports other data formats like JSON, TOML, YAML, XML, and CSV. ...

June 5, 2023 · milosz · JSON

How to remove key from JSON object

Remove specific key from a JSON object using jq. ...

May 5, 2023 · milosz · JSON

How to determine when LXD instance was started

Determine when LXD instance was started. ...

May 3, 2023 · milosz · LXD · JSON

How to distinguish between rotational and non-rotational block devices

Distinguish between rotational and non-rotational block devices. ...

How to identify hardware network interfaces

Identify hardware network interfaces. ...

March 17, 2023 · milosz · JSON

How to use Cloudflare’s PKI and TLS toolkit to check online certificate

Use Cloudflare’s PKI and TLS toolkit to check online certificate. ...

How to enable Consul maintenance mode

Enable HashiCorp Consul maintenance mode. ...

How to generate new vault root token

Generate new vault root token. ...

December 26, 2022 · milosz · Vault · JSON

How to extract and parse LXD instance information

Extract and parse LXD instance information. ...

December 5, 2022 · milosz · LXD · JSON

How to inspect consul metrics

Inspect current consul metrics. ...

November 15, 2022 · milosz · Consul · JSON

How to enumerate vault root tokens

Enumerate vault root tokens. ...

November 3, 2022 · milosz · Vault · JSON

How to inspect consul configuration

Inspect consul configuration using command-line utilities. ...

October 15, 2022 · milosz · Consul · JSON

How to parse Trello export file

Parse Trello export JSON file using Python script to create Markdown files and import these into Joplin an open-source note-taking app. ...

How to automatically rollover Elasticsearch index

Automatically rollover Elasticsearch index using by time. ...

How to display CPU information

Display CPU information. ...

How to distribute data evenly across all disks on a Hadoop datanode

Distribute data evenly across all disks on a Hadoop datanode. ...

January 24, 2022 · milosz · Hadoop · JSON

How to reassign Kafka topic partitions

Reassign Kafka topic partitions. ...

January 5, 2022 · milosz · Kafka · JSON

How to query Docker socket using curl

Query Docker socket using curl. ...

December 13, 2021 · milosz · Docker · JSON

How to inspect mitigations for CPU vulnerabilities

Inspect mitigations for CPU vulnerabilities. ...

September 23, 2021 · milosz · JSON

How to export 1Password data

Export 1Password passwords using a command-line utility on Linux. ...

July 19, 2021 · milosz · JSON

How to display current mappings for encrypted devices

Display current mappings for encrypted devices (LUKS) . ...

July 7, 2021 · milosz · JSON

How to check the HashiCorp software version

Use Checkpoint service to check the HashiCorp software version. ...

February 12, 2021 · milosz · JSON

How to alter JSON documents

Take advantage of the jq utility to edit messages formatted using JSON (JavaScript Object Notation). ...

December 28, 2020 · milosz · JSON

How to redeploy master certificate in OpenShift 3.11

Inspect and redeploy the master certificate in OpenShift 3.11. ...

How to retry Elasticsearch shard allocation

Retry Elasticsearch shard allocation that was blocked due to too many subsequent allocation failures. ...

How to display command to join Kubernetes cluster

Display command to join the Kubernetes cluster. ...

How to calculate Elasticsearch hit ratio

Calculate Elasticsearch hit ratio using command-line curl utility. ...

How to inspect RabbitMQ settings using command-line

Inspect RabbitMQ settings using command-line. ...

How to distribute messages to different RabbitMQ node

Distribute messages to different RabbitMQ node using federation plugin. ...

How to move messages to different RabbitMQ node

Move messages to different RabbitMQ node using shovel plugin which acts as a simple client. ...

How to copy messages to different RabbitMQ node

Copy messages to different RabbitMQ node using federation plugin. ...

How to mirror RabbitMQ queues

Mirror RabbitMQ queues cluster to replicate configuration across multiple nodes. ...

How to create RabbitMQ cluster

Create RabbitMQ cluster to replicate configuration across multiple nodes. ...

How to display RabbitMQ Erlang processes

Use rabbitmq_top plugin to display RabbitMQ Erlang processes. ...

How to install CouchDB

Install CouchDB on Debian Buster. ...

How export or import RabbitMQ configuration

Use RabbitMQ Management API to export or import configuration. ...

How to keep RabbitMQ data regardless of the node name

Node name is by default part of the location where the RabbitMQ data is stored, so you need to explicitly define static location to ensure that RabbitMQ data is always available in these rare cases when there is a possibility of node name change. ...

How to get RabbitMQ uptime

Get and display RabbitMQ uptime measured in seconds using three different methods. ...

How to display user details using NordVPN API

Today, I will show you how to get and display user details using a shell script. This work is based on a Python-based solution by David Green and located at bitbucket/nordapi. ...

How to use public NordVPN API

In a blog post a month ago, I described how to use a terminal to display servers recommended by NordVPN, but the same result can be achieved by using public API service. It is not officially documented, so let’s play with it. ...

How to use terminal to display servers recommended by NordVPN

I have already described a simple way to manually configure Network Manager and automatically import NordVPN servers, so today, I will explain how to pretty print servers recommended by NordVPN using terminal instead of web-browser. ...

How to delete Nextcloud bookmarks using API

Delete Nextcloud bookmarks using API. Notice, data is paginated in this case, so this particular case is more interesting than regular add/remove operations. ...

How to import Firefox bookmarks to Nextcloud application

I am currently playing with floccus to store bookmarks using Nextcloud, so I have created simple shell scripts to import Nextcloud bookmarks from Firefox using code from my earlier solution to open Firefox bookmarks from the OpenBox menu. ...

How to backup and restore Nextcloud bookmarks

There is a bookmark manager for Nextcloud that can be used with the floccus browser extension to synchronize bookmarks using Chrome, Firefox, and Opera. I will show you how to perform API calls to automate the backup process. ...

How to backup and restore Restyaboard boards

Use the extensive API offered by the Restyaboard to backup and restore created boards. ...