Skip to content

Instantly share code, notes, and snippets.

View ctindel's full-sized avatar

Chad Tindel ctindel

View GitHub Profile
@ctindel
ctindel / gist:344eb77be3df69458eebcddf01ad6dc1
Created January 27, 2025 19:43
Print all Weaviate Collections along with document counts
import weaviate
import weaviate.classes as wvc
import weaviate.classes.config as wc
import os
import json
try:
client = weaviate.connect_to_local(headers={})
assert client.is_live()
collections = client.collections.list_all()
@ctindel
ctindel / RT Traffic Speed Too Fast
Created December 24, 2016 19:15
RT Traffic Speed Too Fast
GET nyc_traffic/data/_search
{
"query": {
"range" : {
"speed" : {
"gt" : 100
}
}
}
}

Keybase proof

I hereby claim:

  • I am ctindel on github.
  • I am ctindel (https://keybase.io/ctindel) on keybase.
  • I have a public key whose fingerprint is 6254 C644 926E 4BB8 8F13 527E 1B49 490F CD3F E5D1

To claim this, I am signing this object: