Index: src/site/samples/terminal/index.markdown |
diff --git a/src/site/samples/terminal/index.markdown b/src/site/samples/terminal/index.markdown |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7cf337c4d0eb9b7305cc076fa8bfc25a0179ae59 |
--- /dev/null |
+++ b/src/site/samples/terminal/index.markdown |
@@ -0,0 +1,28 @@ |
+--- |
+layout: default |
+title: Emulating a terminal for working with the filesystem |
+live_example_url: example/index.html |
+ |
+header: |
+ css: ["/samples/samples.css"] |
+--- |
+ |
+## {{ page.title }} |
+ |
+This sample ports the example used in |
+[this HTML5Rocks |
+article](http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-samples-terminal) |
+by Eric Bidelman about using the FileSystem APIs. |
+ |
+This app replicates common UNIX filesystem operations such as cd, mkdir, |
+rm, open, and cat using the FileSystem API. |
+ |
+Read the |
+[source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/file/terminal). |
+ |
+<iframe class="running-app-frame" |
+ style="height:500px;width:100%;" |
+ src="{{page.live_example_url}}"> |
+</iframe> |
+ |
+See all [samples](/samples/) |