INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
ideally one sentence >
#!/bin/sh | |
printf "Switching php to version 7.1 with symlinks.\n" | |
printf "Press any key to continue...\n" | |
read CONTINUE | |
printf "Creating backups..." | |
# Backup original binaries |
#!/bin/sh | |
printf "Switching php to version 5.6 with symlinks.\n" | |
printf "Press any key to continue...\n" | |
read CONTINUE | |
printf "Creating backups..." | |
# Backup original binaries |
<?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 MyApp\Providers; | |
use Exception; | |
use Cartalyst\Sentry\Sentry; | |
use Cartalyst\Sentry\Users\UserInterface; | |
use Tymon\JWTAuth\Providers\Auth\AuthInterface; | |
class SentryAuthAdapter implements AuthInterface | |
{ | |
/** |
Via http://christoph-rumpel.com/2014/02/how-to-laravel-series-lets-talk-gulp/ | |
$ node -v | |
v0.10.28 | |
$ npm -v | |
1.4.24 | |
You no longer require a database entry to load content. providing a path will run through Cartalyst/interpret and boom, job done. | |
@content('foo.bar') | |
@content('foo.bar', 'baz') | |
@content('foo.bar', 'http://baz.md') | |
or | |
@content('foo.bar', 'some/folder/http://baz.md') |
<?php | |
use Illuminate\Support\Contracts\ArrayableInterface; | |
use Illuminate\Support\Contracts\JsonableInterface; | |
class Excel implements ArrayableInterface, JsonableInterface{ | |
protected $objPHPExcel; | |
public function __construct($file){ | |
if($file instanceof \SplFileInfo){ | |
$filename = $file->getRealPath(); |
<?php | |
// Resizer and Image Manipulation | |
// Based on: http://forums.laravel.com/viewtopic.php?id=2648 | |
public function post_edit_logo($id) | |
{ | |
$rules = array( | |
'image' => 'image', | |
); |
#!/bin/sh | |
if [ -n "$1" ]; then | |
mkdir ./"$1"; | |
mv docs.sh "$1"/docs.sh; | |
cd "$1" | |
# Change "jasmine-standalone-1.2.0.rc3.zip" - for the desired version in the next 2 lines. | |
wget https://github.com/pivotal/jasmine/downloads/jasmine-standalone-1.2.0.zip; | |
unzip jasmine-standalone-1.2.0.zip; | |
sh docs.sh "$1" | |
$EDITOR . |