View Basic unit-of-work for Laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple contract or interface, call as you wish: | |
interface UnitOfWork | |
{ | |
public function begin(); | |
public function commit(); | |
public function rollback(); | |
} |
View test_docker.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Jobs\LogToFile; | |
use Illuminate\Support\Facades\Redis; | |
use Illuminate\Support\Facades\Route; | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- |
View .env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
View gist:f26a59a8e3de55b9e9b3ce207f10e912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
View axios.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | |
}); |
View DumpService.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Models\Customer; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Log; | |
/** | |
* Class DumpService | |
* @author Ahmed Helal Ahmed | |
*/ |
View vuejs-the-complete-guide.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
View phpstorem shortcuts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctrl + f2 | |
show navigation bar in phpstorem | |
ctrl + n | |
make new file | |
ctrl + comma | |
show recent files | |
ctrl + shift + t |
View Laravel Daily - New Laravel Challenge.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
View MailTracker.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 - Email Tracker for Gmail - Mailtrack | |
https://lnkd.in/dc_WxZji | |
2 - MailTracker: Free email tracker for Gmail | |
https://lnkd.in/dyKxmP8q |