Skip to content

Instantly share code, notes, and snippets.

View un1tz3r0's full-sized avatar
🕶️
acting natural

Victor Condino un1tz3r0

🕶️
acting natural
View GitHub Profile
@un1tz3r0
un1tz3r0 / leakix_ollama_scan.py
Created June 8, 2026 14:17
Python Ollama Scan
"""
This script reads the output file written by [this script](https://gist.github.com/un1tz3r0/8ebd1295aa3a9b85eb65ece1d226b3a8),
and then attempts to connect and query the models available on each host found by the leakix.net service port search.
It writes the results to a file scan_results.jsonl in the current directory.
Depending on where you live, this may be illegal, and is certainly frowned upon by many.
It is my stern reccomendation that under no circumstances should you or anyone else use this, for any purpose.
I take no responsibility for any consequences of disregarding this warning. This purely informative content,
and is furnished as-is with no warranty or license of any kind. Please don't be a dick, it's just not polite.
@un1tz3r0
un1tz3r0 / leakix_search.py
Created June 8, 2026 13:57
Python Leakix.net Search
"""
Search the leakix.net database and save the results to a .jsonl file for further processing.
Requires an API key, get it [here](https://leakix.net/settings/api).
"""
import asyncio
import json
import re
import aiofiles
@un1tz3r0
un1tz3r0 / ollamasearch.py
Last active July 15, 2025 08:27
Python script to search the ollama.com model database without leaving the comfort of your CLI. Also importable as a module if you want to call their search API programmatically.
import aiohttp
import yarl
import bs4
import pathlib, re, click
import asyncio
from contextlib import asynccontextmanager
from typing import Optional, Union, Set, List
@asynccontextmanager
async def ensure_client_session(client_session=None):
@un1tz3r0
un1tz3r0 / README.md
Created June 29, 2024 02:29
Python: get list of ollama models from ollama.com/library

Scrape model listings from ollama.com/library

This is some helper code I wrote to list models available on ollama.com. It returns a list of models with a little metadata about each one, just what's visible on the site.

Useful mostly for command line junkies like myself, so you can see what options you have for doing ollama pull <modelname> when downloading new models to try out.

@un1tz3r0
un1tz3r0 / journal-reactor.py
Created May 8, 2024 20:46 — forked from leoluk/journal-reactor.py
Example code that demonstrates how to listen to journald using Python 3 + asyncio.
#!/usr/bin/python3 -u
import asyncio
import sh
from systemd import journal
from systemd.daemon import notify
GATEWAY_IP = "192.168.10.1"
@un1tz3r0
un1tz3r0 / refusal_demo.ipynb
Last active June 21, 2024 07:17
refusal_demo.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@un1tz3r0
un1tz3r0 / README.md
Created February 23, 2024 08:07
Gemini Generated Prompts

A Series Of Essays By Gemini AI

2024-02-23

These prompts were generated by Gemini, using the prompt, "generate some prompts that might give interesting results when fed into an llm like yourself, gemini". The resulting list was then split and fed back into Gemini as prompts. This has recently been studied as a technique to improve LLM output quality. Here are the prompts and results...


Imagine a world where humans and AI coexist peacefully, and collaborate on creative projects. How would this impact society, culture, and the future of humanity?

In a world where humans and AI coexist peacefully and collaborate on creative projects, the impact on society, culture, and the future of humanity would be profound:

@un1tz3r0
un1tz3r0 / README.md
Created February 21, 2024 06:47
Q&A With Gemini Advanced

Question:

What is a single belief that, if changed, would drastically alter the way you live your life?

Answer:

Belief to be Changed:

"I am not capable of achieving great things."

Altered Lifestyle:

@un1tz3r0
un1tz3r0 / README.md
Last active October 8, 2023 23:44
Poetry generated by the new streaming-llm code and paper out of MIT this week... Did some prompt engineering and used a word list compiled by my dear friend and wordsmith Craig Leaf. Enjoy.

Poetry generated by the new streaming-llm code and paper out of MIT this week... Did some prompt engineering and used a word list compiled by my dear friend and wordsmith Craig Leaf. Enjoy. - Victor Condino, Oct 8th, 2023

The model used was stability.ai's vicuna-13b, running on a single 3090ti GPU.

Write a verse of a poem using the following list of phrases: Last Call, Last Night, Free food, Pizza, Non Stop

Last call for all the hungry souls,
Last night we feasted on pizza rolls,
Free food flowing like a river,
Non-stop laughter and joy ever-presenter.