Usage:
@componenet('password', ['name' => 'Optional name/id. Defaults to "password".'])
Optional label text. Defaults to "Password".
@endcomponent
/** | |
* The following block of code may be used to automatically register your | |
* Vue components. It will recursively scan this directory for the Vue | |
* components and automatically register them with their "basename". | |
* | |
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component> | |
*/ | |
// Register all Async Vue components | |
for (const file of require.context('./', true, /\.vue$/i, 'lazy').keys()) { | |
const componentName = file |
Usage:
@componenet('password', ['name' => 'Optional name/id. Defaults to "password".'])
Optional label text. Defaults to "Password".
@endcomponent
<?php | |
if (false) { | |
/** | |
* Class Collection | |
* | |
* @method static static pad(int $size, $value) | |
* @method static dd() | |
* @method static dump() | |
* @method static \Illuminate\Support\Collection ifEmpty(callable $callback) |
<?php | |
namespace Modules\Module\Http\Middleware; | |
use Cartalyst\Sentinel\Laravel\Facades\Sentinel; | |
use Illuminate\Http\Request; | |
use Illuminate\Http\Response; | |
use Modules\User\Entities\UserToken; | |
use Modules\User\Repositories\UserTokenRepository; |
From: http://dev.mysql.com/doc/refman/5.7/en/bit-functions.html#c9386
Posted by Neil Davis on April 3, 2008
Revised by Phillip Temple on September 11, 2008
If you store your ip addresses as a 32 bit unsigned integer representation instead of strings(using INET_ATON()), you can use bitwise operators to pull the octets for grouping and sorting when you need to retrieve them:
select
ipAddress, (ipAddress >> 24) as firstOctet,