Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 05:15 (UTC +10:00)
View GitHub Profile
@acodereviewersbestfriend632
acodereviewersbestfriend632 / Alarm-Clock-For-Heavy-Sleepers.md
Created August 29, 2024 21:31
Wake Up Easy - Our Top 49 Alarm Clocks for Heavy Sleepers
title date
Wake Up Easy - Our Top 49 Alarm Clocks for Heavy Sleepers
2024-08-11

Are you struggling to wake up from your deep sleep each morning? Look no further than our top-rated alarm clocks designed specifically for heavy sleepers. In this article, we'll showcase some of the most effective and reliable alarm clocks available, helping you start your day refreshed and rejuvenated.

@charlesfrye
charlesfrye / README.md
Last active September 20, 2024 06:30
Reproducing results from "Beat GPT-4o at Python by Searching with 100 Dumb LLaMAs"

See rune2e.sh for info on how to run the experiment.

@disler
disler / README_MINIMAL_PROMPT_CHAINABLE.md
Last active September 20, 2024 05:49
Minimal Prompt Chainables - Zero LLM Library Sequential Prompt Chaining & Prompt Fusion

Minimal Prompt Chainables

Sequential prompt chaining in one method with context and output back-referencing.

Files

  • main.py - start here - full example using MinimalChainable from chain.py to build a sequential prompt chain
  • chain.py - contains zero library minimal prompt chain class
  • chain_test.py - tests for chain.py, you can ignore this
  • requirements.py - python requirements

Setup

@0xHossam
0xHossam / client.py
Last active September 3, 2024 21:09
Data Exfiltration Using DNS over HTTPS (DoH) for HTTPS POST Requests & Sending Data in Chunks
"""
Author : Hossam Ehab
Info : Stealthy Data Exfiltration Using (DoH) - Client Code
Date : May 26, 2024
"""
import os, glob, requests, logging, struct, base64, random, time, httpx
from datetime import datetime
import urllib3
import win32com.client
@p-i-
p-i- / ask_claude.py
Last active September 3, 2024 20:46
Minimal wrapper around Anthropic's Claude HTTP API
from pathlib import Path
from os import environ
from time import sleep
from textwrap import dedent
import nestedtext as nt
import httpx
import arrow
API_KEY = environ.get('ANTHROPIC_API_KEY', None)
@disler
disler / ADA_v2_README.md
Created April 17, 2024 18:01
Personal AI Assistant: 'Ada' - v0.2

This is not working complete code.

This is strictly a v0.2, scrapy, proof of concept version of a personal AI Assistant working end to end in just ~726 LOC.

This is the second iteration showcasing the two-way prompt aka multi-step human in the loop. The initial, v0, assistant version is here.

It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.

To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.

@RyanBalfanz
RyanBalfanz / llm_webui.py
Created April 16, 2024 02:31
Initial LLM WebUI
import json
import urllib.parse
from dataclasses import InitVar, dataclass
from datetime import datetime, timedelta
from typing import Protocol
import httpx
import llm
import streamlit as st
@disler
disler / README.md
Last active September 10, 2024 20:04
Personal AI Assistant: 'Ada' - v0

This is not working complete code.

This is strictly a v0, scrapy, proof of concept for the first version of a personal AI Assistant working end to end in just ~322 LOC.

It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.

To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.

Stay focused, keep building.

@ruvnet
ruvnet / lion_x_rUv.py
Created April 12, 2024 21:28
LionAGI x rUv v0,01
import os
import asyncio
import subprocess
import importlib
import sys
from dotenv import load_dotenv
from lionagi import Session
from e2b_code_interpreter import CodeInterpreter
from llama_index.core import (
VectorStoreIndex,
@nicksonthc
nicksonthc / fastapi-redis.py
Created April 11, 2024 16:12
FastAPI with asyncio Redis and Lifespan Example
from contextlib import asynccontextmanager
from datetime import datetime
from fastapi import FastAPI, Request
import fastapi
from fastapi.datastructures import State
from fastapi.responses import JSONResponse
import redis.asyncio as redis
class Redis:
redis_client: redis.Redis = None