###Learning objective box
[open .objectives]-content-[close]
###Glossary text
[open a .glossary]**glossary text**[close a]
###Flash forward pink box
[open .objective.flash-forward]-content-[close]
###Did you know blue box
casper.test.begin('Test tax incentive login page', 2, function (test) { | |
casper.start('http://dev.taxincentive.flexworklife.my', function () { | |
test.assertTitle('Flexworklife - Tax Incentive', 'Page title is correct'); | |
test.assertExists('form', 'Login form exists'); | |
}); | |
casper.run(function () { | |
test.done(); | |
}); | |
}); |
Event::listen('auth.login', function ($user) { | |
if ($user->name === 'Ahmad') { | |
$user->name = 'Ahmad Shah'; | |
} | |
}); | |
<?php namespace Eisai\Foundation\Presenter; | |
use Orchestra\Support\Str; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\HTML; | |
use Orchestra\Support\Facades\Form; | |
use Orchestra\Support\Facades\Table; | |
use Orchestra\Html\Table\TableBuilder; | |
use Orchestra\Foundation\Presenter\AbstractablePresenter; |
<?php | |
use Orchestra\Support\Facades\Theme; | |
class FooController extends BaseController { | |
public function show($moduleSlug) | |
{ | |
Theme::setTheme('module'); | |
return View::make('eisai/module::show'); |
<?php | |
use \Exception; | |
use Carbon\Carbon; | |
class Scheduler { | |
/** | |
* Scheduler starting date | |
* |
###Learning objective box
[open .objectives]-content-[close]
###Glossary text
[open a .glossary]**glossary text**[close a]
###Flash forward pink box
[open .objective.flash-forward]-content-[close]
###Did you know blue box
<?php namespace Support\Notifier; | |
use Model\User; | |
use Illuminate\Support\Arr; | |
use Symfony\Component\ExpressionLanguage\ExpressionLanguage; | |
abstract class AbstractableNotifier { | |
/** | |
* Expression language component |
#!/bin/bash | |
#Database Connection | |
DBUSER="" | |
DBPASSWORD="" | |
DBNAME="" | |
#Location to save | |
BACKUPDIR="/opt/backup/database" | |
BACKUPPATH=$(date +"%m-%Y") |
$source = ['1:8', '2:8', '1:9', '2:9', '3:1']; | |
$cleanArray = []; | |
function split_source($str) { | |
$exp = explode(':', $str); | |
return $exp; | |
} | |
foreach ($source as $s) { |
<template> | |
<button @click="emitEvent">EVENT</button> | |
</template> | |
<script> | |
import { EV } from './events' | |
export default { | |
methods: { | |
emitEvent() { |