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
<html> | |
<head> | |
<script type="text/javascript" src="static/js/raphael.js"></script> | |
<script type="text/javascript" src="static/js/raphael.draggable.js"></script> | |
</head> | |
<body> | |
<div style="width:300px; height: 300px; border: 2px solid #000" id="container"> | |
</div> | |
<script type="text/javascript"> | |
var paper = Raphael(document.getElementById("container"), 300, 300).draggable.enable(); |
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
--- lib/DBIx/Class/Admin.pm (revision 9414) | |
+++ lib/DBIx/Class/Admin.pm (working copy) | |
@@ -338,6 +338,7 @@ | |
# schema is unversioned | |
$schema->throw_exception ("Could not determin current schema version, please either install() or deploy().\n"); | |
} else { | |
+ $schema->upgrade_directory($self->sql_dir); | |
my $ret = $schema->upgrade(); | |
return $ret; | |
} |
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
hactar% ./bin/gwibber | |
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow) | |
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible) | |
** Message: pygobject_register_sinkfunc is deprecated (GtkObject) | |
** (gwibber:30631): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags' | |
** (gwibber:30631): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags' | |
** (gwibber:30631): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags' |
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
<ul id="messages"> | |
<li>...</li> | |
<li>...</li> | |
<li id="right"> | |
<ul> | |
<li id="wrong">...</li> | |
</ul> | |
</li> | |
</ul> |
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
# Matches $data against the magic database criteria and returns the MIME | |
# type of the file. | |
sub checktype_contents { | |
my $data = shift; | |
my $substr; | |
return undef unless defined $data; | |
if ($data =~ m[^\x89PNG]) { | |
return q{image/png}; |
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
hactar% ./tools/dump_tweets --username=REDACTED --password=REDACTED | |
looking for newer tweets | |
=> got 20 new tweets | |
=> found original tweet for: "whoa tamale tracker. Whoa. ~@kaydeelee" | |
=> found original tweet for: "Claudio @theemptybottle for the A-Frames ~@saddestpanda" | |
=> found original tweet for: "Blue cooler at whistler, good thing I'm wearing my cryptonite red cooler tshirt from @scaredpanda ~@djskinnyfat" | |
=> could not find original tweet for: "at the @theemptybottle ~@cinchel" | |
=> found original tweet for: "plz come to gold star. My girlfriend is hungrah! ~@armaghetto" | |
=> found original tweet for: ". Julio @theemptybottle...blarfmgh ~@saddestpanda" | |
=> found original tweet for: "bring Claudio to beauty bar please! Dancin up a hunger. ~@KARlrEEMus" |
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 orig_console_log = console.log; | |
console.log = function () { | |
if (options.debug == "true" && console) { | |
orig_console_log.apply(console, arguments); | |
} | |
}; |
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
demand.utils.getFormInputs = function(element) { | |
if (!element) return []; | |
var children = element.childNodes, | |
length = children.length, | |
inputs = []; | |
for (var i = 0; i < length; i++) { | |
var child = children[i]; |
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
hactar% ./tools/dump_tweets --username=HUH --password=HMM --delay=3 | |
looking for newer tweets | |
↳ got 1 new tweets | |
↳ searching samorama for "club foot (@ Tamale Guy - Claudio) http://4sq.com/8pxwGZ ~@samorama" | |
↳ found 18 for max_id: 21978659308 | |
↳ found original tweet |
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
stylesheets: | |
for COLOR in $(COLORS) \ | |
do \ | |
cat $(CSS_SOURCE)/color/$${COLOR} $(ALICE_SCSS) | sass --scss -s $(BUILD)/alice-$${COLOR}.css \ | |
done |