This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI.add('dav', function(Y) { | |
Y.Dav = function() { | |
function _func(args) { | |
return true; | |
} | |
var _foo = "bar"; | |
return { | |
_func : myFunction, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="dav.js"></script> | |
<script> | |
YUI().use('node', 'dav', function(Y) { | |
var dav = new Y.Dav(); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Event = YAHOO.util.Event; | |
Event.on(from, 'blur',updateSlider); | |
Event.on(to,'blur', updateSlider); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Module | |
YUI.add('Config', function(Y) { | |
var Config = { | |
data: {}, | |
foo: function() { | |
} | |
} | |
Y.Config = Config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var Dom = YAHOO.util.Dom, | |
Event = YAHOO.util.Event; | |
Event.onDOMReady(function() { | |
var textareas = document.body.getElementsByTagName('textarea'), | |
len = textareas.length, | |
editors = []; | |
for (var i = 0; i < len; i++) { | |
editors[i] = new YAHOO.widget.SimpleEditor(textareas[i], { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think I git the gist of a gist. | |
Fork You ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import vobject | |
from cStringIO import StringIO | |
import os, sys, string | |
''' | |
Simple script to parse an Apple Addressbook export file and | |
turn it into a Mutt aliases file | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//DragDrop | |
var dd = new YAHOO.util.DD('dd'); | |
dd.on('dragEvent', function() { }); | |
//Panel | |
var panel = new YAHOO.widget.Panel('panel'); | |
panel.renderEvent.subscribe(function() {}); | |
//Calendar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
<title>Nested Layout</title> | |
<style type="text/css"> | |
body { | |
margin:0; | |
padding:0; | |
} |