Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@moyoinc
moyoinc / jitsu
Created November 10, 2012 15:51
jitsudeploy
bash-3.2# jitsu deploy
info: Welcome to Nodejitsu moyoinc
info: jitsu v0.11.1, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in app.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/rasmus/development/moyo.la/package.json
data:
@moyoinc
moyoinc / jsd.draggableIsotopeAtom.js
Created September 24, 2012 06:35 — forked from jstarrdewar/jsd.draggableIsotopeAtom.js
Extension of jQueryUI Draggable that works with Isotope
/**
* The purpose of this jQuery UI plugin is to account for the bug in Firefox that doesn't correctly report the positions
* of elements that are positioned with CSS transforms. Luckily, isotope keeps track of what the position should be, so
* we can calculate the correct offset.
*
* @author: John Starr Dewar
*/
(function($) {
// Arguments to .extend are returned object, merge object 1, merge object 2
$.widget('jsd.draggableIsotopeAtom', $.ui.draggable, {