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 28: Line 28:
  
 
<pre><nowiki>
 
<pre><nowiki>
<source lang="csharp">
+
<source lang="cs">
 
// Hello World in Microsoft C# ("C-Sharp").
 
// Hello World in Microsoft C# ("C-Sharp").
  

Revision as of 13:40, 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. Here's an example of how to display some C# source code:
<source lang="cs">
// Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}
</source>

Results in:

// Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello, World!");
        return 0;
    }
}

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