Skip to content

Instantly share code, notes, and snippets.

View davglass's full-sized avatar
💭
Taking a much needed sabbatical from Open Source. Please fork and carry on.

Dav Glass davglass

💭
Taking a much needed sabbatical from Open Source. Please fork and carry on.
View GitHub Profile
We couldn’t find that file to show.
YUI.add('dav', function(Y) {
Y.Dav = function() {
function _func(args) {
return true;
}
var _foo = "bar";
return {
_func : myFunction,
<script src="dav.js"></script>
<script>
YUI().use('node', 'dav', function(Y) {
var dav = new Y.Dav();
});
</script>
var Event = YAHOO.util.Event;
Event.on(from, 'blur',updateSlider);
Event.on(to,'blur', updateSlider);
//Module
YUI.add('Config', function(Y) {
var Config = {
data: {},
foo: function() {
}
}
Y.Config = Config;
(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], {
@davglass
davglass / gist:55803
Created February 1, 2009 06:24 — forked from lloyd/gist:55756
I think I git the gist of a gist.
Fork You ;)
#!/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
//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
<!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;
}