Discover gists
import json | |
import boto3 | |
import botocore.config | |
from datetime import datetime | |
### AWS BEDROCK CALL ### | |
# { | |
# "modelId": "meta.llama4-scout-17b-instruct-v1:0", |
I wrote an in-depth research prompt to conduct a GPT-Deep-Research on the Manus topic, seeking to replicate it with currently available open source tools. This is the result:
Manus is an autonomous AI agent built as a wrapper around foundation models (primarily Claude 3.5/3.7 and Alibaba's Qwen). It operates in a cloud-based virtual computing environment with full access to tools like web browsers, shell commands, and code execution. The system's key innovation is using executable Python code as its action mechanism ("CodeAct" approach), allowing it to perform complex operations autonomously. The architecture consists of an iterative agent loop (analyze → plan → execute → observe), with specialized modules for planning, knowledge retrieval, and memory management. Manus uses file-based memory to track progress and store information across operations. The system can be replicated using open-source components including CodeActAgent (a fine-tuned Mistral model), Docker for sandbox
These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
#[allow(dead_code)] | |
fn main() { | |
let file = std::fs::File::open("./src/main.rs").unwrap(); | |
let chunker = FileChunker::new(&file).unwrap(); | |
chunker | |
.chunks(1024, Some('\n')) | |
.unwrap() | |
.iter() | |
.for_each(|chunk| { |
# | |
# Keyboard Emulator Using Maker Pi Pico and CircuitPython | |
# | |
# References and credit to | |
# - https://learn.adafruit.com/circuitpython-essentials/circuitpython-hid-keyboard-and-mouse | |
# | |
# Raspberry Pi Pico | |
# - [Maker Pi Pico] https://my.cytron.io/p-maker-pi-pico?tracking=idris | |
# | |
# Additional Libraries |
カレーのレシピ | |
誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。 | |
ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。 | |
レシピの作者 | |
山田サチ子さん | |
材料 ( 8皿分 ) |
// Updated: Aug. 20, 2024 | |
// Run: node testRegex.js whatever.txt | |
// Live demo: https://jina.ai/tokenizer | |
// LICENSE: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0) | |
// COPYRIGHT: Jina AI | |
const fs = require('fs'); | |
const util = require('util'); | |
// Define variables for magic numbers | |
const MAX_HEADING_LENGTH = 7; |
# default version in APT repo
sudo apt show php -a
# currently 7.3 2021
sudo apt-get update && sudo apt-get upgrade
sudo apt install php
sudo apt install software-properties-common
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list