Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| fn main() { | |
| //let world: &'static str = "world"; | |
| println!("Hello {}!", foo(10)); | |
| while_foo(4); | |
| let ages = vec![1,2,3]; | |
| forloop_foo(ages); | |
| match_foo(18); | 
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000