Skip to content

Instantly share code, notes, and snippets.


Michael Hall unrivaledcreations

View GitHub Profile
tliesnham / CoasterValetDriver.php
Last active Aug 10, 2017
Fixes the Responsive Filemanager when running a Coaster project locally with Laravel Valet.
View CoasterValetDriver.php
class CoasterValetDriver extends ValetDriver
* Determine if the driver serves the request.
* @param string $sitePath
* @param string $siteName
* @param string $uri
stollcri /
Last active Nov 24, 2021
Clear 307 HSTS redirects in Google Chrome

To clear 307 HSTS redirects in Google Chrome (if you experimenting with SSL -- you probably wouldn't want to do this for a site that you do not opperate, since it is there to protect you), go to the following URL and delete the site.


maxrice / us-state-names-abbrevs.php
Created May 23, 2012
US State Names & Abbreviations as PHP Arrays
View us-state-names-abbrevs.php
/* From */
$us_state_abbrevs_names = array(
magnusdahlstrand / gist:1923948
Created Feb 27, 2012
Remove all ._* and .AppleDouble-files
View gist:1923948
Remove ._*- and .AppleDouble-files from folders.
Adapted from Torkel's comment on
Cred to hiber for suggesting adding -print0/-0 to solve whitespace issue.
See all ._*-files:
find . -name '._*' | more
Remove all ._*-files:
find . -name '._*' -print0 | xargs -0 rm