- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
<?php | |
public function upgradeMgmlCycle($studentInfo) | |
{ | |
if ($studentInfo->cycle_end >= now()->today()) { | |
return $studentInfo; | |
} | |
if (!$studentInfo->cycle >= $studentInfo->mgml_syllab_cycle) { | |
$studentInfo->cycle = $studentInfo->cycle + 1; |
{"lastUpload":"2021-08-02T21:12:36.245Z","extensionVersion":"v3.4.3"} |
<?php | |
class Node | |
{ | |
public $name; | |
public $linked = array(); | |
public function __construct($name) | |
{ | |
$this->name = $name; |
{ | |
"equipments": [ | |
{ | |
"equipment_owner_id": 1, | |
"state_name":"Kishoreganj", | |
"value":4000, | |
"deductible_amount":500, | |
"premium_amount":750, | |
"premium_billing":12, | |
"description":"Its just a description", |
<?php | |
$data = [ | |
'profiles' => [ | |
[ | |
'email' => '[email protected]', | |
] | |
] | |
]; |
<?php | |
namespace App\Http\Controllers; | |
use App\Exceptions\InputException; | |
use Bugsnag\BugsnagLaravel\Facades\Bugsnag; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
use Illuminate\Routing\Controller as BaseController; | |
use Illuminate\Foundation\Validation\ValidatesRequests; | |
use Illuminate\Foundation\Auth\Access\AuthorizesRequests; |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
class TestController extends Controller | |
{ | |
public function index() | |
{ |
<?php | |
$db = mysqli_connect("localhost", "root", "", "ramcel"); | |
$sql="SELECT * FROM photo "; | |
$result = mysqli_query($db,$sql); | |
?> | |
<div class="col-row"> | |
<div class='col-lg-12'> | |
<?php |
ALTER TABLE events ADD FULLTEXT(ccTitle); |