Difference between revisions of "Sandbox"

Jump to: navigation, search
(Undo revision 75031 by Claus chr (talk))
 
(30 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 +
== Mail Encryption Demo ==
 +
 +
Test: <mail address="foo@bar.baz">Contact me!</mail>
 +
 
== Code tag demo ==
 
== Code tag demo ==
  
 
<!-- cpp == C++, n == numbered-->
 
<!-- cpp == C++, n == numbered-->
<code cpp n>
+
<syntaxhighlight lang="cpp-qt" line>
 
#include <QtCore/QtCore>
 
#include <QtCore/QtCore>
 
+
# Типа это тупой коментарий. А кто-то кроме меня его увидит?
 
int main(int argc, char* argv[])
 
int main(int argc, char* argv[])
 
{
 
{
 
   QApplication app(argc, argv);
 
   QApplication app(argc, argv);
 
   QLabel l("Hello world!");
 
   QLabel l("Hello world!");
   l.show();
+
   QLabel h("Хуй!");
 +
  h.show();
 
   return app.exec();
 
   return app.exec();
 
}
 
}
</code>
+
</syntaxhighlight>
  
 
{{Code|2=Some code in a box}}
 
{{Code|2=Some code in a box}}
  
 
{{Code|Use Vim|vim /etc/apt/sources.list}}
 
{{Code|Use Vim|vim /etc/apt/sources.list}}
 +
 +
{{CC-BY}}
 +
 +
{{CC-BY-NC}}
 +
 +
{{CC-BY-NC-SA}}
 +
 +
{{CC-BY-SA}}
 +
 +
{{GFDL}}
  
 
== Danimo's stuff ==
 
== Danimo's stuff ==
  
 
{{Box|How To Do the Lorem Ipsum|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum}}
 
{{Box|How To Do the Lorem Ipsum|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum}}
 +
 +
== Code formatting ==
 +
<syntaxhighlight lang="cpp">
 +
 +
#include <iostream>
 +
 +
using namespace std;
 +
 +
int main() {
 +
    '''cout << "Hello World" << endl;'''
 +
    return 0;
 +
}
 +
 +
</syntaxhighlight>
 +
 +
 +
== ISV svg ==
 +
 +
=== SVG (currently failing, why?) ===
 +
[[Image:Isv.svg|noframe|left|400px]]
 +
 +
 +
=== PNG: poorly rendered compared to the SVG ===
 +
[[Image:Isv.png]]
 +
 +
[[File:/home/mkujanpa/Dokumentit/KMyMoney/tags_picture4.png]]

Latest revision as of 18:16, 27 August 2012

Contents

[edit] Mail Encryption Demo

Test: <mail address="foo@bar.baz">Contact me!</mail>

[edit] Code tag demo

  1. #include <QtCore/QtCore>
  2. # Типа это тупой коментарий. А кто-то кроме меня его увидит?
  3. int main(int argc, char* argv[])
  4. {
  5.   QApplication app(argc, argv);
  6.   QLabel l("Hello world!");
  7.   QLabel h("Хуй!");
  8.   h.show();
  9.   return app.exec();
  10. }
Code

{{{text}}}

Code

{{{text}}}

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License.


Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial 2.5 License.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License.

All text is available under the terms of the Gnu Free Documentation License

[edit] Danimo's stuff

{{{3}}}
 
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
How To Do the Lorem Ipsum


[edit] Code formatting

#include <iostream>
 
using namespace std;
 
int main() {
    '''cout << "Hello World" << endl;'''
    return 0;
}


[edit] ISV svg

[edit] SVG (currently failing, why?)

noframe


[edit] PNG: poorly rendered compared to the SVG

Isv.png

File:/home/mkujanpa/Dokumentit/KMyMoney/tags picture4.png


This page was last modified on 27 August 2012, at 18:16. This page has been accessed 10,413 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal