Skip to content

Instantly share code, notes, and snippets.

View AhmedHelalAhmed's full-sized avatar
📱
Learning and developing

Ahmed Helal AhmedHelalAhmed

📱
Learning and developing
View GitHub Profile
Simple contract or interface, call as you wish:
interface UnitOfWork
{
public function begin();
public function commit();
public function rollback();
}
<?php
use App\Jobs\LogToFile;
use Illuminate\Support\Facades\Redis;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
APP_NAME="log time status app"
APP_ENV=local
APP_KEY=base64:vwuZxLP3hiI4YbBHZ2pIKOrqdWfmcq3XNFdFqkM4lBs=
APP_DEBUG=true
APP_URL=http://testing.local
LOG_CHANNEL=stack
LOG_LEVEL=debug
DB_CONNECTION=mysql
version: '3.5'
laravel-app:
build:
context: '.'
args:
uid: ${UID}
container_name: log-time-status-app
environment:
- APACHE_RUN_USER=#${UID}
- APACHE_RUN_GROUP=#${UID}
@AhmedHelalAhmed
AhmedHelalAhmed / axios.txt
Created September 26, 2021 03:04
Using Axios Instead Of "fetch()"
import axios from 'axios'; // at the start of your <script> tag, before you "export default ..."
axios.post('https://vue-http-demo-85e9e.firebaseio.com/surveys.json', {
name: this.enteredName,
rating: this.chosenRating,
});
@AhmedHelalAhmed
AhmedHelalAhmed / DumpService.php
Last active September 24, 2021 04:30
DumpService
<?php
use App\Models\Customer;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
/**
* Class DumpService
* @author Ahmed Helal Ahmed
*/
@AhmedHelalAhmed
AhmedHelalAhmed / vuejs-the-complete-guide.txt
Last active September 26, 2021 04:04
vuejs the complete guide
https://github.com/AhmedHelalAhmed/friends-app-vuejs
https://github.com/AhmedHelalAhmed/cmp-communication-assignment-problem
https://github.com/AhmedHelalAhmed/cmp-communication-08-a-potential-problem-starting-setup
https://github.com/AhmedHelalAhmed/badge-app
https://github.com/AhmedHelalAhmed/learning-resources-app
https://github.com/AhmedHelalAhmed/form-app
https://github.com/AhmedHelalAhmed/feedback-app
https://github.com/AhmedHelalAhmed/users-teams-app
@AhmedHelalAhmed
AhmedHelalAhmed / phpstorem shortcuts.txt
Last active October 25, 2021 15:15
phpstorem shortcuts
ctrl + f2
show navigation bar in phpstorem
ctrl + n
make new file
ctrl + comma
show recent files
ctrl + shift + t
@AhmedHelalAhmed
AhmedHelalAhmed / Laravel Daily - New Laravel Challenge.txt
Last active September 2, 2021 21:18
Laravel Daily - New Laravel Challenge
New Laravel Challenge: Routes Cleanup
https://www.youtube.com/watch?v=x-lQVNv7Bc8&t=1s
// ============================ //
New Laravel Challenge: Improve API Controller Code
https://www.youtube.com/watch?v=4AlUQiUFLTs&ab_channel=LaravelDaily
// ============================ //
Laravel Challenge For YOU: Fix 3 Errors on Route Model Binding
https://www.youtube.com/watch?v=HrVu7y3bOeQ&ab_channel=LaravelDaily
// ============================ //
Laravel Many-to-Many with Array Validation: Challenge Result - My Version
1 - Email Tracker for Gmail - Mailtrack
https://lnkd.in/dc_WxZji
2 - MailTracker: Free email tracker for Gmail
https://lnkd.in/dyKxmP8q