Skip to content

Instantly share code, notes, and snippets.

Avatar
📱
Learning and developing

Ahmed Helal AhmedHelalAhmed

📱
Learning and developing
View GitHub Profile
@AhmedHelalAhmed
AhmedHelalAhmed / axios.txt
Created Sep 26, 2021
Using Axios Instead Of "fetch()"
View axios.txt
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
<?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
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
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 Sep 2, 2021
Laravel Daily - New Laravel Challenge
View Laravel Daily - New Laravel Challenge.txt
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
1 - Email Tracker for Gmail - Mailtrack
https://lnkd.in/dc_WxZji
2 - MailTracker: Free email tracker for Gmail
https://lnkd.in/dyKxmP8q
@AhmedHelalAhmed
AhmedHelalAhmed / ignore change in permissions.txt
Created Aug 29, 2021
How do I make Git ignore file mode (chmod) changes?
View ignore change in permissions.txt
git config core.fileMode false
@AhmedHelalAhmed
AhmedHelalAhmed / clean_code.md
Created Aug 20, 2021 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin
View clean_code.md

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

View Mohamed Moshrif recommended references .txt
View array of objects vs array of arrays.php
<?php
// 10
// 20
// 20
// 40
dd(collect([
[
'id' => 1,
'price' => 10