This file contains hidden or 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
$ ./proto install november | |
Downloading november...downloaded | |
Downloading html-template...downloaded | |
Building html-template...built | |
Building november...built | |
$ |
This file contains hidden or 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 v6; | |
use Sinatra; | |
get '/hi' => { | |
"Hello World!" | |
}; |
This file contains hidden or 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
\begin{floatingfigure}{0.4\textwidth} | |
\includegraphics[width = 0.4\textwidth]{images/magician.eps} | |
\end{floatingfigure} |
This file contains hidden or 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
perl -le ' | |
print "---"; | |
my @a = ( | |
["Parrot directory", "/home/user/something/parrot"], | |
["Parrot revision", "bleeding"] | |
); | |
for my $setting (@a) { | |
my ($key, $value) = @{$setting}; | |
print $key, ": ", $value; | |
}' |
This file contains hidden or 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
$ ./proto install november | |
Downloading november...downloaded | |
Building november...built | |
$ cd projects/november/ | |
$ git co -b html-template-gone origin/html-template-goneBranch html-template-gone set up to track remote branch refs/remotes/origin/html-template-gone. | |
Switched to a new branch "html-template-gone" | |
$ rm Makefile; find lib/ -name \*.pir | xargs rm # The crucial step! We forgot this before. | |
$ cd - | |
$ ./proto install november | |
Downloading november...downloaded |
This file contains hidden or 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
We got the grant[1], yay! And also a message saying this: | |
] For now, just a note: as the people that commented in the blog, the GC | |
] members also are not happy with the module name (too vague). Although | |
] not a requirement (you may maintain the name) we would love if you could | |
] find a better one. | |
My general question, then, is: should we think about changing the name of | |
the module from 'Web' to something else? | |
This file contains hidden or 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 co -r2357 http://dev.catalyst.perl.org/repos/Catalyst/trunk catalyst2357 | |
[...] | |
$ cat catalyst2357/Catalyst/lib/Catalyst/Dispatcher.pm | |
package Catalyst::Dispatcher; | |
use strict; | |
use base 'Class::Accessor::Fast'; | |
use Catalyst::Exception; | |
use Catalyst::Utils; | |
use Catalyst::Action; |
This file contains hidden or 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
$ ./proto update november | |
Updating november...updated | |
Updating html-template...updated | |
Building html-template...built | |
Building november...built | |
$ |
This file contains hidden or 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
------------------------------------------------- Module#instance_method | |
mod.instance_method(symbol) => unbound_method | |
------------------------------------------------------------------------ | |
Returns an +UnboundMethod+ representing the given instance method | |
in _mod_. | |
class Interpreter | |
def do_a() print "there, "; end | |
def do_d() print "Hello "; end | |
def do_e() print "!\n"; end |
This file contains hidden or 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
$ perl -MYAML -e 'print Dump({ "foo" => [1..3]})' | |
--- | |
foo: | |
- 1 | |
- 2 | |
- 3 | |
$ perl -MYAML::XS -e 'print Dump({ "foo" => [1..3]})' | |
--- | |
foo: | |
- 1 |