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
codewars.com | |
hackerrank.com | |
topcoder.com | |
coderbyte.com | |
hackerearth.com | |
leetcode.com | |
codechef.com | |
edabit.com | |
codeforces.com |
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(); | |
} |
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 | |
|-------------------------------------------------------------------------- |
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 |
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} |
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, | |
}); |
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 | |
*/ |
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 |
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 |
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 |