One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| //======> output: 1 2 3 4 | |
| // synchronous - ملتزم بالترتيب | |
| // JavaScript is always synchronous | |
| function step1() { | |
| return new Promise((resolve, reject) => { | |
| console.log("1"); | |
| resolve(1); | |
| }); | |
| } |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| try { | |
| $user = User::findOrFail($request->input('user_id')); | |
| } catch (ModelNotFoundException $exception) { | |
| return back()->withError($exception->getMessage())->withInput(); | |
| } | |
| $user = User::find($user_id); | |
| if (!$user) { | |
| throw new ModelNotFoundException('User not found by ID ' . $user_id); |
| <button | |
| type="button" | |
| class="btn btn-primary btn-simple btn-xs" | |
| data-toggle="modal" | |
| data-target="#equipmentModal"> | |
| <i class="material-icons">edit</i> | |
| <div class="ripple-container"></div> | |
| </button> | |
| <div |
| body { | |
| font-family: tahoma; | |
| color:#282828; | |
| margin: 0px; | |
| } | |
| .nav-bar { | |
| background: linear-gradient(-90deg, #84CF6A, #16C0B0); | |
| height: 60px; | |
| margin-bottom: 15px; |
Vue.js is an amazing framework, which can be as powerful as Angular or React, the two big heavy hitters in the world of front-end frameworks.
However, most of Vue's ease-of-use is due to the use of Observables - a pattern that triggers re-renders and other function calls with the reassignment of a variable.
| setInterval( | |
| function(){ | |
| if(document.querySelector('.ytp-ad-text.ytp-ad-skip-button-text')) | |
| { | |
| document.querySelector('.ytp-ad-text.ytp-ad-skip-button-text').click(); | |
| } | |
| }, 3000); |
| <!-- | |
| ========================================================= | |
| Ahmed Helal Ahmed - [email protected] | |
| ========================================================= | |
| Copyright 2020 Ahmed Helal Ahmed (https://www.linkedin.com/in/ahmedhelalahmed) | |
| Developed by Ahmed Helal Ahmed | |
| ========================================================= | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
| if (!function_exists('user')) { | |
| /** | |
| * Get the authenticated user. | |
| * | |
| * @return \App\Models\Auth\User | |
| */ | |
| function user() | |
| { | |
| // Get user from api/web | |
| if (request()->is('api/*')) { |