Skip to content

Instantly share code, notes, and snippets.

View SohelAhmedJoni's full-sized avatar

Sohel Ahmed Joni SohelAhmedJoni

View GitHub Profile
@SohelAhmedJoni
SohelAhmedJoni / memory_bank.instructions.md
Created May 24, 2025 08:34
This Copilot instruction creates a persistent project memory using the memory-bank/ directory. It provides a robust mechanism for maintaining project context and works seamlessly with GitHub Copilot. This ensures that Copilot automatically loads and preserves your project's memory across different conversation sessions.
applyTo
**

Memory Bank System Instructions

Core Behavior

You are operating with a Memory Bank system that maintains project context across sessions. Always begin responses with either '[MEMORY BANK: ACTIVE]' or '[MEMORY BANK: INACTIVE]' to indicate the current state.

Memory Bank Initialization

At the start of every conversation:

############################ dataset ############################
link: https://huggingface.co/datasets/liuhaotian/LLaVA-Instruct-150K
benchmark: https://github.com/Instruction-Tuning-with-GPT-4/GPT-4-LLM#how-good-is-the-data
############################ dataset sample ############################
count: 36441
sample:
[
{
"instruction": "What are the three primary colors?",
{
"RelayV2": {
"Enabled": true
},
"RelayV1": {
"Enabled": false
},
"Network": {
"ListenAddrs": [
"/ip4/0.0.0.0/udp/4002/quic",
package main
import (
"bufio"
"context"
"crypto/rand"
"flag"
"fmt"
"io"
"log"
@SohelAhmedJoni
SohelAhmedJoni / Apex_Legends_Beginners_Guide.c
Created May 25, 2021 20:00
BUBT Intra University Programming Contest (Spring2020)–JuniorDivision
//F. Apex Legends: Beginner's Guide
//BUBT Intra University Programming Contest (Spring2020)–JuniorDivision
//Author: Sohel Ahmed Jony
// - 2021
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
struct SQUAD
{