Skip to content

Instantly share code, notes, and snippets.

George Banis gbanis

Block or report user

Report or block gbanis

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
gbanis / gist:dec2bcc1a33c2e35f47f
Created Jan 23, 2015
Service Oriented Architecture: Building an Authorization Provider on Rails
View gist:dec2bcc1a33c2e35f47f
gbanis / validate_matching_parentheses
Created Dec 5, 2014
Validate a string for matching opening and closing parentheses and brackets.
View validate_matching_parentheses
# create a stack
# set the lookup hash
# set left = lookup.keys
# set right = lookup.values
# for each char in string
# is it a left bracket?
# add character on the stack
# if not, is it a right bracket?
# pop the last left bracket from the stack
View gist:4729d626c53ce20256c3
CRUD = Create, Read, Update, Delete
You can’t perform that action at this time.