Skip to content

Instantly share code, notes, and snippets.

@abcsun
abcsun / app\Http\Controllers\AuthenticationController.php
Created March 10, 2016 04:25 — forked from jonsa/app\Http\Controllers\AuthenticationController.php
Minimal Lumen framework configuration with Dingo and JWT
<?php
namespace App\Http\Controllers;
use Tymon\JWTAuth\JWTAuth;
use Illuminate\Http\Request;
use Tymon\JWTAuth\Exceptions\JWTException;
/**
* Class AuthenticationController
@abcsun
abcsun / 0_reuse_code.js
Created February 25, 2016 07:40
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console