Skip to content

Instantly share code, notes, and snippets.

@ikrima
ikrima / cppbinding_generator.js
Last active November 18, 2020 04:57
tree-sitter c++ bindings + strongly typed adaptor generator
const _ = require('lodash');
const ndetypes = require(`./src/node-types.json`);
let symtbl = new Set()
let fldtbl = new Set()
let cde_astfwds = "";
let cde_astdefs = "";
let cde_astdcl = String.raw`
struct TlvBase_cst : public CSTNode_o {
@ikrima
ikrima / robin_hood.natvis
Last active December 27, 2022 10:43
Robin Hood natvis
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="robin_hood::detail::Table&lt;*,*,*,*,*,*&gt;">
<!--
$T1 = bool IsFlat
$T2 = size_t MaxLoadFactor100
$T3 = typename Key
$T4 = typename T
$T5 = typename Hash
$T6 = typename KeyEqual
@ikrima
ikrima / agent loop
Created March 15, 2025 11:36 — 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