This file contains hidden or 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
| Exam 1,Exam 2,Admitted | |
| 34.62365962451697,78.0246928153624,0 | |
| 30.28671076822607,43.89499752400101,0 | |
| 35.84740876993872,72.90219802708364,0 | |
| 60.18259938620976,86.30855209546826,1 | |
| 79.0327360507101,75.3443764369103,1 | |
| 45.08327747668339,56.3163717815305,0 | |
| 61.10666453684766,96.51142588489624,1 | |
| 75.02474556738889,46.55401354116538,1 | |
| 76.09878670226257,87.42056971926803,1 |
This file contains hidden or 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 | |
| namespace App\Traits; | |
| use Illuminate\Database\Eloquent\Builder; | |
| /** | |
| * Trait Searchable |
This file contains hidden or 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
| "use strict"; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| exports.default = void 0; | |
| function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } } | |
| function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } } |
This file contains hidden or 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
| #!/bin/sh | |
| # Author: Salem Code <salemode8@gmail.com> | |
| if [ -z "$1" ] | |
| then | |
| echo "\e[41mPort Number is Required\e[0m" | |
| exit | |
| fi | |
| PORT="$(lsof -i :$1 | awk '{print $2 }')" |
This file contains hidden or 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
| #!/bin/bash | |
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php composer-setup.php | |
| php -r "unlink('composer-setup.php');" | |
| sudo mv composer.phar /usr/local/bin/composer |
This file contains hidden or 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 | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Support\Facades\Blade; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| /** |
This file contains hidden or 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
| num = int(input("Type A Number\n")) | |
| if num % 2 == 0: | |
| #even | |
| print("This's Even Number") | |
| else: | |
| #odd | |
| print("This's Odd Number") |
This file contains hidden or 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
| from datetime import date | |
| name = str(input("What's Your Name?\n")) | |
| age = int(input('Ok,'+name+" and What's your age ?\n")) | |
| d = date.today() | |
| EndAge = int(100 - age) + int(d.strftime("%Y")) | |
| print("Oh "+name+", You Will Be 100 Years Old on "+ str(EndAge)) |