Skip to content

Instantly share code, notes, and snippets.

View rassie's full-sized avatar

Nikolai Prokoschenko rassie

  • Nürnberg, Germany
View GitHub Profile
--- /home/nikolai/Downloads/lastfmplus/__init__.py 2009-07-20 23:23:58.000000000 +0200
+++ __init__.py 2009-07-21 00:46:45.000000000 +0200
@@ -176,56 +176,60 @@
# join the information
join_tags = cfg["lastfm_join_tags_sign"]
- if join_tags:
+ def join_tags_or_not(list):
+ if join_tags:
+ return join_tags.join(list)
<html>
<style type="text/css">
BODY {
counter-reset: chapter; /* Create a chapter counter scope */
}
H1:before {
content: counter(chapter) ". ";
counter-increment: chapter; /* Add 1 to chapter */
}
H1 {
nikolai@nikolai-desktop:/musicbrainz$ ./admin/InitDb.pl --createdb
Fri Aug 7 23:36:12 2009 : InitDb.pl starting
Fri Aug 7 23:36:12 2009 : Creating database 'musicbrainz_db'
createlang: konnte nicht mit Datenbank plpgsql verbinden: FATAL: Datenbank >>plpgsql<< existiert nicht
Failed to create language
Fri Aug 7 23:36:13 2009 : InitDb.pl failed
$VAR1 = [
'-h',
'localhost',
'-U',
'postgres',
'musicbrainz_db',
'-d',
'--no-password',
'plpgsql'
];
YUI/1~ | 2 +
YUI/packjs.sh | 9 +
YUI/yuicompressor-2.4.2/ant.properties | 8 +
YUI/yuicompressor-2.4.2/build.xml | 66 +
YUI/yuicompressor-2.4.2/doc/CHANGELOG | 226 +
YUI/yuicompressor-2.4.2/doc/README | 140 +
.../yahoo/platform/yui/compressor/Bootstrap.java | 22 +
.../platform/yui/compressor/CssCompressor.java | 188 +
.../platform/yui/compressor/JarClassLoader.java | 158 +
.../yui/compressor/JavaScriptCompressor.java | 1309 +++
if (n > 0) {
do {
processItem();
} while (--n);
}
n = parseInt(i / 8, 10);
do {
processItem();
processItem();
processItem();
$thisEditor.find("div:first > div:first > div:not(:first)") // Find all artist entry lines,
.filter(":has(input.artistCredit:visible)") // and for those lines with visible AC fields,
.find("input.artistName, div.artistResolvedName") // get the artist name input and resolved text elements in each,
.each(function () { // make sure the width of those fields is at the 'visible AC' width,
$(this).css("width", "19em");
#0 0x00002adeb6be06c2 in Perl_mg_free () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so
No symbol table info available.
#1 0x00002adeb6bf752d in Perl_sv_clear () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so
No symbol table info available.
#2 0x00002adeb6bf7ad0 in Perl_sv_free () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so
No symbol table info available.
#3 0x00002adeb6c1aa9f in Perl_leave_scope () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so
No symbol table info available.
#4 0x00002adeb6c1e948 in Perl_pp_leaveloop () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so
No symbol table info available.
package Musicbrainz::View::Artist;
private template 'header' => sub {
my ($artist) = @_;
# Given over on $stash, here as an example
my $link_hash = {
overview => 'http://test.musicbrainz.org/artist/06fb1c8b-566e-4cb2-985b-b467c90781d4',
releases => 'http://test.musicbrainz.org/artist/06fb1c8b-566e-4cb2-985b-b467c90781d4/releases',
};
my $titles = {