Skip to content

Instantly share code, notes, and snippets.

@sourangshupal
sourangshupal / main.py
Created May 4, 2025 11:37
AWS BEDROCK DEMO
import json
import boto3
import botocore.config
from datetime import datetime
### AWS BEDROCK CALL ###
# {
# "modelId": "meta.llama4-scout-17b-instruct-v1:0",
@renschni
renschni / Manus_report.md
Last active May 12, 2025 12:57
In-depth technical investigation into the Manus AI agent, focusing on its architecture, tool orchestration, and autonomous capabilities.

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:

TLDR: Manus AI Agent Report

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

@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

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.

Index

@rust-play
rust-play / playground.rs Secret
Created May 12, 2025 12:38
Code shared from the Rust Playground
#[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| {
@idriszmy
idriszmy / code.py
Created February 12, 2021 10:00
Keyboard Emulator Using Raspberry Pi Pico (Maker Pi Pico) and CircuitPython
#
# 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
@machida
machida / html_practice.html
Last active May 12, 2025 12:21 — forked from horaotoko/for wiki
HTMLの練習(このレシピにマークアップをしてみましょう)
カレーのレシピ
誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。
ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。
レシピの作者
山田サチ子さん
材料 ( 8皿分 )
@hanxiao
hanxiao / testRegex.js
Last active May 12, 2025 12:17
Regex for chunking by using all semantic cues
// 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;

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@DominicWatts
DominicWatts / Installing-multiple-versions-of-php-on-debian.md
Last active May 12, 2025 12:09
Debian : Installing multiple versions of php on debian #debian
# 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