Skip to content

Instantly share code, notes, and snippets.

View ocharles's full-sized avatar
🥳

Ollie Charles ocharles

🥳
View GitHub Profile
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
if ($original->length != $track->duration)
{
push @edits, $c->model('Moderation')->insert(undef,
type => ModDefs::MOD_ED_TRACKTIME,
track => $original,
newlength => $track->duration
)
}
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.
(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)
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 +++++++
[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 |
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" }
use feature 'say';
package Load;
use Moose::Role;
sub load { say 'wee, loading' }
package CachedLoad;
use Moose::Role;
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
(20:33:36) Jason Watson: you said "wily sz" bla bla
(20:33:42) Ollie: o
(20:33:43) Jason Watson: dnt get it
(20:33:44) Jason Watson: context
(20:33:47) Ollie: she said her vibrator was willy size
(20:33:51) Ollie: said that was a bit vague
(20:34:14) Jason Watson: ah
(20:34:20) Jason Watson: nat is a girl?
(20:34:23) Jason Watson: lol
(20:34:26) Ollie: natalya...