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 My\Namespace; | |
use DOMDocument; | |
use Parsedown; | |
use PhpOffice\PhpWord\TemplateProcessor as PhpWordTemplateProcessor; | |
class TemplateProcessor extends PhpWordTemplateProcessor | |
{ | |
/** | |
* Injects a markdown snippet as HTML into the word document. |
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 My\Space; | |
use League\OAuth2\Server\Entities\ClientEntityInterface; | |
use League\OAuth2\Server\Entities\UserEntityInterface; | |
use Laravel\Passport\ClientRepository; | |
use Laravel\Passport\Bridge\User; | |
use League\OAuth2\Server\RequestEvent; | |
use League\OAuth2\Server\Exception\OAuthServerException; | |
use League\OAuth2\Server\Grant\AbstractGrant; |
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
#!/usr/bin/env bash | |
############################################################################### | |
# | |
# Automatically detects a merge on to master from a gitflow-style release | |
# branch, e.g. release-1.1.1-alpha. If the merged branch matches, the major, | |
# minor and patch versions are determined and a new release tag is created | |
# locally. If remote origin exists, this tag will automatically be pushed. | |
# | |
# In addition to creating a tag, the release branch will automatically be | |
# merged into the develop branch. If the branch has already been merged this |
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 | |
require_once 'phing/Task.php'; | |
/** | |
* Retrieves and sets a property based on the requested key index | |
*/ | |
class ListItemByKeyTask extends Task | |
{ |
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 | |
/* | |
* $Id$ | |
* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
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
(function() { | |
'use strict'; | |
var module = angular.module('jrl.notifications', []); | |
module.service('notify', [ | |
'$q', '$window', | |
function($q, $window) { | |
var svc = { | |
send: function(){}, |
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
(function() { | |
'use strict'; | |
var app = angular.module('jrl.websockets', [ | |
'jrl.utils' | |
]); | |
app.service('websocket', [ | |
'$q', '$timeout', 'common', | |
function($q, $timeout, common) { |
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\Oauth2\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
use App\User; | |
use League\OAuth2\Server\Exception\AccessDeniedException; | |
use League\OAuth2\Server\Exception\InvalidRequestException; | |
use League\OAuth2\Server\ResourceServer; | |
use Exception; |
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\Oauth2; | |
use Illuminate\Support\ServiceProvider; | |
use League\OAuth2\Server\ResourceServer; | |
class Oauth2ServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap application services. | |
* |
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 Closure; | |
use Illuminate\Http\Request; | |
use League\OAuth2\Server\Exception\AccessDeniedException; | |
use League\OAuth2\Server\Exception\InvalidRequestException; | |
use League\OAuth2\Server\ResourceServer; | |
use Exception; | |
class OauthAccess |
NewerOlder