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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Line Chart</title> | |
| <link type="text/css" rel="stylesheet" href="line.css"/> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript" src="line.js"></script> | |
| </body> |
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
| #!/home/user/.perl6/bin/perl6 | |
| use v6; | |
| grammar TEST { | |
| rule TOP { ^ <sentence> $ } | |
| rule sentence { <subject> <verb> <object> \. } | |
| token subject { 'pigs' } | |
| token verb { 'eat' } | |
| token object { 'pods' } |
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
| Jun 28, 2012 10:36:37 AM org.openqa.grid.selenium.GridLauncher main | |
| INFO: Launching a standalone server | |
| 10:36:37.588 INFO - Java: Sun Microsystems Inc. 20.0-b12 | |
| 10:36:37.589 INFO - OS: Linux 3.2.0-25-generic i386 | |
| 10:36:37.595 INFO - v2.23.1, with Core v2.23.1. Built from revision 17143 | |
| 10:36:37.696 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
| 10:36:37.697 INFO - Version Jetty/5.1.x | |
| 10:36:37.698 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] | |
| 10:36:37.699 INFO - Started HttpContext[/selenium-server,/selenium-server] | |
| 10:36:37.699 INFO - Started HttpContext[/,/] |
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 Example; | |
| our $VERSION = '0.1'; | |
| enum Something <SOME THING>; | |
| our sub SOME (Str $str) { | |
| return "str: $str"; | |
| } |
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
| # Apparently the .can method doesn't recognize what's done with | |
| # fallback code. Is that intended? | |
| use v6; | |
| class A { | |
| INIT { | |
| $?PACKAGE.^add_fallback( | |
| # Only provide a fallback function for "foo" |
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
| { | |
| a => {a => 1} | |
| b => {b => 2}, | |
| } |
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; | |
| grammar G { | |
| proto token TOP { * }; | |
| token TOP:sym<a> { 'a' }; | |
| }; | |
| class GA { | |
| method TOP { say "TOP"; }; | |
| method TOP:sym<a> ($/) { say 'a' }; |
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
| # Just a placeholder so we can require a file. You can put "class Loader;" in here if you want... it still breaks. |
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; | |
| my $fake_OUT = class {method print(*@args) {}}; | |
| my $real_OUT = $*OUT; | |
| sub quiet () { $*OUT = $fake_OUT } | |
| sub speak () { $*OUT = $real_OUT } | |
| say 'a'; | |
| quiet; |
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
| my $str = " | |
| TITLE: My Title | |
| This is an example of some paragraph text. One of the | |
| key characteristics is that it can span multiple lines. | |
| This is another paragraph. | |
| "; | |
OlderNewer