Skip to content

Instantly share code, notes, and snippets.

Learning and developing

Ahmed Helal AhmedHelalAhmed

Learning and developing
View GitHub Profile
AhmedHelalAhmed / AutoConnectLinkedIn.js
Last active February 6, 2023 22:43 — forked from thealphadollar/AutoConnectLinkedIn.js
JS script to send connection requests to your LinkedIn search results with customisation options, accept all received connection requests, and withdraw pending sent connection requests.
View AutoConnectLinkedIn.js
// If the script does not work, you may need to allow same site scripting
Linkedin = {
config: {
scrollDelay: 3000,
actionDelay: 5000,
nextPageDelay: 5000,
// set to -1 for no limit
maxRequests: -1,
totalRequestsSent: 0,
View getMovieTitles.js
const https = require('https');
* Complete the function below.
* Use console.log to print the result, you should not return from the function.
function getMovieTitles(substr) {
if (substr === '')
return ''
AhmedHelalAhmed / laravel open source projects.txt
Last active May 17, 2023 20:22
laravel open source projects
View laravel open source projects.txt
AhmedHelalAhmed / fix.bash
Last active September 13, 2022 19:15
View fix.bash
while read -r line; do
#echo -e "$line\n"
iconv -fwindows-1256 -tutf8 "$line" > "$line"'_fixed'
done <$file
View refactored.js
function createUser(email, password) {
validateInput(email, password);
saveUser(email, password);
function isNotValid(email, password) {
return emailNotValid(email) || passwordNotValid(password);
AhmedHelalAhmed / fb-likes-issue.js
Last active February 26, 2022 01:10
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==
AhmedHelalAhmed /
Created February 11, 2022 14:54 — 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 /
Last active November 1, 2021 21:47
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
AhmedHelalAhmed / websites for application.txt
Last active October 31, 2021 19:41
websites for application
View websites for application.txt