#Permissions and Roles
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\Auth; | |
use adLDAP\collections\adLDAPUserCollection; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
class AdUser implements Authenticatable | |
{ |
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
FROM php:7-fpm | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
apt-utils \ | |
apt-transport-https \ | |
debconf-utils \ | |
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ | |
&& curl https://packages.microsoft.com/config/debian/8/prod.list > /etc/apt/sources.list.d/mssql-release.list \ | |
&& apt-get update \ |
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
#!/bin/bash | |
DIR=$HOME/.local/share/Steam/ | |
echo "Removing libstd" | |
find $DIR -iname "libstd*" -exec rm -rf {} \; | |
echo "Removing libgcc" | |
find $DIR -iname "libgcc*" -exec rm -rf {} \; | |
echo "All Done" |
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 Acme\View; | |
use Illuminate\View\FileViewFinder; | |
use Cache; | |
use Carbon\Carbon; | |
use File; | |
class RemoteViewFinder extends FileViewFinder { | |
public function find($name) | |
{ |
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 ACME\Validation; | |
use Illuminate\Validation\Factory as LaravelFactory; | |
class Factory extends LaravelFactory{ | |
/** | |
* Resolve a new Validator instance. | |
* | |
* @param array $data |