Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(Code blocks)
 
(387 intermediate revisions by 52 users not shown)
Line 1: Line 1:
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]
{{注意|注意注意注意}}
+
{{Related articles start}}
[[pt:Sandbox]]
+
{{Related|Help:Editing}}
{{DISPLAYTITLE:新標題}}
+
{{Related|Help:Style}}
'''Welcome to the ArchWiki. Feel free to train your Wiki editing skills on this page.'''
+
{{Related articles end}}
{{警告|警告警告}}
+
''You can use this page to practise editing the wiki.''
{{Article summary start}}
+
{{Article summary text|My text.}}
+
{{Sandbox|Sandbox}}
+
{{Article summary heading|Links}}
+
{{Article summary link|Archlinux.org|http://archlinux.org}}
+
{{Article summary heading|See also}}
+
{{Article summary wiki|Category:Sandbox}}
+
{{Article summary end}}
+
  
{{Sandbox|expansion}}
+
-------------------------------------------------------
  
{{Sandbox}}
+
==test
{{Keypress|Ctrl}}
+
===dl
==这是一个一级标题==
+
====dt
===这是一个二级标题===
+
=====dd
*1
+
== test ==
*2
+
=== 1.1 ===
#1
+
#2
+
#4
+
*{{警告|警告警告}}
+
  
Some pointers to learn the right syntax:
+
this is paragraph 1
* http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet
+
* http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page
+
* http://meta.wikimedia.org/wiki/Category:Documentation
+
* http://en.wikipedia.org/wiki/Help:Table
+
  
<br><hr> <!-- Your stuff goes below this line, okay? -->
+
this is another paragraph and another one.
  
{{:Sandbox/New Entry}}
+
<dl>
 +
<dt>
 +
<i>file</i><b>.i</b></dt>
 +
<dd>
 +
C source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.ii</b></dt>
 +
<dd>
 +
C++ source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.m</b></dt>
 +
<dd>
 +
Objective-C source code.  Note that you must link with the
 +
<i>libobjc</i> library to make an Objective-C program
 +
work.</dd>
 +
</dl>
  
szcrsex {{ic|a}}aa</code> rxsrse
+
==Arch==
  
szcrsex {{ic|a}}aa</code> rxsrse
+
{| class="wikitable mw-collapsible mw-collapsed"
 +
! test spoiler:
 +
|-
 +
| Cada uno es como Dios le hizo, y aún peor muchas veces.
 +
|}
  
drvtv {{ic|a}}aa</tt> restdf
+
test test
 +
I can't live, if living is without 'U'
  
<tt>'''this is test'''</tt>
+
== Test < > chars in pre and code ==
  
<code>a
+
  this < is < sparta >
  aa</code>
+
  
{{bc|
+
what is this {{ic|thing <doing> <<< >>>}} here
a}}</pre>
+
  
{{ic|aaa
+
==test==
bbb}}
+
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>New line
  
==Arch linux==
+
'''''bold and italics'''''
  
archlinux is the best linux distro available.
+
''''' Bold and italics are in five apostrophes'''''
 +
=====Fifth Level Heading=====
 +
no indent
 +
:indent
 +
::more indent
 +
:::and more
 +
"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."
  
ǝlqɐlıɐʌɐ oɹʇsıp xnuıl ʇsǝq ǝɥʇ sı xnuılɥɔɹɐ
+
==Ingredientes, panqueques con manjar!!==
  
#<!-- floating sidebar? -->
 
#<div class="toc" style="position:fixed;left:0;bottom:0;width:139px;height:120px;">This is a test</div>
 
  
This is <pre style="display: inline;">inline</pre> maybe?
+
{{hc|Ingredientes Arch|
  
Maybe <pre style="display: inline; padding: 0.1em 0.2em;">this one</pre> can be inline instead... (am I really discussing even here???)
+
* 2 Unidades de Huevos
 +
* 1 Taza de Harina
 +
* 1 Taza de Leche
 +
* 1 Cucharadita de Aceite
 +
* 1 Pizca de Sal
 +
* Manjar (dulce de leche)
 +
* 1 Paquete de Azúcar flor para decorar
 +
}}
  
#**abcds <br>
+
== Code block ==
--------[[Image:Tango-two-arrows.png]]
+
#**sdfaf
+
# pacman -S foo bar
+
  
{{ic| fsdgsdfgdhdfgh}}
+
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
 +
== cb2 ==
 +
{{hc|asdf|
 +
lkl
 +
}}
  
????????????????????//oiyiouoj
+
*bullet list
 +
*again
 +
**indent
 +
***more indent
 +
*bullet
 +
Link to pacman
 +
[[pacman]]
 +
'''Bold text'''''Italic text''  [http://www.example.com link title]
  
=A very big heading=
+
<s>strike out</s>
  
这里可以使用中文吗?
+
test: asfd
test test 321
+
BLAH TEST
+
  
{{Keypress|A}}
+
{{Note|This is a note.}}
#helo
+
^^^^
+
  
{{Keypress|Return}}
+
{{Note|This is another note}}
  
# cat /boot/vmlinuz26 > /dev/dsp
+
:::testing indent
# pacman -S foo bar
+
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
Pacman utils
+
== Template sandbox ==
  
$ pacman -Ss <the-name-of-a-package>
+
Section for testing [[Template:Sandbox]].
$ sudo pacman -S <the-name-of-a-package>
+
  
or (as root)
+
{{Sandbox|Testing message.}}
  
# pacman -Ss <the-name-of-a-package>
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
# pacman -S <the-name-of-a-package>
+
  
{{hc|File Name|File Content}}
+
== Code blocks ==
  
{{Note|Note text}}
+
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
  
{{Tip|Tip text}}
+
<i>foo</i> [[bar]]
  
{{Warning|Warning text}}
+
{{bc|<i>foo</i> [[bar]]}}
 
+
{{ic|pacman --sync --refresh --sysupgrade}}
+
 
+
{{ic|/etc/rc.local}}
+
 
+
{{Progressbar|13}}
+
{{Progressbar|50}}
+
 
+
{| border="1"
+
| A || B
+
|-
+
| C || D
+
|}
+
 
+
== Q and A ==
+
Q: Isn't is possible to add remote image files to wiki?
+
 
+
A: No. The setting is disabled. Contact a wiki admin to upload images
+
to the wiki, which can then be used as such:
+
 
+
That's a test!
+
 
+
[[Image:Tango-two-arrows.png]]
+
 
+
=Top Level Heading (title)=
+
 
+
==Article headings==
+
===Inner headings===
+
====Innerer headings====
+
=====Innererer headings=====
+
======Inest headings======
+
=======Aargh!=======
+
 
+
==And Here's the Code==
+
line1
+
line2
+
line3
+
line4
+
line5
+
==And Here's the Code==
+
(second part)
+
 
+
==OK. Another heading==
+
= Columns =
+
== Testing columns ==
+
<div style="float: left; width: 50%; border: 1px ">
+
* Info for first column
+
More info for first column
+
</div><div style="float: left; width: 50%">
+
* Info for second column
+
More info for second column
+
</div>
+
[[#Columns]]
+
 
+
== Testing two ==
+
{| border="1" width="100%"
+
| <span style="color: #ff9900"><b>FEATURE RICH</b></span>                                                                  <ul>
+
<li>CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy</li>
+
<li>SSL, IPv4, IPv6</li>
+
<li>Best Ruby on Rail support</li>
+
<li>Apache compatible .htaccess support</li>
+
<li>mod_security compatible request filtering</li>
+
<li>Apache compatible URL rewrite engine</li>
+
<li>MS FrontPage Server Extension</li>
+
</ul>
+
|<span style="color: #ff9900"><b>FAST</b></span>
+
<ul>
+
<li>Up to <b>9</b> times faster than Apache</li>
+
<li>PHP performance increases 50%</li>
+
<li>Best Ruby on Rail performance</li>
+
<li>3 times faster than Apache in SSL</li>
+
<li>Efficient CGI daemon</li>
+
<li>High performance Perl daemon</li>
+
<li>SSL Hardware acceleration</li>
+
</ul>
+
|-
+
|<span style="color: #ff9900"><b>USER FRIENDLY</b></span>
+
<ul>
+
<li>Easy installation</li>
+
<li>Automatic PHP Setup</li>
+
<li>Easy server management through Admin GUI</li>
+
<li>Apply changes on the fly</li>
+
<li>Real-time service monitoring</li>
+
<li>Automatic update agent</li>
+
<li>Virtual host template configuration</li>
+
</ul>                                         
+
|<span style="color: #ff9900"><b>SECURE</b></span>
+
<ul>
+
<li>Strictest HTTP request validation</li>
+
<li>Deny any buffer-overrun attempts</li>
+
<li>Anti-DDoS: Throttling &amp; Connection Accounting</li>
+
<li>System overloading prevention</li>
+
<li>Chroot web server process</li>
+
<li>CGI/FCGI/LSAPI/PHP/RUBY suEXEC </li>
+
<li>Virtual host chroot</li>
+
</ul>
+
|-
+
|<span style="color: #ff9900"><b>RELIABLE</b></span>
+
<ul>
+
<li>Watch Dog monitoring</li>
+
<li>Recover from service failure instantly</li>
+
<li>Zero down time graceful restart</li>
+
</ul>
+
|<span style="color: #ff9900"><b>SCALABLE</b></span>
+
<ul>
+
<li>Small memory footprint</li>
+
<li>Thousands of concurrent connections</li>
+
<li>Increase scalability of external web applications </li>
+
</ul>
+
|-
+
| colspan="2" |<span style="color: #ff9900"><b>EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE</b></span>
+
<ul>
+
<li>Apache interchangeable, operate directly from Apache httpd.conf</li>
+
<li>Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc</li>
+
<li>Migration from other web servers is quick and easy </li>
+
<li>No need to purchase extra hardware to cope with your current web server's lack of performance</li>
+
<li> Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.</li>
+
</ul>
+
|}
+
 
+
== Extra two ==
+
{| border="1" width="100%"
+
| <span style="color: #ff9900">'''FEATURE RICH'''</span>                                                                 
+
 
+
* CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy
+
* SSL, IPv4, IPv6
+
* Best Ruby on Rail support
+
* Apache compatible .htaccess support
+
* mod_security compatible request filtering
+
* Apache compatible URL rewrite engine
+
* MS FrontPage Server Extension
+
|<span style="color: #ff9900">'''FAST'''</span>
+
 
+
* Up to '''9''' times faster than Apache
+
* PHP performance increases 50%
+
* Best Ruby on Rail performance
+
* 3 times faster than Apache in SSL
+
* Efficient CGI daemon
+
* High performance Perl daemon
+
* SSL Hardware acceleration
+
|-
+
|<span style="color: #ff9900">'''USER FRIENDLY'''</span>
+
 
+
* Easy installation
+
* Automatic PHP Setup
+
* Easy server management through Admin GUI
+
* Apply changes on the fly
+
* Real-time service monitoring
+
* Automatic update agent
+
* Virtual host template configuration                                         
+
|<span style="color: #ff9900">'''SECURE'''</span>
+
 
+
* Strictest HTTP request validation
+
* Deny any buffer-overrun attempts
+
* Anti-DDoS: Throttling &amp; Connection Accounting
+
* System overloading prevention
+
* Chroot web server process
+
* CGI/FCGI/LSAPI/PHP/RUBY suEXEC
+
* Virtual host chroot
+
|-
+
|<span style="color: #ff9900">'''RELIABLE'''</span>
+
 
+
* Watch Dog monitoring
+
* Recover from service failure instantly
+
* Zero down time graceful restart
+
|<span style="color: #ff9900">'''SCALABLE'''</span>
+
 
+
* Small memory footprint
+
* Thousands of concurrent connections
+
* Increase scalability of external web applications
+
|-
+
| colspan="2" |<span style="color: #ff9900">'''EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE'''</span>
+
 
+
* Apache interchangeable, operate directly from Apache httpd.conf
+
* Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc
+
* Migration from other web servers is quick and easy
+
* No need to purchase extra hardware to cope with your current web server's lack of performance
+
*  Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
+
|2012-05-24 19:19:18
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|-
+
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
+
|2012-05-27 23:19:27
+
|content
+
|test
+
|}
+
test
+
  
== Tesztrész ==
+
Inline <code>monospace</code>.

Latest revision as of 13:01, 8 April 2016

Related articles

You can use this page to practise editing the wiki.


==test ===dl ====dt =====dd

test

1.1

this is paragraph 1

this is another paragraph and another one.

file.i
C source code that should not be preprocessed.
file.ii
C++ source code that should not be preprocessed.
file.m
Objective-C source code. Note that you must link with the libobjc library to make an Objective-C program work.

Arch

test spoiler:
Cada uno es como Dios le hizo, y aún peor muchas veces.
test test
I can't live, if living is without 'U'

Test < > chars in pre and code

this < is < sparta >

what is this thing <doing> <<< >>> here

test

Third heading

This is a para also

Fourth heading

Me too
New line

bold and italics

Bold and italics are in five apostrophes

Fifth Level Heading

no indent

indent
more indent
and more

"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."

Ingredientes, panqueques con manjar!!

Ingredientes Arch

* 2 Unidades de Huevos
* 1 Taza de Harina
* 1 Taza de Leche
* 1 Cucharadita de Aceite
* 1 Pizca de Sal
* Manjar (dulce de leche)
* 1 Paquete de Azúcar flor para decorar

Code block

Hello World program
#include <stdio.h>
int main(int argc, char* argv[])
{
  printf("Hello World!\n");
  return 0;
}

cb2

asdf
lkl
  • bullet list
  • again
    • indent
      • more indent
  • bullet

Link to pacman pacman Bold textItalic text link title

strike out

test: asfd

Note: This is a note.
Note: This is another note
testing indent
   testing indent
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin egestas, magna non sollicitudin commodo, sapien elit semper sapien, adipiscing consectetur nisi ipsum ut elit. Sed ac neque ut nulla tempor porttitor. Mauris interdum. Cras feugiat sodales nibh. Proin neque turpis.

Template sandbox

Section for testing Template:Sandbox.



Code blocks

<i>foo</i> [[bar]]
foo bar
foo bar

Inline monospace.