Skip to content

Instantly share code, notes, and snippets.

View mallardduck's full-sized avatar
🦑
Rockin the suburbs

Dan mallardduck

🦑
Rockin the suburbs
View GitHub Profile
@mallardduck
mallardduck / php-serenata.sh
Created May 28, 2018 22:27
A simple bash script that ensures Xdebug is not loaded. May only work on Arch Linux as PHP configurations are OS dependant.
#!/usr/bin/env bash
`which php` -n \
-c /etc/php/php.ini \
"$@";
@mallardduck
mallardduck / _font-montserrat.css
Created November 8, 2017 18:12
Old Montserrat Font Family File
/* 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 {
/**
* 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')) {