Skip to content

Instantly share code, notes, and snippets.

View jeremy-hawes's full-sized avatar

Jeremy Hawes jeremy-hawes

View GitHub Profile
@jeremy-hawes
jeremy-hawes / Google Maps Polygon Coordinates Tool.markdown
Created October 9, 2015 23:07
Google Maps Polygon Coordinates Tool

Google Maps Polygon Coordinates Tool

Outputs the coordinates (longitude, latitude) for Google Maps whenever the Polygon is moved or re-shaped. Recently added a 'Copy to Clipboard' button and had data output into a textarea for easier copying & pasting

I originally built this to build map outlines for neighborhoods, villages, districts and counties - specifically for real estate purposes.

A Pen by Jeremy Hawes on CodePen.

License.

@jeremy-hawes
jeremy-hawes / Angular Counting & Totaling.markdown
Created October 9, 2015 22:48
Angular Counting & Totaling
@jeremy-hawes
jeremy-hawes / Bootstrap AJAX Form Validation & Spam Filter.markdown
Created October 9, 2015 22:46
Bootstrap AJAX Form Validation & Spam Filter

Bootstrap AJAX Form Validation & Spam Filter

Bootstrap AJAX Form Validation with built-in alerts (success & fail).

No CAPTCHA Spam Filter: Most spam emails will fill out all fields in a form based on the DOM elements on a page without reading the CSS. In this form there is a field called 'formChecker' wrapped in '.form-checker' with 'Display: none' added in the CSS. If this field is filled out a 'return false' is triggered in the JS, causing the email to not be sent.

A Pen by Jeremy Hawes on CodePen.

License.