I hereby claim:
- I am lagbox on github.
- I am lagbox (https://keybase.io/lagbox) on keybase.
- I have a public key ASCQteousz2szFfmNleRonMulhl0FvZELkm3q6P85vVBUQo
To claim this, I am signing this object:
| <form action="test?test=query" method="post"> | |
| @csrf | |
| <input type="hidden" name="test" value="post" /> | |
| <input type="submit" value="blah" /> | |
| </form> |
| <?php | |
| Route::get('/{type?}', function ($type = "") { | |
| // if (in_array($type, ['buy', 'sell'])) { | |
| if ($type == 'buy' || $type == 'sell') { | |
| return view('home', [ | |
| 'country' => app('App\Http\Controllers\CountriesController')->getCountry(), | |
| ]); | |
| } |
| <?php | |
| // View/Factory.php | |
| ... | |
| public function shareLater($key, callable $value) | |
| { | |
| $keys = is_array($key) ? $key : [$key => $value]; | |
| foreach ($keys as $key => $value) { | |
| $this->share($key, new Shareable($this->container, $value)); |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| ... | |
| class RouteServiceProvider ... | |
| { | |
| ... | |
| public function map(Router $router) | |
| { |
| // Macro recorded on: Thu Apr 28 2016 11:27:27 GMT-0400 (EDT) | |
| komodo.assertMacroVersion(3); | |
| if (komodo.view) { komodo.view.setFocus(); } | |
| var editor = require("ko/editor"); | |
| // current cursor position | |
| var pos = editor.getCursorPosition(); | |
| // current line size | |
| var osize = editor.getLineSize(); |
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Http\Requests\TestRequest; | |
| class TestController extends Controller | |
| { | |
| public function __construct() | |
| { |
This has been moved to my blog at asklagbox blog
We are going to make a quick laravel application, including the setup and install.
We will setup the project using the following:
| # | |
| # data structure | |
| # { | |
| # key: ..., | |
| # expires_at: ..., | |
| # ... | |
| # } | |
| # | |
| class CacheBrain |