Skip to content

Instantly share code, notes, and snippets.

@jeffbryner
jeffbryner / csv_chat.py
Last active February 23, 2025 23:55
csv chat
from agno.agent import Agent, AgentMemory
from agno.memory.classifier import MemoryClassifier
from agno.memory.summarizer import MemorySummarizer
from agno.memory.manager import MemoryManager
from gemini_models import model_pro, model_flash
from agno.tools.file import FileTools
from agno.tools.duckduckgo import DuckDuckGoTools
from agno.tools.duckdb import DuckDbTools
from agno.storage.agent.sqlite import SqliteAgentStorage
from agno.memory.db.sqlite import SqliteMemoryDb
@jeffbryner
jeffbryner / WiFiScanner.app
Created June 6, 2025 18:22
macOS: capture surrounding wifi networks in rust
A directory with your Info.plist and the cargo build --release binary
WiFiScanner.app
WiFiScanner.app/Contents
WiFiScanner.app/Contents/MacOS
WiFiScanner.app/Contents/MacOS/wifiscanner
WiFiScanner.app/Contents/Resources
WiFiScanner.app/Contents/Info.plist
@jeffbryner
jeffbryner / jql.md
Created June 19, 2025 17:02
JQL reference

JQL Structure The basic structure of a JQL query consists of three components:

Field: Refers to the Jira field that you want to search for. Examples include:

Assignee, Affected version, Attachments, Comment, Component, Created, Creator, Description, Due, Epic link, Filter, Fix version, Issue key, Labels, Last viewed, Priority, Project, Reporter, Resolved, Sprint, Status, Summary, Text, Time spent, Voter, Watcher, custom field – Any custom field defined by the administrator and accessible to the user

Operator: Specifies the comparison operator that you want to use to compare the field to the value. Examples of operators include:

@jeffbryner
jeffbryner / model_armor.py
Created June 28, 2025 17:15
model armor call
from google.cloud import modelarmor_v1
import google.auth
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger()
def is_prompt_clean(prompt):
"""
Take raw input and run it through the model armor API to check if it is clean