This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-" | |
], | |
[ |
NewerOlder