Difference between revisions of "Welcome to Geosciences Modeling Wiki"

From mn/geo/geoit
Jump to: navigation, search
(Editing pages on the niluOS MediaWiki)
(Editing pages on the niluOS MediaWiki)
Line 26: Line 26:
 
# use the <nowiki><code> ... </code> to show some simple code snippets: <code>def foo(): return</code>
 
# use the <nowiki><code> ... </code> to show some simple code snippets: <code>def foo(): return</code>
 
# The source code extension has been installed, so you can wrap source code examples in <nowiki><source></nowiki> tags. This is helpful for documenting a code example and supports many languages. Usage is simple:
 
# The source code extension has been installed, so you can wrap source code examples in <nowiki><source></nowiki> tags. This is helpful for documenting a code example and supports many languages. Usage is simple:
<nowiki>
+
 
 
     <source lang='py'>
 
     <source lang='py'>
 
     import this
 
     import this
Line 35: Line 35:
  
 
     </source>
 
     </source>
<nowiki>
+
 
  
 
Will yield:
 
Will yield:
 +
 +
 
<source lang='py'>
 
<source lang='py'>
 
import this
 
import this

Revision as of 13:38, 14 September 2011

Welcome to the NILU Open Source Wiki. The purpose of these pages is to provide information on software tools available for data analysis and scientific program for NILU projects. It is not exclusively meant for Open Source software, so if you have tips and tricks for other software, feel free to include it here as well.


NOTE: While we are requiring registration, and have the pages hidden from anonymous viewers, the pages are public facing, meaning they may be visible to users outside of NILU. Please be thoughtful when posting scripts or information on the system infrastructure. Jfb 12:50, 14 September 2011 (CEST)


Some Open Source Projects and Tools at NILU




Editing pages on the niluOS MediaWiki

These MediaWiki pages contain a mix of RestructuredText and MediaWiki Markup. It is recommended to use the mediawiki default markup, but if you are comfortable with RestructuredText then you can use it as well by simply placing your markup between <rst> ... </rst> tags.

Note that for the purposes of documenting source code there are two important features:

  1. use the <code> ... </code> to show some simple code snippets: <code>def foo(): return</code> # The source code extension has been installed, so you can wrap source code examples in <nowiki><source> tags. This is helpful for documenting a code example and supports many languages. Usage is simple:
    import this
    import sys

    for path in sys.path:
        print path


Will yield:


import this
import sys

for path in sys.path:
    print path


A good starting place for markup reference can be found here: http://meta.wikimedia.org/wiki/Help:Wikitext_examples

Consult the User's Guide for information on using the wiki software. See Also:


/Reference