[tor-commits] [stem/master] Adding an examples section to our site

atagar at torproject.org atagar at torproject.org
Mon Mar 11 05:41:28 UTC 2013


commit 4d89032ba6f7d1c2babd54c593668c8e74b23f98
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Mar 10 22:40:11 2013 -0700

    Adding an examples section to our site
    
    Example sections containing projects and scripts using stem. Presently this is
    pretty small - hopefully it'll grow soon!
---
 docs/_static/arm.png                               |  Bin 0 -> 9536 bytes
 docs/_static/label/arm.png                         |  Bin 0 -> 780 bytes
 .../label/double_double_toil_and_trouble.png       |  Bin 0 -> 2674 bytes
 docs/_static/label/resources/arm.xcf               |  Bin 0 -> 2286 bytes
 .../resources/double_double_toil_and_trouble.xcf   |  Bin 0 -> 8434 bytes
 docs/_static/section/tutorial/cauldron.png         |  Bin 0 -> 9943 bytes
 docs/contents.rst                                  |    1 +
 docs/tutorial.rst                                  |   14 +++++++++++
 docs/tutorial/double_double_toil_and_trouble.rst   |   25 ++++++++++++++++++++
 9 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/docs/_static/arm.png b/docs/_static/arm.png
new file mode 100644
index 0000000..2844b0a
Binary files /dev/null and b/docs/_static/arm.png differ
diff --git a/docs/_static/label/arm.png b/docs/_static/label/arm.png
new file mode 100644
index 0000000..8bbfd68
Binary files /dev/null and b/docs/_static/label/arm.png differ
diff --git a/docs/_static/label/double_double_toil_and_trouble.png b/docs/_static/label/double_double_toil_and_trouble.png
new file mode 100644
index 0000000..843aaa3
Binary files /dev/null and b/docs/_static/label/double_double_toil_and_trouble.png differ
diff --git a/docs/_static/label/resources/arm.xcf b/docs/_static/label/resources/arm.xcf
new file mode 100644
index 0000000..903d560
Binary files /dev/null and b/docs/_static/label/resources/arm.xcf differ
diff --git a/docs/_static/label/resources/double_double_toil_and_trouble.xcf b/docs/_static/label/resources/double_double_toil_and_trouble.xcf
new file mode 100644
index 0000000..b8fea3b
Binary files /dev/null and b/docs/_static/label/resources/double_double_toil_and_trouble.xcf differ
diff --git a/docs/_static/section/tutorial/cauldron.png b/docs/_static/section/tutorial/cauldron.png
new file mode 100644
index 0000000..74d32bf
Binary files /dev/null and b/docs/_static/section/tutorial/cauldron.png differ
diff --git a/docs/contents.rst b/docs/contents.rst
index d2fee6a..5826ad7 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -8,6 +8,7 @@ Contents
    tutorial/the_little_relay_that_could
    tutorial/to_russia_with_love
    tutorial/mirror_mirror_on_the_wall
+   tutorial/double_double_toil_and_trouble
 
    download
 
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 967682b..51dd14c 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -20,6 +20,11 @@ Tutorial
      Author: Unknown (gsagri04?)
      License: Public Domain
      Alternate: https://openclipart.org/detail/174179/miroir-rectangulaire-by-defaz36-174179
+   
+   * Double Double Toil and Trouble - cauldron.png
+     Source: https://openclipart.org/detail/174099/cauldron-by-jarda-174099
+     Author: Unknown (jarda?)
+     License: Public Domain
 
 Getting started with any new library can be rather daunting, so let's get our
 feet wet by jumping straight in with some tutorials...
@@ -58,3 +63,12 @@ feet wet by jumping straight in with some tutorials...
        This walks you through both where to get them and a small script to tell
        you the fastest Tor exits.
 
+   * - .. image:: /_static/section/tutorial/cauldron.png
+          :target: tutorial/double_double_toil_and_trouble.html
+
+     - .. image:: /_static/label/double_double_toil_and_trouble.png
+          :target: tutorial/double_double_toil_and_trouble.html
+
+       Sometimes it's easiest to learn a library by seeing how it's used in the
+       wild. This is a directory of scripts and applications that use stem.
+
diff --git a/docs/tutorial/double_double_toil_and_trouble.rst b/docs/tutorial/double_double_toil_and_trouble.rst
new file mode 100644
index 0000000..c6634a0
--- /dev/null
+++ b/docs/tutorial/double_double_toil_and_trouble.rst
@@ -0,0 +1,25 @@
+Double Double Toil and Trouble
+==============================
+
+Below is a listing of scripts and applications that use stem. If you have
+something you would like to have included on this page then `let me know
+<http://www.atagar.com/contact/>`_!
+
+.. list-table::
+   :widths: 1 10
+   :header-rows: 0
+
+   * - .. image:: /_static/arm.png
+          :target: http://www.atagar.com/arm/
+
+     - .. image:: /_static/label/arm.png
+
+       Terminal status monitor for Tor. This provides a top like interface
+       including system resource usage, connection information, and much more.
+
+=========================================================================================================== ==========
+`Consensus Tracker <https://gitweb.torproject.org/atagar/tor-utils.git/blob/HEAD:/consensusTracker.py>`_    Script that performs an hourly check for the number of relays within the Tor network, looking for large jumps that may indicate a sybil attack.
+`Metrics Tasks <https://gitweb.torproject.org/metrics-tasks.git/tree>`_                                     One-off tasks related to Tor metrics. These mostly involve using descriptor information to answer a particular question. Tasks that involve stem are: `1854 <https://gitweb.torproject.org/metrics-tasks.git/blob/HEAD:/task-1854/pylinf.py>`_, `6232 <https://gitweb.torproject.org/metrics-tasks.git/blob/HEAD:/task-6232/pyentropy.py>`_, and `7241 <https://gitweb.torproject.org/metrics-tasks.git/blob/HEAD:/task-7241/first_pass.py>`_.
+`check_tor <http://anonscm.debian.org/gitweb/?p=users/lunar/check_tor.git;a=blob;f=check_tor.py;hb=HEAD>`_  Nagios check to verify that a relay is participating in the Tor network.
+=========================================================================================================== ==========
+



More information about the tor-commits mailing list