Skip to content

Instantly share code, notes, and snippets.

View AhmedHdeawy's full-sized avatar

Ahmed Hdeawy AhmedHdeawy

View GitHub Profile
@AhmedHdeawy
AhmedHdeawy / issues.txt
Last active December 20, 2017 18:52
Design Notes
1- add 'spa-footer' class to spa pages only not [index] page
2- remove 'container' class from div which in spa vote,
specifically after this [div] series [ vote-page => vote-main => inner-vote => 'container' ]
don't forget remove it from each team section
3- also, in js file, reduce number of items that will show in page to '2' items, specifically in 'owl-carousel-vote' class
4- to reduce space between 'add new post' section and 'posts' section,
add this code in css file to '.timeline-articles' class => [ margin-top: -60px; ]
@AhmedHdeawy
AhmedHdeawy / gitflow-breakdown.md
Created September 30, 2020 15:54 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@AhmedHdeawy
AhmedHdeawy / PromotionalSaleController.php
Created May 10, 2024 03:48
Defining and Dispatching a Job for sending mass email notifications during a promotional sale
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use App\Jobs\SendPromotionalSaleEmailJob;
use App\Models\User;
use Illuminate\Http\Request;
@AhmedHdeawy
AhmedHdeawy / CheckoutController.php
Created May 10, 2024 03:57
Action for processing a payment
<?php
namespace App\Http\Controllers;
use App\Services\Payment\PaymentDetails;
use App\Actions\PaymentAction;
use App\Models\Order;
class CheckoutController extends Controller
{