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 | |
////////////////////////////////////////////////////////// | |
// This Class will be use to send push notification to iPhone device. | |
////////////////////////////////////////////////////////// | |
class IOSPushNotify | |
{ | |
private $apnPath; | |
private $authId; |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 3, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme", | |
"font_size": 15, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
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\Middleware; | |
use Auth; | |
use Closure; | |
class Admin | |
{ | |
/** | |
* Handle an incoming request. |
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 | |
use Carbon\Carbon; | |
use Nissi\Proxies\Date; | |
use Nissi\Proxies\Text; | |
use Nissi\Proxies\Format; | |
use Nissi\Proxies\Number; | |
use Nissi\Proxies\Inflect; | |
use Nissi\Proxies\Geography; | |
use Nissi\ValueObjects\Gravatar; |
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
@extends('admin.layouts.master') | |
@section('page_meta') | |
<title>{{ page_title('{Resources}') }}</title> | |
@endsection | |
@section('content') | |
<a href="{{ route('admin.{items}.create') }}" class="btn btn-primary pull-right"><i class="fa fa-plus"></i> Add {Resource}</a> |
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\Admin; | |
use App\BlogPost; | |
use Carbon\Carbon; | |
use Laracasts\Flash\Flash; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Support\Facades\Redirect; |
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
"ignore_regexes": [ | |
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json", | |
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/", | |
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini", | |
"\\.env", "vendor/", "node_modules/", "tests/", | |
"storage/app/public/", | |
"storage/framework/cache/", "storage/framework/sessions/", "storage/framework/views/", | |
"storage/logs/" | |
], |
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
const elixir = require('laravel-elixir'); | |
elixir(function (mix) { | |
const bowerPath = './vendor/bower_components'; | |
// Stylesheets | |
// -------------------------------------------------- // | |
// Compiles to public/css/app.css | |
mix.less('app.less', 'public/css', null, { |
OlderNewer