Skip to content

Instantly share code, notes, and snippets.

View iolson's full-sized avatar

Ian Olson iolson

  • Grubhub
  • Chicago, IL
View GitHub Profile
@iolson
iolson / .bash_profile
Created July 22, 2015 17:54
Bash Profile
# Quicker navigation
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ......="cd ../../../../.."
alias .......="cd ../../../../../.."
# Aliases
alias ll='ls -l'
@iolson
iolson / index.blade.php
Created July 17, 2015 02:57
Using Vue inside my
@extends($viewNamespace . '::layouts.master')
@section('title', 'Dashboard')
@section('page-title', 'Dashboard')
@section('page-subtitle', '')
@section('content')
<div class="box">
<div class="box-body" id="form">
{!! BootForm::open()->post()->action(route('users.index')) !!}
{!! BootForm::text('First Name', 'first_name') !!}
<div v-repeat="items" class="form-group">
@iolson
iolson / AuthTest.php
Created June 20, 2015 23:35
Laravel 5.1 Package Testing
<?php
/**
* @package Dashboard
* @version 1.0.0
* @author Ian Olson <[email protected]>
* @license MIT
* @copyright 2015, Odot Media LLC
* @link https://odotmedia.com
*/
@iolson
iolson / AuthenticateController.php
Last active December 4, 2022 23:24
SentinelAuthAdapter for using Tymon\JWTAuth with Cartalyst\Sentinel
<?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
{
<?php
namespace AdvisorsExcel\ImportBundle\Entity;
/**
* Class EntityPlus
*
* Parent class for generic Doctrine entities that provides a convenience method for populating the entity
* from an associative array.
*/