Skip to content

Instantly share code, notes, and snippets.

View CodingFu's full-sized avatar
🌴
Bali

Seva Rybakov CodingFu

🌴
Bali
View GitHub Profile
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
/**
* @title Tribal Lending Pool contract Interface
*
* @note You will find a term *WAD* reading this documentation. It is an integer representation 1 WAD = 1*10**18.
* for example, 0.2% = 0.002f = 0.002 * 10**18 = 2 * 10**15
*/
interface ILendingPool {
import hashlib
import random
with open("./w.txt", "r") as f:
a1 = f.readlines()
a1 = [w.strip() for w in a1]
a2 = [random.randint(0,2047) for i in range(0, 11)]
a3 = [n - 1 for n in a2]
a4 = [a1[n] for n in a3]
a6 = "".join([format(n, "011b") for n in a3])
"use server";
import { Magic } from "@magic-sdk/admin";
import { createRouteHandlerClient } from "@supabase/auth-helpers-nextjs";
import { headers, cookies } from "next/headers";
import { NextResponse } from "next/server";
const mAdmin = new Magic(process.env.MAGIC_SECRET_KEY);
export async function POST() {
from google.cloud import aiplatform
import os
import openai
import httpx
import tempfile
import shutil
import vertexai
import logging
from fastapi import FastAPI, Request, status
@CodingFu
CodingFu / agent loop
Created March 16, 2025 04:05 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@CodingFu
CodingFu / agent loop
Created March 16, 2025 04:05 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet