tag:piggydb.net,2009:db-20110814170804990:home2014-02-19T22:12:34.892+00:00Piggydb Documents - HomePiggydbtag:piggydb.net,2009:db-20110814170804990.fragment-762014-02-19T22:12:34.892+00:002014-02-19T22:12:34.892+00:00How can I reset owner's password?
<div class="paragraph">
To reset owner's password, you need to access the database directly and execute a query as follows:
</div>
<div class="paragraph">
(here I suppose you use the standalone package)
</div>
<div class="paragraph">
1) Stop the piggydb server if running
</div>
<div class="paragraph">
2) Open the terminal or console and move to the root directory of your piggydb installment
</div>
<div class="paragraph">
3) Open the database shell by executing:
</div>
<pre>
$ java -cp webapp/WEB-INF/lib/h2-*.jar org.h2.tools.Shell
</pre>
<div class="paragraph">
You will be asked a few parameters, so input the followings:
</div>
<pre>
URL: jdbc:h2:~/piggydb/piggydb (the default database location)
User: sa
Password: <empty> (just hit the Enter)
</pre>
<div class="paragraph">
4) Execute a query to clear owner's password:
</div>
<pre>
sql> delete from global_setting where setting_name = 'owner.password';
</pre>
<div class="paragraph">
5) Close the shell with 'quit' and restart your piggydb server
</div>
<div class="paragraph">
You should be able to log in with the default password owner/owner
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-682014-02-16T16:51:46.811+00:002014-02-16T16:59:31.613+00:00MathJax Support
<div class="paragraph">
LaTeX expressions in the content will be converted into mathematics notation by <a href="http://www.mathjax.org/">MathJax</a>.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-752014-02-16T16:56:48.75+00:002014-02-16T16:56:48.75+00:00Maxwell's Equations
<div class="paragraph">
\[ \begin{aligned}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
\]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-742014-02-16T16:55:59.169+00:002014-02-16T16:55:59.169+00:00A Rogers-Ramanujan Identity
<div class="paragraph">
\[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots =
\prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})},
\quad\quad \text{for $|q|<1$}. \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-732014-02-16T16:55:37.623+00:002014-02-16T16:55:37.623+00:00An Identity of Ramanujan
<div class="paragraph">
\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-722014-02-16T16:55:17.636+00:002014-02-16T16:55:17.636+00:00The probability of getting k heads when flipping n coins is
<div class="paragraph">
\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-712014-02-16T16:54:41.408+00:002014-02-16T16:54:41.408+00:00A Cross Product Formula
<div class="paragraph">
\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0
\end{vmatrix} \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-702014-02-16T16:53:40.270+00:002014-02-16T16:53:40.270+00:00The Cauchy-Schwarz Inequality
<div class="paragraph">
\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-692014-02-16T16:52:56.485+00:002014-02-16T16:52:56.485+00:00The Lorenz Equations
<div class="paragraph">
\[\begin{aligned}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{aligned} \]
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-672014-01-04T14:02:23.353+00:002014-01-04T14:02:23.353+00:00Home Fragment
<div class="paragraph">
In the older versions, fragments with a <a class="quick-viewable" data-id="57" href="http://piggydb.jp/en/fragment.htm?id=57">#home</a> tag will be shown at the home page. However, this <a class="tag" href="http://piggydb.jp/en/tag.htm?name=feature">feature</a> has some disadvantages. For example, you can’t put a tag-fragment without the side-effect where the tag-fragment will inherit #home’s <a class="tag" href="http://piggydb.jp/en/tag.htm?name=feature">feature</a> unexpectedly, which means the fragments tagged with the tag-fragment will also be shown on the home page. Also you can’t control the order of the fragments at the home page with #home. So the old #home tag has been replaced with Home Fragment whose child-fragments will be shown at the home page with the order maintained.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-662014-01-01T20:10:15.54+00:002014-01-01T20:10:15.54+00:00Others
<ul class="level1"><li> <b>piggydb.entity.changeableOnlyForCreator</b><ul class="level2"><li> If this value is true, a fragment can be modified only by its creator/author</li></ul>
</li></ul>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-652014-01-01T20:08:09.743+00:002014-01-01T20:08:09.743+00:00Security
<ul class="level1"><li> <b>piggydb.enableClientAddressAuth</b><ul class="level2"><li> If this value is true, Piggydb invalidates the current session if the client IP address is not the same as the logged-in address.</li></ul>
</li></ul>
<ul class="level1"><li> <b>piggydb.enableUserAgentAuth</b><ul class="level2"><li> If this value is true, Piggydb invalidates the current session if the client user-agent is not the same as the logged-in agent.</li></ul>
</li></ul>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-642011-09-15T20:40:48.266+00:002011-09-15T20:40:48.266+00:00How to embed images into the content of a knowledge fragment?
<div class="paragraph">
There are two ways to embed images. One is to write image URLs in content, which must start with "http" (<a class="url-link" href="file:">file:</a> is not allowed by the browsers because of a security reason). The other is to register image files as <a href="http://piggydb.jp/en/fragment.htm?id=43">file fragments</a> (there's the text/file switch in the fragment editor) and embed them with the wiki formatting:
</div>
<pre>
fragment:<another-fragment-number>:embed
</pre>
<div class="paragraph">
Please refer to the Wiki Markup Help which can be opened via the help button [?] in the editor menu.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-632011-09-15T20:33:18.206+00:002011-09-15T20:33:18.206+00:00How to install multiple Piggydbs on the same computer?
<div class="paragraph">
The <a class="quick-viewable" data-id="12" href="http://piggydb.jp/en/fragment.htm?id=12">Standalone Package</a> doesn't support multiple databases. So you need to set up a <a href="http://tomcat.apache.org/">Tomcat</a> server (or other servlet containers) on your environment, to which you can deploy multiple <a class="quick-viewable" data-id="14" href="http://piggydb.jp/en/fragment.htm?id=14">War Package</a>s. A database will be created for each deployment(installment) of the War Package.
</div>
<div class="paragraph">
Apache Tomcat - <a class="url-link" href="http://tomcat.apache.org/">http://tomcat.apache.org/</a>
</div>
<div class="paragraph">
To deploy a war file, just copy it to the <i>webapps</i> directory under the Tomcat home directory. You might want to change the name of the deployed war file corresponding to your purpose. The name will be used for the URL to access the application and the database file names (<a class="quick-viewable" data-id="16" href="http://piggydb.jp/en/fragment.htm?id=16">#16</a>).
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-362010-11-17T12:40:39.761+00:002011-08-14T12:32:24.493+00:00Knowledge Fragments
<div class="paragraph">
A knowledge fragment is the unit of information in a Piggydb database.
The box which contains the text you are reading now is a fragment. The
content of a fragment is usually text like this fragment (<a class="quick-viewable" data-id="38" href="http://piggydb.jp/en/fragment.htm?id=38">Text Fragment</a>), but you can also input a file of arbitrary type as a single
fragment which is called a "<a class="quick-viewable" data-id="43" href="http://piggydb.jp/en/fragment.htm?id=43">File Fragment</a>".
</div>
<div class="paragraph">
I recommend that you keep individual fragments relatively small.
Smaller fragments, which focus on single issues, give you more
flexibility when you organize and relate them using the tags.
</div>
<div class="paragraph">
Piggydb provides you with various ways to view organized fragments.
This is one of its advantages when compared to other systems, such as
wikis or blogs.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-442011-05-04T08:12:56.505+00:002011-08-14T12:32:24.449+00:00Hierarchical Tags
<div class="paragraph">
Like many other Web 2.0 systems, Piggydb supports tagging to classify knowledge fragments.
</div>
<div class="paragraph">
While tagging is simply for classifying a piece of information and allowing it to be found again by browsing or searching, in the context of folksonomy, its simplicity (non-hierarchical keywords) enables organizing information by many people collaboratively, known as “collective intelligence”, and connecting like-minded people.
</div>
<div class="paragraph">
Piggydb is not a social networking application, so it concentrates on the classifying nature of tagging. In terms of classifying, tagging has many advantages over existing systems such as directories/folders and categories. Tagging is generally more flexible and less brain-racking, and is used to resolve the “Bat problem”.
</div>
<div class="paragraph">
The ‘Bat problem’ was coined by Japanese economist Yukio Noguchi to describe a problem which arises when classifying information and goods. Material things and information can have multiple attributes that are used descriptively depending on the context (Bats have the properties of both birds and beasts – <a class="url-link" href="http://mythfolklore.net/aesopica/milowinter/43.htm">http://mythfolklore.net/aesopica/milowinter/43.htm</a>).
</div>
<div class="paragraph">
Bat problem: <a class="url-link" href="http://data.lullar.com/%E3%81%93%E3%81%86%E3%82%82%E3%82%8A%E5%95%8F%E9%A1%8C">http://data.lullar.com/%E3%81%93%E3%81%86%E3%82%82%E3%82%8A%E5%95%8F%E9%A1%8C</a>
</div>
<div class="paragraph">
However, tagging also has its own problems. One of them is losing the grasp of the entire set of tags when the number of tags is growing. Piggydb offers hierarchical tagging to tackle this problem.
</div>
<div class="paragraph">
Hierarchical tagging allows you to classify a tag through other tags, exactly like knowledge fragments, and the classification is transitive; that is, if there is a tag “cat” classified with a tag “animal” and you classify some fragments with “cat”, then those fragment will be classified as an “animal” also. The hierarchical tagging <a class="tag" href="http://piggydb.jp/en/tag.htm?name=feature">feature</a> allows you to classify fragments more naturally, and drill down a large number of fragments more easily and smoothly.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-352010-11-16T05:12:27.880+00:002011-08-14T12:32:24.414+00:00Fragment Relationships
<div class="paragraph">
Simple, unconnected knowledge fragments can be used as a personal
journal or a diary, aided by the calendar interface, and you can use
the full-text search facility to find and retrieve the information.
However, as you connect ('relate') knowledge fragments to one another,
the knowledge in your database becomes more useful and valuable.
</div>
<div class="paragraph">
Structurally the relationships between fragments resemble a network;
this is less limiting than other types of relationship such as the
tree structure, where each node can only have one parent. Piggydb
allows relationships between fragments to be as complex as you need.
</div>
<div class="paragraph">
A well-built network of related fragments can be navigated easily
using the Tree View, and arbitrary parts can be viewed using the
Document View which renders in a "printer-friendly" format.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-342010-11-15T14:33:25.180+00:002011-08-14T12:27:18.396+00:00How to create a new relationship
<div class="paragraph">
You can create a relationship easily using drag-and-drop as follows:
</div>
<div class="paragraph">
There is a New Relationship icon (+→) on the fragment toolbar.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=28&t=1289830827195"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=28&t=1289830827195" border="0" alt=""/></a>
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=29&t=1289831096930"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=29&t=1289831096930" border="0" alt=""/></a>
</div>
<div class="paragraph">
Drag this icon,
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=30&t=1289831166692"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=30&t=1289831166692" border="0" alt=""/></a>
</div>
<div class="paragraph">
and drop it onto another fragment.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=31&t=1308874014456"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=31&t=1308874014456" border="0" alt=""/></a>
</div>
<div class="paragraph">
A new relationship will be created as shown:
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=32&t=1308874044957"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=32&t=1308874044957" border="0" alt=""/></a>
</div>
<div class="paragraph">
Dropping the icon onto the "Selected Fragments" box creates a new
relationship with many fragments in one operation.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=33&t=1289831276723"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=33&t=1289831276723" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-232010-10-20T17:28:49.261+00:002011-08-14T12:26:04.50+00:00Drag-and-drop Tagging
<div class="paragraph">
Drag-and-drop Tagging allows you to drag a tag from a Tag Palette and drop it onto a fragment.
</div>
<div class="paragraph">
You can drag a tag from a palette:
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=21&t=1287595457179"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=21&t=1287595457179" border="0" alt=""/></a>
</div>
<div class="paragraph">
And you can drop it onto a fragment:
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=22&t=1287595514033"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=22&t=1287595514033" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-252010-10-20T17:38:11.964+00:002011-08-14T12:26:00.938+00:00Tag Palette
<div class="paragraph">
Clicking the tag icon on the right side of the main menu bar shows a Tag Palette:
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=20&t=1287596302968"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=20&t=1287596302968" border="0" alt=""/></a>
</div>
<div class="paragraph">
The Tag Palette in the sidebar has the same <a class="tag" href="http://piggydb.jp/en/tag.htm?name=feature">feature</a>s as the existing pull-down Tag Palette on the main menu bar, also supporting drag-and-drop tagging (<a class="quick-viewable" data-id="23" href="http://piggydb.jp/en/fragment.htm?id=23">#23</a>).
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=26&t=1287596460770"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=26&t=1287596460770" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-522011-07-04T07:06:29.248+00:002011-08-14T12:25:58.364+00:00Special Tags
<div class="paragraph">
Special tags are tags that have special effects when they are attached to knowledge fragments. In order to distinguish from other normal tags, the name of the special tags start with '#'. For example, if you attach a <a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23bookmark">#bookmark</a> tag to a fragment, then the fragment will be added to the bookmark list on the sidebar.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-542011-07-04T07:34:02.110+00:002011-08-14T12:25:56.6+00:00#bookmark tag
<div class="paragraph">
<a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23bookmark">#bookmark</a> tag provides quick access to knowledge fragments. If a fragment is tagged with <a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23bookmark">#bookmark</a>, it will be shown in the bookmark list on the sidebar.
</div>
<div class="paragraph">
You can also bookmark a fragment by clicking on the bookmark button on the fragment toolbar.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=53&t=1309764344500"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=53&t=1309764344500" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-572011-07-04T07:45:07.652+00:002011-08-14T12:25:53.814+00:00#home tag
<blockquote>
This <a class="tag" href="http://piggydb.jp/en/tag.htm?name=feature">feature</a> was replaced with <a class="quick-viewable" data-id="67" href="http://piggydb.jp/en/fragment.htm?id=67">Home Fragment</a> in the <a href="http://piggydb.net/2013/01/14/piggydb-v6-7-home-fragment/">version 6.7</a>.
</blockquote>
<div class="paragraph">
#home tag is similar to <a class="quick-viewable" data-id="54" href="http://piggydb.jp/en/fragment.htm?id=54">#bookmark tag</a>, providing another quick access to knowledge fragments. If a fragment is tagged with #home, it will be displayed on the top of the home page as below:
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=56&t=1309765407407"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=56&t=1309765407407" border="0" alt=""/></a>
</div>
<div class="paragraph">
You can do the same thing by clicking on the home button on the fragment toolbar.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=55&t=1309765242949"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=55&t=1309765242949" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-582011-07-04T07:50:37.453+00:002011-08-14T12:25:50.542+00:00#pre tag / #code tag
<div class="paragraph">
Adding a <a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23pre">#pre</a> tag to a text fragment displays the content "as is" and no further formatting will be applied to it (similar to HTML <pre>..</pre> mark-up).
</div>
<div class="paragraph">
<a class="quick-viewable" data-id="40" href="http://piggydb.jp/en/fragment.htm?id=40">a sample fragment with #pre</a>
</div>
<div class="paragraph">
Adding both <a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23pre">#pre</a> and <a class="tag" href="http://piggydb.jp/en/tag.htm?name=%23code">#code</a> tags to a text fragment displays the content "as is" with program-code syntax highlighting.
</div>
<div class="paragraph">
<a class="quick-viewable" data-id="41" href="http://piggydb.jp/en/fragment.htm?id=41">a sample fragment with #pre and #code</a>
</div>
<div class="paragraph">
You can optionally specify the programming language in which the code is written with a #lang-<language name> tag, for more detail of language names, see the <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html">google-code-prettify document</a>.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-172010-10-20T17:08:17.495+00:002011-08-14T12:25:48.159+00:00User Management - #user tag
<div class="paragraph">
The user management system is built into the piggydb's semantics seamlessly.
</div>
<div class="paragraph">
Piggydb has only one user ("<b>owner</b>") by default, but you can create other users just by creating fragments titled "username" and tagged with "<b>#user</b>" tag. These fragments are called "<b>User Fragment</b>", which can be created, changed, or deleted only by an owner.
</div>
<ul class="level1"><li>The default password is the same as the user name.<ul class="level2"><li>If you create a fragment titled "marubinotto" and tagged with "#user", you can login with marubinotto/marubinotto.</li></ul>
</li>
<li>You can manage the users in exactly the same way as fragments, classifying with tags, connecting to other fragments, and so on.</li></ul>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-612011-07-04T08:19:58.347+00:002011-08-14T12:25:43.973+00:00#trash tag
<div class="paragraph">
If you want to remove fragments that are no longer needed, attach a #trash tag to each of them. Fragments with #trash will be removed from the list/tree views but will not be deleted completely, so you can recover #trash fragments by removing the #trash tags from them.
</div>
<div class="paragraph">
You can do the same thing by clicking on the trash button on the fragment toolbar.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=59&t=1309767183426"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=59&t=1309767183426" border="0" alt=""/></a>
</div>
<div class="paragraph">
You can delete #trash-tagged fragments completely on the #trash tag page.
</div>
<div class="paragraph">
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=60&t=1309767446091"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=60&t=1309767446091" border="0" alt=""/></a>
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-622011-07-04T08:28:24.178+00:002011-08-14T12:25:40.659+00:00#public tag
<div class="paragraph">
If you use Piggydb in private mode (<a class="quick-viewable" data-id="18" href="http://piggydb.jp/en/fragment.htm?id=18">Anonymous Access</a> is off) and want to show some of your knowledge fragments to others without login, you can do this with #public tag. A fragment tagged with #public can be accessed via Document View (/document-view.htm?id=<n>) without login.
</div>
<div class="paragraph">
A fragment that is tagged with both #public and #home is called "<b>Public Home</b>" and it can be accessed at <a class="url-link" href="http://<your-piggydb-root>/public/.">http://<your-piggydb-root>/public/.</a> It is a good entry point for #public fragments.
</div>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-412010-11-23T12:48:47.764+00:002011-08-14T12:25:37.871+00:00Program-code syntax highlighting
<pre class="pre-fragment prettyprint">/**
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
</pre>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-402010-11-23T12:46:45.540+00:002011-08-14T12:25:29.163+00:00Preformatted text
<pre class="pre-fragment">1
2
3
4
5
</pre>
ownertag:piggydb.net,2009:db-20110814170804990.fragment-242010-10-20T17:34:16.732+00:002011-08-14T12:24:08.593+00:00The master content toggle button allows you to open/close sub-fragment toggles collectively[File] master-content-toggle-button.png
<a class="img-link" href="http://piggydb.jp/en/command/get-file.htm?id=24&t=1313324648593"><img class="fragment-img" src="http://piggydb.jp/en/command/get-file.htm?id=24&t=1313324648593" border="0" alt=""/></a>
owner