I hereby claim:
- I am ahsankhatri on github.
- I am ahsankhatri (https://keybase.io/ahsankhatri) on keybase.
- I have a public key ASBBH8VLB95fgZnSAwPkChWmRyODSGXcw3N44y2VMk7aDQo
To claim this, I am signing this object:
@echo off | |
:: Aliases | |
DOSKEY reload = %USERPROFILE%\autorun.cmd | |
DOSKEY editalias = "C:\Program Files\Sublime Text 3\subl.exe" %USERPROFILE%\autorun.cmd | |
DOSKEY www = cd /d C:\xampp\htdocs | |
DOSKEY sdf = cd /d D:\Ahsaan\Songs | |
DOSKEY sbcd = cd /d D:\scripts\python\sevenbridges\sevenbridges | |
DOSKEY sbenv = D:\scripts\python\sevenbridges\venv\Scripts\activate.bat | |
:: DOSKEY sbinit = DOSKEY sbcd && DOSKEY sbenv && DOSKEY flask run |
Route::get('/preview-mail', function () { | |
$user = User::first(); | |
$mail = (new \App\Notifications\Api\Registration($user))->toMail('[email protected]'); | |
$markdown = new \Illuminate\Mail\Markdown(view(), config('mail.markdown')); | |
return $markdown->render('vendor.notifications.email', $mail->toArray()); | |
}); |
Route::get('/preview-mail', function () { | |
$mail = (new \App\Mail\ShareItenraryTripStarted())->build(); | |
$mocked = new \ReflectionMethod($mail, 'buildView'); | |
$mocked->setAccessible(true); | |
return $mocked->invoke($mail)['html']; | |
}); |
I hereby claim:
To claim this, I am signing this object:
<?php | |
function isPowerOfTwo($num) | |
{ | |
return ($num > 0) && (($num & ($num - 1)) == 0); | |
} | |
// var_dump(4); | |
// var_dump(5); | |
// var_dump(6); |
echo $PATH
/cygdrive/c/Ruby22/bin
(according to your path)<?php | |
// This is just a sample code, do not use it on production as this is insecure | |
// For security, you may use .htaccess IP Access or HTTP Basic Aauthentication | |
require 'vendor/autoload.php'; | |
$allowedCommands = [ | |
'update', | |
'install', | |
'dump-autoload', |
Table: url_alias
+----+-----------------+-------------------------------------------+-----------------+-----------+------------+
| id | slug | map_to | params | http_verb | middleware |
+----+-----------------+-------------------------------------------+-----------------+-----------+------------+
| 1 | page/about-us | Frontend\HomeController@showPage | a:1:{i:0;i:4;} | GET | web |
| 2 | page/contact-us | Backend\DashboardController@getContactUs | a:1:{i:0;i:4;} | GET | web |
| 3 | page/contact-us | Backend\DashboardController@postContactUs | | POST | web |