Skip to content

Instantly share code, notes, and snippets.

View JonyBepary's full-sized avatar

Sohel Ahmed Jony JonyBepary

View GitHub Profile
@JonyBepary
JonyBepary / memory_bank.instructions.md
Created May 24, 2025 08:35
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:

@JonyBepary
JonyBepary / is_this_a_letter.c
Last active November 1, 2021 18:38
is_this_a_letter() এই ফাংশন এর কাজ একটা variable কে as reference হিসেবে নিয়ে সেটা একটা অক্ষর কিনা চেক করবে। এবং যদি অক্ষর হয় তবে true return করবে নতুবা false return করবে।
bool is_this_a_letter(char *character)
{
if (*character >= 'A' && *character <= 'Z' || *character >= 'a' && *character <= 'z')
{
return true;
}
else
{
return false;
}
#include <stdio.h>
int main()
{
// make a simple information chart........
char question1, your_name[30], father_name[30], city[30], gander[10];
int postcode, phone_number;
printf("Hello, before try this we need some information to you, then you can continue this one, got it? Y/N \n");
question1 = getchar();
@JonyBepary
JonyBepary / fibo.c
Last active March 10, 2020 20:58
binet formula for fibonacci number check
// using binet formula for fibonacci number check
//author jony bepary
#include <stdio.h>
#include <math.h>
int gen_fibo(int n){
// using binet formula to generate fibonacci number.
// can use as fibnonacci checker dependency. or generate fibonacci series
double sqrt_5 = pow(5, .5); // sqrt(5) can be used
double F_1_minus = ((1-sqrt_5)/2);
@JonyBepary
JonyBepary / greet.py
Last active December 31, 2019 19:04
New Year Greeting (OOP).
# Author: Jony Bepary
# Python Object-Oriented Programming
# A function/data associate with class
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# in class :
# method = function
# data/variable = Attribute
# builtin library
import datetime

Keybase proof

I hereby claim:

  • I am JonyBepary on github.
  • I am sohelahmedjony (https://keybase.io/sohelahmedjony) on keybase.
  • I have a public key whose fingerprint is 9EE9 F6F2 932F 85A2 5F40 7746 E083 A904 5354 819F

To claim this, I am signing this object: