Skip to content

Instantly share code, notes, and snippets.

View 0x8f701's full-sized avatar
🎯
The internet is sick

CJ 0x8f701

🎯
The internet is sick
View GitHub Profile
@0x8f701
0x8f701 / agent loop
Created March 10, 2025 07:19 — 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
@0x8f701
0x8f701 / coc-pylance.md
Created June 18, 2024 10:47 — forked from rewhile/coc-pylance.md
Add pylance to coc.nvim

Install the pylance extension in vscode or manually download it from the marketplace

The extension path should be similar to this: ~/.vscode/extensions/ms-python.vscode-pylance-2023.11.10

In init.vim, this will automatically detect the latest pylance version because after an upgrade the old plugin might linger for a while:

call coc#config('languageserver', { "pylance": { "module": expand("~/.vscode/extensions/ms-python.vscode-pylance-*/dist/server.bundle.js", 0, 1)[0] } })
@0x8f701
0x8f701 / effective_modern_cmake.md
Created June 12, 2024 00:36 — forked from mbinna/effective_modern_cmake.md
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@0x8f701
0x8f701 / README.md
Created April 30, 2024 01:56 — forked from cf/README.md
bn256 bitcoin script

bn256 for bitcoin is totally possible without branches

don't believe me?

see below

@0x8f701
0x8f701 / blake3.basm
Created April 12, 2024 11:50 — forked from cf/blake3.basm
This file has been truncated, but you can view the full file.
// plz give me credits if for some reason you use this
// MIT License or shout out @cmpeq in the code <3
OP_1
<1438064771>
OP_0
<170099639>
OP_1
<1522642839>
OP_1
/*
function ch(x: number, y: number, z: number) {
return z ^ (x & (y ^ z));
}
*/
b.OP_TUCK();
b.OP_NUMNOTEQUAL();//.tag("y ^ z");
b.OP_ROT();
b.OP_BOOLAND();//.tag("(x & (y ^ z))");
@0x8f701
0x8f701 / generate_blocks.sh
Created April 2, 2024 03:09 — forked from System-Glitch/generate_blocks.sh
Tutorial for bitcoin regtest
# Script to generate a new block every minute
# Put this script at the root of your unpacked folder
#!/bin/bash
echo "Generating a block every minute. Press [CTRL+C] to stop.."
address=`./bin/bitcoin-cli getnewaddress`
while :
do
@0x8f701
0x8f701 / README.md
Created March 8, 2024 02:37 — forked from cf/README.md
A Hackers Guide to Layer 2: Zero Merkle Trees from Scratch
@0x8f701
0x8f701 / merkle_proof_depth_30.asm
Created February 23, 2024 05:58 — forked from cf/merkle_proof_depth_30.asm
Merkle Proof in TapScript
// root
<0x227c4fdcd6c57bf13f6af315dfeebfab6976e46276f11cc6160bbd0fb5ee22ec>
// sibling_1
<0x8869ff2c22b28cc10510d9853292803328be4fb0e80495e8bb8d271f5b889636>
// sibling_2
<0x848930bd7ba8cac54661072113fb278869e07bb8587f91392933374d017bcbe1>
// sibling_3
<0x7cdd2986268250628d0c10e385c58c6191e6fbe05191bcc04f133f2cea72c1c4>
// sibling_4