This file contains 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
<? | |
// | |
// [ BUY BTC & ETH DAILY ON BITSTAMP ] | |
// by @levelsio | |
// | |
// 2017-08-23 | |
// | |
// 1) buy $40/day BTC | |
// 2) buy $10/day ETH | |
// |
This file contains 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\Controllers\Api\V1; | |
use App\Http\Controllers\Controller; | |
use App\Http\Requests; | |
use Illuminate\Http\Request; | |
use Tymon\JWTAuth\Facades\JWTAuth; | |
use Tymon\JWTAuth\Exceptions\JWTException; | |
class AuthenticateController extends Controller | |
{ |
This file contains 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
^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ | |
^ #start of the line | |
# # must constains a "#" symbols | |
( # start of group #1 | |
[A-Fa-f0-9]{6} # any strings in the list, with length of 6 | |
| # ..or | |
[A-Fa-f0-9]{3} # any strings in the list, with length of 3 | |
) # end of group #1 |