Skip to content

Instantly share code, notes, and snippets.

Alvaro alvarouribe

Block or report user

Report or block alvarouribe

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
EdwardIrby / twitterTypeahead.html
Created Jun 6, 2014
RactiveJS Twitter Typeahead Component
View twitterTypeahead.html
<input class="flex-input-field" decorator="typeahead">
dmozzy / CalcDistance.js
Created Apr 16, 2012
Calculate Distance using google.maps.geometry.spherical.computeDistanceBetween
View CalcDistance.js
<script src="" type="text/javascript"></script>
<script type="text/javascript">
function calcDistance (fromLat, fromLng, toLat, toLng) {
return google.maps.geometry.spherical.computeDistanceBetween(
new google.maps.LatLng(fromLat, fromLng), new google.maps.LatLng(toLat, toLng));
learncodeacademy / pubsub.js
Created Jul 29, 2015
Basic Javascript PubSub Pattern
View pubsub.js
//events - a super-basic Javascript (publish subscribe) pattern
var events = {
events: {},
on: function (eventName, fn) {[eventName] =[eventName] || [];[eventName].push(fn);
off: function(eventName, fn) {
if ([eventName]) {
dypsilon /
Last active Jan 20, 2020
A badass list of frontend development resources I collected over time.
View bling.js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
NodeList.prototype.__proto__ = Array.prototype;
You can’t perform that action at this time.