Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

spatterson's scratchpad

by spatterson (Monk)
on Aug 25, 2005 at 14:04 UTC ( #486561=scratchpad: print w/replies, xml ) Need Help??

What shortcuts can I use for linking to other information?

Writeup Formatting Tips

Mad regex-fu for pulling odd characters out of strings

$_ = "Bilbo Baggins's birthday is September 22"; /(.*)'s birthday is (.*)/; print "Person: $1\n"; print "Date: $2\n";
OO snippets
sub new { my $class = shift; my $self = {}; bless $self, $class; return $self; }
also, vimrc
" autowrapping text set wrapmargin=10 " makes comments more readable set background=dark " i want syn hilighting syntax on "Display a status-line set statusline=~ "Default tab for 4 set tabstop=4 " Number of spaces to insert when indenting. set shiftwidth=4 "Default backspace like normal set backspace=2 "Some option desactivate by default (remove the no). set nobackup "Show the position of the cursor. set ruler "Show matching parenthese. set showmatch "Wrap text "set wrap set smartindent set expandtab set showmatch set formatoptions=tcr
Log In?

What's my password?
Create A New User
[marto]: my out of working hours time is very scarce at the moment
[marto]: unfortunately for you guys I can still access PM during the day :P
[Corion]: marto: Ow, I hope that gets better soonish! But I feel some $work-timecrunch looming at my $work as well
[Corion]: marto: Ah, so you can multiplex work and PM time ;-D
[Corion]: The upside to this is that I've reduced my $work (well, $paid) time to 80%, so I'll be at $work only four days/week, which will hopefully make the crunch less crunchy on me ;)
[marto]: yeah, so that stays as before. But before the boys were born I'd be on quite often at night (GMT) also
[marto]: I had the option during our TUPE transfer to buy 5 more days holiday. They were shocked when I did :P

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-06-29 08:21 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (655 votes). Check out past polls.