This file contains 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
-- Create label elements. Supports custom classes | |
[%- INCLUDE 'forms/label.tt' for=form.field('Whatever') class="sparkly" -%] | |
[%- INCLUDE 'forms/label.tt' for="Your own string" class="standard html class spec" -%] | |
-- Display just an <input>, <select>, etc | |
-- You can specify a type on input.tt, even if you use for=form.field('...') | |
[%- INCLUDE 'forms/input.tt' for=form.field('Whatever') class="sparkly" -%] | |
[%- INCLUDE 'forms/label.tt' for="id-of-object" type="Whatever" class="more classes" -%] | |
-- Create a row with a label on the left, and a field on the right. |
This file contains 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
svn add -- git add . | |
svn diff -- git diff | |
svn ci -- git commit | |
svn log -- git log | |
svn rm -- git rm | |
svn mv -- git mv | |
svn merge -- git create-migraine |
This file contains 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
if ($original->length != $track->duration) | |
{ | |
push @edits, $c->model('Moderation')->insert(undef, | |
type => ModDefs::MOD_ED_TRACKTIME, | |
track => $original, | |
newlength => $track->duration | |
) | |
} |
This file contains 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
Useless use of private variable in void context at /home/ollie/musicbrainz-server/lib/MusicBrainz/Server/Controller/Rating.pm line 72. | |
"my" variable $e masks earlier declaration in same scope at /home/ollie/musicbrainz-server/lib/MusicBrainz/Server/Controller/AutoEditorElection.pm line 58. | |
Use of uninitialized value $referer in pattern match (m//) at /home/ollie/musicbrainz-server/lib/MusicBrainz/Server/Controller/User.pm line 101. | |
Argument "" isn't numeric in numeric gt (>) at /home/ollie/musicbrainz-server/root/rating/stars.tt line 20. | |
# Failed test '/artist/5b11f4ce-a62d-471e-81fc-a69a8278c7da is not valid XHTML' | |
# at t/validator/artist.t line 30. | |
# line: %s, col: %s | |
# error: %s | |
# 1956Attribute "name" exists, but can not be used for this element. |
This file contains 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
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(cperl-auto-newline t) | |
'(cperl-brace-offset -4) | |
'(cperl-close-paren-offset -4) | |
'(cperl-continued-statement-offset 4) | |
'(cperl-indent-level 4) |
This file contains 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
Entity/Artist.pm | 13 +++++++ | |
Role/DataQuality.pm | 9 +++++ | |
Role/Editable.pm | 9 +++++ | |
Role/GID.pm | 10 ++++++ | |
Role/ID.pm | 9 +++++ | |
Role/Name.pm | 10 ++++++ | |
Role/SortName.pm | 9 +++++ | |
Storage/Artist.pm | 69 ++++++++++++++++++++++++++++++++++++++++ | |
Storage/Role/CacheAccessor.pm | 70 +++++++++++++++++++++++++++++++++++++++++ | |
Storage/Role/Memcached.pm | 13 +++++++ |
This file contains 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
[ollie@ollie-desktop tsp (master)]$ perl tsp.pl lol | |
Attempting to calculate best root between 3 cities. | |
Stopping after 10 stable runs. | |
Best distance | Route | |
.---------------+----------------. | |
| 7.09 | 1 -> 0 -> 2 | | |
| 7.09 | 1 -> 0 -> 2 | | |
| 6.86 | 0 -> 1 -> 2 | | |
| 6.86 | 0 -> 1 -> 2 | |
This file contains 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
package A; | |
use Moose::Role; | |
sub do_a { print "doing a in A\n" } | |
package B; | |
use Moose::Role; | |
sub do_b { print "doing b in B\n" } |
This file contains 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
use feature 'say'; | |
package Load; | |
use Moose::Role; | |
sub load { say 'wee, loading' } | |
package CachedLoad; | |
use Moose::Role; |
This file contains 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
The following releases have no files attached | |
45120694-8b10-4ca9-91a5-0d873ea51e2e | |
5b232b02-5ee7-430f-8094-717e44a6a480 | |
747cc114-dddc-4657-963c-fc9b263e6d48 | |
4010e251-51af-47d2-aedd-8006c6abed30 | |
994860b5-a575-4015-a749-552a388359cb | |
0b47e228-1c93-4b16-9243-984f8d9f279c | |
9bf5c365-ee52-47e1-9338-a117d003269d | |
74da0ad3-b05f-4127-be21-10de857463f4 | |
a651979f-9c7e-4464-9c74-2b370ede95f1 |