<svg viewBox="0 0 900 700" xmlns="http://www.w3.org/2000/svg">
<!-- Background rectangle: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
Using fill attribute to set background color -->
<rect width="900" height="700" fill="#f5f5f5"/>
<!-- Definitions for reusable elements: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs -->
<defs>
<!-- Filter effect for drop shadow: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
Combines blur, offset and opacity adjustments -->
# Import necessary libraries
import matplotlib.pyplot as plt
from matplotlib_venn import venn2
# Set up the Venn diagram for Mermaid and Graphviz features with no fills, just thick black borders
plt.figure(figsize=(8, 6))
venn = venn2(subsets=(1, 1, 1), set_labels=("Mermaid", "Graphviz"))
# Label each section with unique and shared features
Claude | ChatGPT |
---|---|
function parseHTML() {
Claude | ChatGPT |
---|---|
You can run Steampipe in service mode to expose it as a database endpoint. This allows you to connect to it from any Postgres-compatible client.
steampipe service start
You can use cron jobs or AWS Lambda functions to schedule or trigger Steampipe queries. Here’s an example using a cron job:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# duckdb | |
with names as ( | |
select | |
unnest(string_to_array(?, ',')) as name | |
), | |
# sqlite | |
WITH RECURSIVE names(name, remaining) AS ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locals { | |
joined_companies = join(",", local.companies) | |
joined_languages = join(",", local.languages) | |
joined_operating_systems = join(",", local.operating_systems) | |
joined_clouds = join(",", local.clouds) | |
joined_dbs = join(",", local.dbs) | |
joined_editors = join(",", local.editors) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query "mentions" { | |
sql = <<EOQ | |
with names as ( | |
select | |
unnest( $1::text[] ) as name | |
), | |
counts as ( | |
select | |
name, | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
languages = [ | |
"C#", | |
"C\\+\\+", | |
"Clojure", | |
"CSS", | |
"Erlang", | |
"golang| go 1.| (in|with|using) go | go (.+)(compiler|template|monorepo|generic|interface|library|framework|garbage|module|range|source)", | |
"Haskell", | |
"HTML", | |
"Java ", |
NewerOlder