Skip to content

Instantly share code, notes, and snippets.

Learning and developing

Ahmed Helal AhmedHelalAhmed

Learning and developing
View GitHub Profile
View .env
APP_NAME="log time status app"
AhmedHelalAhmed / cloudSettings
Last active Mar 26, 2022
vscode_settings for ubuntu
View cloudSettings
View refactored.js
function createUser(email, password) {
validateInput(email, password);
saveUser(email, password);
function isNotValid(email, password) {
return emailNotValid(email) || passwordNotValid(password);
View fb-likes-issue.js
// ==UserScript==
// @name Unlike Facebook Pages
// @namespace
// @version 0.1
// @description Unlike all Facebook pages
// @author Ahmed Helal Ahmed
// @match
// @icon
// @grant none
// ==/UserScript==
View templates
AhmedHelalAhmed /
Created Feb 11, 2022 — forked from meigwilym/
Notes on's Laravel beyond CRUD

Laravel beyond CRUD

A blog series for PHP developers working on larger-than-average Laravel projects

Written for projects with a development lifespan of six to twelve months, with a team of three to six developers working on them simultaneously.

Chapter 1: Domain oriented Laravel

View LogAfterRequest.php
namespace App\Http\Middleware;
use Illuminate\Support\Facades\Log;
class LogAfterRequest {
public function handle($request, \Closure $next)
return $next($request);
AhmedHelalAhmed / Interview.txt
Last active Dec 22, 2021
Interview prepare
View Interview.txt
AhmedHelalAhmed /
Last active Nov 1, 2021
log notification
  • Make new file in /usr/local/bin with name log add its content from the file with name log
  • Add execution ability to it by: sudo chmod +x log
  • Add the song file with name new_log.mp3 in /usr/local/bin
  • Open terminal in for example laravel project(example-app): log /var/www/html/example-app/storage/logs/laravel.log