Skip to content

Instantly share code, notes, and snippets.

View robomalo's full-sized avatar

John Robinson Jr. robomalo

  • LinkedIn
  • San Francisco, California
View GitHub Profile
#!/bin/bash
DBHOST='localhost'
DBUSER='root'
SITENAME="${1}"
DBNAME="${SITENAME}"
stty -echo
read -p "MySQL Password: " DBPASS;
stty echo
@eligrey
eligrey / object-watch.js
Created April 30, 2010 01:38
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/