Skip to content

Instantly share code, notes, and snippets.

View Saifallak's full-sized avatar
🤓
Debugging

Saif Allah Khaled Saifallak

🤓
Debugging
View GitHub Profile
@Saifallak
Saifallak / ApiLocalization.php
Last active August 30, 2022 05:01
Laravel Localization Middlewares.
<?php
namespace App\Http\Middleware;
/**
* This File was made by [AQuadic Software Solutions](AQuadic.com).
* if you are happy with this file and used it,
* send us thanks letter on [hello@aquadic.com](mailto:hello@aquadic.com)
*
* File Path: app/Http/Middleware/ApiLocalization.php
@Saifallak
Saifallak / count_diff_in_two_strings.dart
Created August 7, 2019 16:50
just a small code in dart that counting the identical characters and diff characters in two string;
import 'dart:convert';
import 'dart:io';
main() {
/// No. of Different Characters in the two Strings;
int diff = 0;
/// No. of Identical Characters in the two Strings;
int correct = 0;