Skip to content

Instantly share code, notes, and snippets.

Colton Baker Southern

  • NC, USA
Block or report user

Report or block Southern

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:7156147
92% info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-330 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Errors occured while starting the application
error: Error starting application. This could be a user error.
error: info: Running start for app.
error: info: Cleaning /opt/run
error: info: Fetching application snapshot...
@Southern
Southern / phonenumber.js
Last active Oct 11, 2015
Phone Number Validator
View phonenumber.js
// Remap `exports` to `window` if `exports` doesn't exist.
if (!exports) var exports = window;
// Regex to match numbers to.
var REGEX = /^\(?(?=\d{3})(\d{3})[).\-\s]*(\d{3})[.\-\s]*(\d{4})$/;
String.prototype.replace = (function(orig) {
return function(replace, replacement) {
// Allow arrays to be used.
if (replace instanceof Array) {
You can’t perform that action at this time.