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.
  1. Mude os aliases do trecho de query selecionado com base nas regras:
  • forms__answer β†’ answer
  • admin__conductor_fields β†’ c_fields
  • admin__conductor β†’ conductor
  • assetmanager__asset_fields β†’ fields
  • assetmanager__asset β†’ asset
  • budgeting__budget_answer β†’ budget_answer
  • budgeting__budget_permission β†’ permission
  • budgeting__budget_version β†’ version
  • budgeting__budget β†’ budget
@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 December 8, 2025 06:32
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