urllib Package

HOWTO Fetch Internet Resources Using The urllib Package — Python 3.12.2 documentation Example API quickguides/zabbix/pythonZabbixApi/run_urllib.py at main · spawnmarvel/quickguides · GitHub

Containerize a Python application docker pri

Containerize a Python application | Docker Docs repos learning-docker/1.3-containerize-python-application at main · spawnmarvel/learning-docker · GitHub We have our code and we are ready to test it All it does it log and gracefully stop Build the app The docker build command builds Docker images from a Dockerfile and a “context”. A build’s context is the […]

AMQP, MQTT RabbitMQ configuration with Python

GitHub – lukebakken/mqtt-client-cert-example: Example showing use of client certificates with MQTT and RabbitMQ mqtt in a nutshell quickguides/python-mqtt/README.MD at main · spawnmarvel/quickguides · GitHub Example run_pub_sensor1.py Publish * myhome/livingroom/temperature/sensor1 RabbitMQ subscribe to: * myhome.livingroom.# * myhome.livingroom.temperature.# * myhome.livingroom.temperature.sensor1. RabbitMQ queue Message Python March 21, 2023 · 24 min read Serving Millions of Clients with Native MQTT | […]

Ansible create windows vm

Azure Create a Windows virtual machine in Azure using Ansible | Microsoft Learn Code azure-ansible/1-4-az-create-windows-vm at main · spawnmarvel/azure-ansible (github.com) Result after running code from github Next, Configure the WinRM Listener. ConfigureRemotingForAnsible.ps1 removed from default branch? · Issue #81240 · ansible/ansible (github.com) oink Lets check the vm Vicuna Ok, lets delete all, since we added […]

Implement CI/CD with GitHub – Deploy Azure Functions steps

Implement CI/CD with GitHub – Deploy Azure Functions – DEV Community 1 Create an Azure Function Apprg, storage account, function app, not deployment is set up yet.To set up deployment, webapipython | Deployment Center, we do that later 2 Create a GitHub repositorytest-webapipython git@github.com:spawnmarvel/test-webapipython.git 3 Clone GitHub Function repository /c/giti2023$ git clone git@github.com:spawnmarvel/test-webapipython.git 4 Link […]

5 Min Python WMI perfmon

winstats · PyPI Memory statsPerformance statsDisk info, types, and statsPerformance Data Counters (aka PerfMon) Sample code:

Apache Solr 7.5 The Standard Query Parser focus searching

http://lucene.apache.org/solr/guide/7_5/the-standard-query-parser.html Solr’s default Query Parser is also known as the “lucene” parser. The key advantage of the standard query parser is that it supports a robust and fairly intuitive syntax allowing you to create a variety of structured queries. The largest disadvantage is that it’s very intolerant of syntax errors, as compared with something like […]

Apache Solr 7.5 Index build with DirectUpdateHandler2 HTTP (with delete index)

http://lucene.apache.org/solr/guide/7_5/uploading-data-with-index-handlers.html Index Handlers are Request Handlers designed to add, delete and update documents to the index. In addition to having plugins for importing rich documents using Tika or from structured data sources using the Data Import Handler, Solr natively supports indexing structured documents in XML, CSV and JSON. The default in solrconfig.xml is an UpdateHandler: […]

Apache Solr 7.5 create core, alter schema and query for API data

With reference to previous tutorial: Core A single Solr instance, which represents a single Solr index. A core has a different set of configuration files and schema definitions than other cores. Now lets create a new core, after downloading and installing the files, have a look at the readme file in solr-7.5.0 directory (my pc; […]