Skip to content

Instantly share code, notes, and snippets.

View Shahrozmunir's full-sized avatar

Shahroz Munir Shahrozmunir

View GitHub Profile
@Shahrozmunir
Shahrozmunir / ApiDataController.php
Last active December 18, 2024 11:53
Drupal Custom API Module Controller
<?php
namespace Drupal\custom_api_module\Controller;
use Drupal\Core\Controller\ControllerBase;
use GuzzleHttp\ClientInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Controller for fetching and displaying API data.
@Shahrozmunir
Shahrozmunir / MediaQurey.css
Last active December 6, 2024 04:56
1. Choose suitable code which is not under NDA to share with you via gist. 1. a Edit the comments to my suitable source code
/* This is the code that i am using for responsive design for mobile design purpose. */
@media only screen and (max-width: 1080px) {
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
@Shahrozmunir
Shahrozmunir / option-4.md
Last active December 3, 2024 20:55
Front-End Development Process Breakdown for Job Requirement Fulfillment

1. Client Requirement Gathering

  • Action: Communicate directly with the client to understand their specific requirements.
    • Procedure:
      • If given direct access, schedule a meeting or use communication tools like email or project management software (e.g., Jira, Notion) to discuss needs.
      • If not, coordinate with a senior team member to gain access or detailed project briefs.
      • Document all requirements clearly for reference throughout the project.

2. Project Setup

  • Action: Establish a local development environment.
  • Procedure:
@Shahrozmunir
Shahrozmunir / README.md
Last active December 5, 2024 18:20
Example how to use ddev for drupal and wordpress on local environment

Setting Up DDEV for Drupal and WordPress


1. Install DDEV

Install Docker Desktop

@Shahrozmunir
Shahrozmunir / 01.md
Last active November 27, 2024 21:14
Allah var sevgi explanation

عنوان: 🌍 اللہ اور محبت : خدا محبت ہے، زبانوں اور ثقافتوں کے پار 💖

مواد:
ہمارے سبریڈٹ میں خوش آمدید! 🌟
ہم اس آفاقی سچائی پر یقین رکھتے ہیں: **اللہ اور محبت ** — "خدا محبت ہے۔" یہ جملہ دنیا بھر میں بے شمار انداز میں گونجتا ہے:

  • ترکی میں: Allah Var Sevgi 🌿
  • عربی میں: الله هو الحب (Allah Hu Al-Hubb) 🌙
  • سنسکرت میں: ईश्वर प्रेम है (Īśvara Prem Hai) 🕉️