Skip to content

Instantly share code, notes, and snippets.

View elvispt's full-sized avatar
🎱
Flying is learning how to throw yourself at the ground and miss.

Elvis Pestana elvispt

🎱
Flying is learning how to throw yourself at the ground and miss.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am elvispt on github.
  • I am elvispestana (https://keybase.io/elvispestana) on keybase.
  • I have a public key ASC_u8qreJVQO_HuUc8YJUd6ZlbQgBUq-hVfTC9oWuNNXgo

To claim this, I am signing this object:

@elvispt
elvispt / snippets.js
Last active September 22, 2016 09:03
dev browser snippets.
(function (_window) {
/**
* useful dev snippets
* Some of these where created by me, others obtained from: http://bgrins.github.io/devtools-snippets/
*/
var _that = {
// will get the list of events associated with the element. uses jQuery
elementEvents: function (elem) {
@elvispt
elvispt / layout.js
Last active August 29, 2015 14:23 — forked from marceloemanoel/layout.js
define(["jquery",
"jquery.gridster"], function($) {
var gridster = $(".gridster").gridster({
widget_margins: [5, 5],
widget_base_dimensions: [200, 200],
widget_selector:"section.widget",
draggable: {
handle: '.ui-sortable-handle, .ui-sortable-handle > h5',
stop: function() {