Skip to content

Instantly share code, notes, and snippets.

View kimerran's full-sized avatar
😻
Focusing

mh kimerran

😻
Focusing
  • Manila, Philippines
View GitHub Profile
@kimerran
kimerran / rust-001.rs
Last active August 29, 2015 14:11 — forked from anonymous/rust-001.rs
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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000