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
<n:invisible xmlns="http://www.w3.org/1999/xhtml" lang="en" xmlns:n="http://nevow.com/ns/nevow/0.1"> | |
<h2>Nested-Iteration Test</h2> | |
<div n:data="rows" n:render="sequence" > | |
<n:invisible n:pattern="item" n:render="row"/> | |
<hr n:pattern="divider" /> | |
</div> | |
</n:invisible> |
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
class IterPage(WebConfig): | |
docFactory = loaders.xmlfile(util.sibpath(__file__, 'templates/iter.xhtml')) | |
addSlash = False | |
def data_rows(self, ctx, data): | |
return [ | |
[ 1, 2, 3 ], | |
[ 1 ], | |
[ 1, 4, 9, 3 ], | |
] |
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
gst-launch videotestsrc ! fakesink | |
Setting pipeline to PAUSED ... | |
Pipeline is PREROLLING ... | |
Caught SIGSEGV accessing address 0xe755dd1 | |
#0 0x00007fff8fa16df2 in select$DARWIN_EXTSN () | |
#1 0x000000010e3754d3 in g_poll () | |
#2 0x000000010e368e66 in g_main_context_iterate () | |
#3 0x000000010e36a382 in g_main_loop_run () | |
#4 0x000000010e1fe43e in gst_bus_poll () | |
#5 0x000000010e1e2b99 in dyld_stub_strlen () |
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
from twisted.internet import reactor | |
from coherence.base import Coherence | |
config = {'interface': 'en0', 'logmode':'warning'} | |
c = Coherence(config) | |
def startUPnP(): | |
c.ssdp_server.register('local', | |
"uuid:<uuid>", | |
"urn:<urn>", |
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
df -hl -T -x noauto -x tmpfs -x none |
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 document; | |
var dbg = (typeof console !== 'undefined') ? function(s) { | |
console.log("Readability: " + s); | |
} : function() {}; | |
/* | |
* Readability. An Arc90 Lab Experiment. | |
* Website: http://lab.arc90.com/experiments/readability | |
* Source: http://code.google.com/p/arc90labs-readability |
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
$home = $ENV{'HOME'} // $ENV{'LOGDIR'} // | |
(getpwuid($<))[7] // die "You're homeless!\n"; |