Skip to content

Instantly share code, notes, and snippets.

[
{
"type": "start",
"player1": {
"name": "Namruf Retep",
"stats": {
"hp": 15,
"speed": 8,
"attack": 11,
"loyalty": 7,
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{
"model": "google/gemini-2.5-flash-lite",
"response_format": {
"type": "json_schema",
"json_schema": {
"name": "joke_response",
"strict": true,
@nikitattt
nikitattt / .deps...npm...@openzeppelin...contracts-upgradeable...access...OwnableUpgradeable.sol
Created November 16, 2022 20:38
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.6+commit.11564f7e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where