Skip to content

Instantly share code, notes, and snippets.

View CodingFu's full-sized avatar
🌴
Bali

Seva Rybakov CodingFu

🌴
Bali
View GitHub Profile
@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
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
"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() {
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])
// 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 requests
import datetime
import time
RUNPOD_API_ID = '0ghslhh025pwkc'
RUNPOD_API_KEY = 'IWR8SFXIKW3BXHK5VSADD3IPPXURBDNM9EDC8EX6'
SLEEP_INTERVAL = 1
RUNPOD_API_BASE = 'https://api.runpod.ai/v1/' + RUNPOD_API_ID
URL = 'https://storage.googleapis.com/elis-prototype/audio-video-content/PBS_News_Hour_Nov_17.m4a'
import json
import math
import sys
from datetime import timedelta
def format_ms(ms):
remainder, milliseconds = divmod(ms, 1000)
remainder, seconds = divmod(remainder, 60)
hours, minutes = divmod(remainder, 60)
return '{:02}:{:02}:{:02}.{:03}'.format(int(hours), int(minutes), int(seconds), int(milliseconds))
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract XNFT is ERC721URIStorage, Ownable {
using Strings for uint256;
const redirects = [
[
"65110-what-is-mobilize",
"https://support.mobilize.io/hc/en-us/categories/360002451571-What-is-Mobilize-"
],
[
"1340411-what-is-mobilize",
"https://support.mobilize.io/hc/en-us/articles/360037598492-What-is-Mobilize-"
],
[