| Calico | Flannel | Weave | Docker Overlay Network | |
|---|---|---|---|---|
| Network Model | Pure Layer-3 Solution | VxLAN or UDP Channel | VxLAN or UDP Channel | VxLAN |
| Application Isolation | Profile Schema | CIDR Schema | CIDR Schema | CIDR Schema |
| Protocol Support | TCP, UDP, ICMP & ICMPv6 | ALL | ALL | ALL |
This file contains hidden or 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
| package main | |
| import ( | |
| "github.com/gin-gonic/gin" | |
| "database/sql" | |
| "github.com/coopernurse/gorp" | |
| _ "github.com/mattn/go-sqlite3" | |
| "log" | |
| "time" | |
| "strconv" |
This file contains hidden or 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
| #!/usr/bin/env python | |
| """Run `snort -A console` command using a pipe. | |
| Warning! Alerts are delayed until snort's stdout buffer is flushed. | |
| """ | |
| from __future__ import print_function | |
| from subprocess import Popen, PIPE, STDOUT | |
| snort_process = Popen(['snort', '-A', 'console', '-c', 'snort.conf'], | |
| stdout=PIPE, stderr=STDOUT, bufsize=1, |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import re | |
| import os | |
| import sys | |
| import threading | |
| import subprocess | |
| import getopt | |
| import time |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: ReplicationController | |
| metadata: | |
| name: kube-registry-v0 | |
| namespace: kube-system | |
| labels: | |
| k8s-app: kube-registry | |
| version: v0 | |
| spec: | |
| replicas: 1 |
Author: Chris Lattner
by Glenn Matlin / glennmatlin on all socials
Prevents Claude Code from using pip, python, pytest, etc. directly in projects that use uv for Python environment management. Instead, Claude is guided to use uv run, uv add, etc.
Smart detection:
- Only activates in directories with
pyproject.toml
OlderNewer
