Differences between revisions 4 and 5
Revision 4 as of 2010-12-24 00:17:12
Size: 2584
Comment: hm, creating new pages is problematic with CategoryDoc
Revision 5 as of 2011-08-26 04:10:18
Size: 2594
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
http://moinmoin.wikiwikiweb.de/ [http://www.python.org/ Python] http://moinmoin.wikiwikiweb.de/ [[http://www.python.org/|Python]]
Line 49: Line 49:
http://c2.com/sig/wiki.gif {{http://c2.com/sig/wiki.gif}}
Line 70: Line 70:
drawing:mytest {{drawing:mytest}}

Feel free to experiment here, after the four dashes below. Please do not create new pages without any meaningful content just to try it out!

You may want to open HelpOnEditing in a new window or tab while you edit.


Formatting

italic bold typewriter

backtick typewriter (configurable)

bigger smaller

preformatted some more
and some more lines too

   1 def syntax(highlight):
   2     print "on"
   3     return None
   4 

   1   public void main(String[] args]){
   2      System.out.println("Hello world!");
   3   } 
   4 

Linking

HelpOnEditing InterWiki

http://moinmoin.wikiwikiweb.de/ Python

someone@example.com

http://c2.com/sig/wiki.gif

Smileys

/!\ Alert

Lists

Bullet

  • first
    1. nested and numbered
    2. numbered lists are renumbered
  • second
  • third blockquote
    • deeper

Glossary

Term
Definition

Drawing

http://moinmaster.wikiwikiweb.de/ http://moinmoin.wikiwikiweb.de/ Edit drawing mytest.tdraw (opens in new window) Edit drawing mytest.tdraw (opens in new window) Edit drawing mytest.tdraw (opens in new window) Edit drawing mytest.tdraw (opens in new window) mytest.tdraw

Heading 1

Heading 2

Heading 3

Heading 4

Runlevels

Upstart should support allowing the user to select the default runlevel from the kernel command line. The following script, which is designed for Ubuntu 8.04 (Hardy Heron), allows upstart to set the runlevel based on kernel command line parameters:

# rc - runlevel compatibility
#
# This task guesses what the "default runlevel" should be and starts the
# appropriate script.
#
# From the kernel command line, specify a desired runlevel by
# writing "init" followed by the runlevel number. For example, you would
# do this for entering runlevel 3:
# kernel /boot/vmlinuz root=/dev/sda1 ro init 3

start on stopped rcS

script
        runlevel --reboot || true

        RL="$(sed -ne 's/.*init \([2-5S]\).*/\1/p' /proc/cmdline || true)"

        if grep -q -w -- "-s\|single\|S" /proc/cmdline; then
            telinit S
        elif [ -n "$RL" ]; then
            telinit $RL
        elif [ -r /etc/inittab ]; then
            RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)"
            if [ -n "$RL" ]; then
                telinit $RL
            else
                telinit 2
            fi
        else
            telinit 2
        fi
end script
# vim: sts=4


test edit

Hm, it's not obvious how to create a new page if the only page I want it linked to is the CategoryDoc, which only links to my page via a /backlink/. I guess I'll create a link from here: UnprivilegedUsers

WikiSandBox (last edited 2011-08-26 04:10:18 by localhost)