Skip to content

Instantly share code, notes, and snippets.

View dtateii's full-sized avatar

Dave Tate dtateii

View GitHub Profile
@leobauza
leobauza / .jshintrc
Last active August 29, 2015 14:05
roughly a good .jshintrc file (excessive trickiness disallowed)
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"node" : false,
@siffring
siffring / .htaccess
Created March 4, 2012 17:33
htaccess to password protect a specific server
# ----------------------------------------------------------------------
# Password protect staging server
# Use one .htaccess file across multiple environments
# (e.g. local, dev, staging, production)
# but only password protect a specific environment.
# ----------------------------------------------------------------------
SetEnvIf Host staging.domain.com passreq
AuthType Basic
AuthName "Password Required"