Skip to content

Instantly share code, notes, and snippets.

View faraazahmad's full-sized avatar
🏠
Working from home

Syed Faraaz Ahmad faraazahmad

🏠
Working from home
View GitHub Profile

User

Use similar_functions tool to get all functions that handle animations and transitions.

Assistant

I'll use the similar_functions tool to find all functions that handle animations and transitions in the project.

Tool Call: Run MCP tool similar_functions Status: Completed

User

Which functions implement animations and transitions?

Assistant

I'll help you find functions that implement animations and transitions in the Svelte codebase. Let me search for relevant code patterns.

Tool Call: Search files for regex (animate|animation|transition|easing|tween|spring|fly|slide|fade|scale|draw|crossfade) Status: Completed

User

Use similar_functions tool to find all functions that handle template expression parsing.

Assistant

I'll use the similar_functions tool to find functions that handle template expression parsing in the Svelte codebase.

Tool Call: Run MCP tool similar_functions Status: Completed

User

Which functions handle template expression parsing?

Assistant

I'll help you find the functions that handle template expression parsing in the Svelte codebase. Let me search for relevant code.

Tool Call: Search files for regex template.*expression|expression.*template|parse.*expression Status: Completed

User

Get all functions that manage state.

Assistant

I'll help you find all functions that manage state in the Svelte project. Let me search through the codebase to identify these functions.

Tool Call: Search files for regex function.*state|state.*function|setState|getState|updateState|manageState Status: Completed

@faraazahmad
faraazahmad / graphsense_benchmark_2.md
Last active September 8, 2025 07:02
graphsense - Get all functions that manage state (sveltejs/svelte)

User

Get all functions that manage state, use similar_functions tool.

Assistant

I'll search for functions that manage state in the project using the similar_functions tool.

Tool Call: Run MCP tool similar_functions Status: Completed

# frozen_string_literal: true
require 'parallel'
FILE = 'input.txt'
# FILE = 'sample.txt'
raw_input = File.read(FILE)
lines = raw_input.split("\n")
seed_num_pairs = []
seed_nums = []
@faraazahmad
faraazahmad / docker-compose.kafka.yml
Created June 10, 2019 11:46
Kafka cluster docker-compose file
version: '3'
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
@faraazahmad
faraazahmad / sensor.c
Created April 10, 2019 06:33
ir sensor array
#include <LCD.h>
#include <stdio.h>
sbit IR1=P1^0;
sbit IR2=P1^1;
sbit IR3=P1^2;
sbit IR4=P1^3;
sbit IR5=P1^4;
// intuitive code
#include <LCD.h>
sbit IR=P1^0;
// intuitive code
void main()
{
LCD_INIT();
while(1) {
if(IR == 0) {