[Jifty-commit] r3092 - in jifty/trunk: .
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Apr 3 22:30:15 EDT 2007
Author: jesse
Date: Tue Apr 3 22:30:07 2007
New Revision: 3092
Modified:
jifty/trunk/ (props changed)
jifty/trunk/doc/talks/present-slides
jifty/trunk/doc/talks/yapc.asia.2007.txt
Log:
r54435 at pinglin-2: jesse | 2007-04-04 11:29:04 +0900
more slides
Modified: jifty/trunk/doc/talks/present-slides
==============================================================================
--- jifty/trunk/doc/talks/present-slides (original)
+++ jifty/trunk/doc/talks/present-slides Tue Apr 3 22:30:07 2007
@@ -38,9 +38,10 @@
$mode = 'perl';
}
if ( $mode eq 'text' and $slide ) {
- $slide = autoformat $slide, { left => 1, right => ($cols-1), all => 1 };
+ $slide = autoformat $slide, { left => 2, right => ($cols-1), all => 1 };
}
elsif ($mode eq 'perl') {
+ $slide =~ s/^/ /gsm;
my $tidycols = $cols - 2; # squeeze for display
open my $out , ">/tmp/output.$$" || die $!;
print $out $slide || die $!;
@@ -61,12 +62,12 @@
$left = 0;
}
$console->Cursor( $left, int($rows/2)-1, );
- print $slide."\n";
+ print colored($slide." \n",'bold blue on white');
}
$console->Cursor( 0, ( $rows - 1 ) );
- print "$counter/" . $#SLIDES;
+ print colored("$counter/" . $#SLIDES, "bold white");
ReadMode 4;
my $key = ReadKey(0);
ReadMode 0;
Modified: jifty/trunk/doc/talks/yapc.asia.2007.txt
==============================================================================
--- jifty/trunk/doc/talks/yapc.asia.2007.txt (original)
+++ jifty/trunk/doc/talks/yapc.asia.2007.txt Tue Apr 3 22:30:07 2007
@@ -53,9 +53,9 @@
---
DHH demonstrated Rails migrations
---
-Looked very sexy
+they looked very sexy
---
-Was very jealous
+I was very jealous
---
"You can't do this in any other language"
---
@@ -543,9 +543,9 @@
...
if (defined wantarray) {
- return $closure_around_$code;
+ return sub { ...closure around $code...};
} else {
- # Actually do our work and run $code
+ # Actually do our work, run $code and return the output
}
}
---
More information about the Jifty-commit
mailing list