Read the blog at http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-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
<?php | |
if (! function_exists('tailclass')) { | |
function tailclass($key, $default = null) { | |
$default = $classArr['default'] ?? []; | |
unset($classArr['default']); | |
$result = $default; | |
foreach($classArr as $key => $value) { |
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\Http\Livewire; | |
use Livewire\Component; | |
class SimpleBrowserNotification extends Component | |
{ | |
public string $title; |
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
ALTER TABLE bu_translates ADD FULLTEXT (`content`) WITH PARSER ngram; |
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 | |
/** | |
* Created by PhpStorm. | |
* User: alan | |
* Date: 24/12/2018 | |
* Time: 5:47 PM | |
*/ | |
namespace App\Models; |
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
function eps_checksum(accNumber) { | |
return 10 - (accNumber.split("").map((digit, index) => digit*( Number((index+1)%2==0)+1) ).reduce((a,b)=> a+(b%10)+Number(b>10)) % 10 ); | |
} |
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 | |
$zh_hk = [ | |
"一" => "yat", | |
"丁" => "ding", | |
"七" => "chat", | |
"万" => "waan", | |
"丈" => "jeung", | |
"三" => "sham", | |
"上" => "seung", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>{{config('admin.title')}} | {{ trans('admin.login') }}</title> | |
<!-- Tell the browser to be responsive to screen width --> | |
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> | |
@if(!is_null($favicon = Admin::favicon())) |
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\Admin\Controllers\Lam; | |
use App\Models\ApiLog; | |
class ApiLogController extends BaseGridController | |
{ | |
public function __construct() |
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 | |
/** | |
* User: extralam | |
* Date: 24/12/2018 | |
* Time: 5:47 PM | |
*/ | |
namespace App\Models; |
NewerOlder