This file contains hidden or 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
/** | |
* Retrieve a user by their unique identifier. | |
* | |
* @param mixed $identifier | |
* @return \Illuminate\Auth\UserInterface|null | |
*/ | |
public function retrieveById($identifier) | |
{ | |
if ($entries = $this->searchLdap($identifier)) { | |
if (Config::get('l4-openldap::use_db')) { |
This file contains hidden or 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
/* latin */ | |
@font-face { | |
font-family: 'Montserrat'; | |
font-style: italic; | |
font-weight: 300; | |
src: local('Montserrat Light Italic'), local('Montserrat-LightItalic'), url(https://fonts.gstatic.com/s/montserrat/v10/zhwB3-BAdyKDf0geWr9Ft04GofcKVZz6wtzX_QUIqsI.woff2) format('woff2'); | |
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; | |
} | |
@font-face { |
This file contains hidden or 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 | |
`which php` -n \ | |
-c /etc/php/php.ini \ | |
"$@"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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\Console\Commands; | |
trait OutputPrefixTrait | |
{ | |
/** | |
* The string used to prefix command output. | |
* |
This file contains hidden or 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 | |
class XhguiValetDriver extends BasicValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
This file contains hidden or 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 | |
/** | |
* Created by PhpStorm. | |
* User: Muhammad | |
* Date: 05/07/2016 | |
* Time: 01:20 PM | |
*/ | |
add_filter('get_user_metadata', 'decrypt_user_meta',10,4); |
This file contains hidden or 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
# Block example.com from sending to any other domain | |
if first_delivery | |
and ("$h_from:" contains "@example.com") | |
and ("$h_to:" matches "@(?!example.com)[a-z0-9_.]+") | |
or ("$h_cc:" matches "@(?!example.com)[a-z0-9_.]+") | |
or ("$h_bcc:" matches "@(?!example.com)[a-z0-9_.]+") | |
then | |
headers add "X-Org-Subject: $h_subject" | |
headers remove Subject | |
headers add "Subject: EmailJail'd: $h_x-org-subject" |
This file contains hidden or 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 | |
error_reporting( E_ALL ); | |
ini_set( 'display_errors', 1); | |
define('TEST_KEY', 'test'); | |
define('TEST_VAL', 'test42'); | |
$fileName = basename(__FILE__); |
This file contains hidden or 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 MallardDuck\ConfigParser; | |
use Verraes\Parsica\Internal\EndOfStream; | |
use Verraes\Parsica\Internal\Position; | |
use Verraes\Parsica\Internal\TakeResult; | |
use Verraes\Parsica\Stream; | |
class TextFileStream implements Stream |
OlderNewer