Skip to content

Instantly share code, notes, and snippets.

View elsayed85's full-sized avatar
💻
chilling 💤

Elsayed Kamal elsayed85

💻
chilling 💤
View GitHub Profile
@justinjohnso
justinjohnso / copilot-instructions.md
Last active April 30, 2025 18:43
Keeping GitHub Copilot in line

GitHub Copilot Instructions

This document provides guidance for GitHub Copilot to generate code and terminal commands that align with this project's standards. These instructions help ensure consistency, readability, security, and maintainability across all contributions. Adherence to these instructions is mandatory.


🧠 General Philosophy

  • Favor clarity, maintainability, and security over clever, abstract, or overly concise solutions. Code must be understandable by other developers.
  • Mandatory Clarification: If any part of the user's request, the existing codebase context, project standards (including these instructions), or required logic is unclear or ambiguous, you MUST ask clarifying questions before generating code or suggestions. Do not make assumptions or 'guess'. Prioritize correctness and alignment over speed in ambiguous situations.
@pagueru
pagueru / copilot-instructions.md
Last active May 4, 2025 03:04
Instruções de codificação para projetos Python, com foco nas melhores práticas e convenções.

copilot-instructions.md

Diretrizes de Uso de Ferramentas e Fluxo de Trabalho

  • Utilize todas as ferramentas disponíveis (Sequential Thinking, Brave Search, Puppeteer, Knowledge Graph) conforme necessário, sem exigir ativação explícita.
  • Inicie cada nova conversa com Sequential Thinking (#sequentialthinking) para definir as ferramentas necessárias.

Fluxo de Trabalho Principal

  1. Análise Inicial (Sequential Thinking):
@Aravinth-Earth
Aravinth-Earth / code-guideline.md
Last active April 30, 2025 18:41
General Code Guidelines

To be used with github copilot create a file as '.github/copilot-instructions.md' & add below

Before making any code modifications/suggestions, if you identify any unresolved queries or logical inconsistencies whether in the overall project design or the specific code change please ask for clarification before proceeding

Follow all below coding principles and guidelines while making any code changes:

  1. DRY (Don't Repeat Yourself): Eliminate code duplication to enhance maintainability.
  2. KISS (Keep It Simple, Stupid): Favor simplicity; avoid unnecessary complexity.
  3. YAGNI (You Aren't Gonna Need It): Implement features only when necessary.
  4. SOLID Principles:
@Script47
Script47 / AppServiceProvider.php
Last active November 25, 2024 10:44
Macro to get TTL when using Laravel's file store cache driver
<?php
namespace App\Providers;
use Illuminate\Cache\FileStore;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
@source-nerd
source-nerd / Windows 10 Pro Activation.md
Created February 18, 2020 23:14
Windows 10 Pro Activation
@oliveratgithub
oliveratgithub / emojis.json
Last active April 24, 2025 22:53
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128103;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128102;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "&#128104;&zwj;&#128105;&z