This file contains hidden or 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
<div rowsPerPage="100" id="grid" jsId="grid" dojoType="dojox.grid.DataGrid" model="dataModel" | |
class="grid v0 stackGrid marginCenter" | |
structure="layout"> | |
<script type="dojo/connect" event="onCellClick" args="event"> | |
var targetClass = event.target.className; | |
if(targetClass == "first"||targetClass == "last"){ | |
moveRow(event.rowIndex,event.target.className); | |
} | |
</script> | |
</div> |
This file contains hidden or 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 | |
# command line interface to get your 5 most recent FF subscriptions | |
import xmlrpclib | |
ff = xmlrpclib.Server("http://friendfeed.com/RPC2", use_datetime=True) | |
# api key fromhttps://friendfeed.com/account/api |
This file contains hidden or 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
No message. | |
[Thrown class java.lang.ExceptionInInitializerError] | |
Restarts: | |
0: [ABORT] Return to SLIME's top level. | |
1: [CAUSE] Throw cause of this exception | |
Backtrace: | |
0: sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
1: sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) |
This file contains hidden or 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 oldXhr = dojo.xhr; | |
dojo.xhr = function(/*String*/ method, /*dojo.__Scrags*/ args, | |
/*Boolean?*/ hasBody){ | |
// first clone so we don't screw up original caller | |
var cloneargs = dojo.mixin( {}, args ); | |
if (cloneargs.url) { | |
cloneargs.url = 'myfunkyurl?a=' + cloneargs.url; |
This file contains hidden or 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() { | |
dojo.xhrGet = function(/*dojo.__XhrArgs*/ args){ | |
// first clone so we don't screw up original caller | |
var cloneargs = dojo.mixin( {}, args ); | |
if (cloneargs.url) { | |
cloneargs.url = 'myfunkyurl?a=' + cloneargs.url; | |
} | |
return dojo.xhr("GET", cloneargs); | |
}; |
This file contains hidden or 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 layout = [{ | |
cells: [[ | |
{ name: ' ', | |
get: getSubgridToggler, | |
style: 'text-align: center;', | |
width: '18px', | |
headerClasses:'expandHeader' } | |
]] | |
}]; | |
This file contains hidden or 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
store.fetchItemByIdentity( { identity: id, | |
onItem: function(item){ | |
store.deleteItem( item ); | |
} | |
}); |
This file contains hidden or 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
dojo.require('dojox.lang.aspect'); | |
dojo.require('dojo.lang.aspect.tracer'); | |
dojo.addOnLoad( function() { | |
var aop = dojox.lang.aspect; | |
aop.advise( yourObj, | |
/^((?!toString).)*$/, | |
new aop.tracer(true)); | |
}); |
NewerOlder