https://elasticsearch-py.readthedocs.io/en/master/ from datetime import datetime from elasticsearch import Elasticsearch es = Elasticsearch() doc = { 'author': 'kimchy', 'text': 'Elasticsearch: cool. bonsai cool.', 'timestamp':... Read More | Share it now!
Monthly Archives: October 2019
gitlab jar was blacklisted by the pattern
https://docs.gitlab.com/ee/push_rules/push_rules.html Enabling push rules Note: GitLab administrators can set push rules globally under Admin area > Push Rules that all new projects will inherit. You can later override them in a... Read More | Share it now!
Get video media information
Give mediainfo a try. On the command line type mediainfo input.mkv. For more detailed video information mediainfo --fullscan input.mkv. ... Read More | Share it now!
Cassandra python client
A code example may be too much to ask for, but would be very helpful. First, the simplest possible Cassandra client. No eventlet, no ssl. It works: Next, eventlet. No threads, so eventlet is pointless here. But it works: Next, ssl, no eventlet. This... Read More | Share it now!
Cassandra installation
Latest version Download the latest Apache Cassandra 3.11 release: 3.11.4 (pgp, sha256 and sha512), released on 2019-02-11. Older supported releases The following older Cassandra releases are still supported: Apache Cassandra... Read More | Share it now!
Using cqlsh with SSL
Using a cqlshrc file is the easiest method of getting cqlshrc settings. The cqlshrc.sample provides an example that can be copied as a starting point. Prerequisites Prepare SSL certificates with a self-signed CA for... Read More | Share it now!
Cassandra Client-to-node encryption
Client-to-node encryption https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/configuration/secureCqlshSSL.html Client-to-node encryption protects data in flight from client machines to a database cluster using SSL (Secure Sockets Layer). It... Read More | Share it now!