Skip to content

Instantly share code, notes, and snippets.

View BunsDev's full-sized avatar
🦞
Exfoliating…

Val Alexander BunsDev

🦞
Exfoliating…
View GitHub Profile
@BunsDev
BunsDev / no-harness-tool-calls-real-weather-api.md
Created May 11, 2026 10:07 — forked from romgenie/no-harness-tool-calls-real-weather-api.md
Tool Calls Without a Harness: Real Weather API

Tool Calls Without a Harness: From Mock Data to a Real Weather API

This is a slow walkthrough of OpenAI tool calling using only raw API calls and PowerShell.

The point:

  • No agent framework is required.
  • No harness is required.
  • The model does not execute your code.
  • The model asks for a tool call.
@BunsDev
BunsDev / cursedbeaconproxy.sol
Created June 21, 2023 03:22 — forked from devtooligan/cursedbeaconproxy.sol
PoC of crit bug found in Astaria.xyz's custom BeaconProxy contract
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "forge-std/Test.sol";
contract SheHateMe {
receive() external payable {}
function getImpl(uint8 x) public returns (address) {
return address(this);
@crazyrabbitLTC
crazyrabbitLTC / NFT Roles.sol
Last active May 19, 2023 05:16
NFT Roles description
// SPDX-License-Identifier: MIT
// by dennison@tally.xyz
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
contract Roles is ERC1155, AccessControl {
// errors
error NoDuplicateRoles();
@chfast
chfast / README.md
Last active August 13, 2021 03:18
EVM stack height and memory size stats for Ethereum mainnet
@svanas
svanas / ArithValue.sol
Last active October 1, 2023 13:10
Increment and decrement operations using Solidity
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract ArithValue {
uint number;
constructor () {
number = 100;
}
function setNumber(uint value) public {