Eikonal Blog

2011.01.19

Tiddly wiki syntax

Filed under: knowledgeManagement — Tags: — sandokan65 @ 16:43

Inserting images

For remote images use syntax: [img[URL]], e.g. for http://i.creativecommons.org/l/by/3.0/88×31.png ():

[img[http://i.creativecommons.org/l/by/3.0/88x31.png]]

For local images that you want to accompany your copy of local TiddlyWiki, e.g. wiki called VARIOUS.html, make a directory VARIOUS_files next to the html file, place the copy of the image in it (VARIOUS_files/CCLogo.png) and reffer it as:

[img[VARIOUS_files/CCLogo.png]]

The genral syntax is

[img[alternate text|URL of image][tiddler or URL]]

Source: “Inserting Pictures” – http://tiddlywiki.org/wiki/Inserting_Pictures.

Pre-formated text

Source: Eric Shulman – http://groups.google.com/group/tiddlywikidev/browse_thread/thread/5bbf6ace10e15f65

	  
> For some reason, when I try to include preformatted text, using the
> triple curly braces, TiddlyWiki isn't preserving line breaks or
> spaces.

There are two different uses of the tripled curly braces... placing
them on lines by themselves, with no leading or trailing content of
any kind, e.g.:
{{{
stuff
}}}

produce a PRE block that bypasses wiki-syntax processing, uses a
monospaced font, and retains whitespace and newlines.  In addition,
the default CSS TiddlyWiki styles for PRE blocks applies a yellow-ish
background with a 1px border.

However, if *any* content precedes or follows the tripled curly braces
on the same line, e.g.:
{{{stuff}}}
they produce a CODE block that bypasses wiki-syntax processing, and
uses a monospaced font, but does *not* retain whitespace a newlines.

So, perhaps you have used the 2nd (CODE) syntax, but were expecting
the 1st (PRE) results... and also check to make sure there isn't any
trailing whitespace following the tripled curly braces, as this woud
force the CODE syntax to be applied even though it would *look* like
the PRE syntax. 

Example:

Syntax: {{{chage –-list username (or) chage -l username}}}

{{{
$ chage --list dhinesh
Last password change                                    : Apr 01, 2009
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
}}}

gives following:

Two uses for preformated brackets

Quack theories

Filed under: critical thinking, science, superstitions — Tags: , , — sandokan65 @ 13:23

Anthropic principle

  • “Evidence Against Fine Tuning for Life” by Don N. Page (arXiv:1101.2444; 2011.01.12) – http://arxiv.org/abs/1101.2444
      Abstract: The effective coupling `constants’ of physics, especially the cosmological constant, are observed to have highly biophilic values. If this is not a hugely improbable accident, or a consequence of some mysterious logical necessity or of some simple principle of physics, it might be explained as a consequence either of an observership selection principle within a multiverse of many sets of effective coupling constants, or else of some biophilic principle that fine tunes the constants of physics to optimize life. Here evidence is presented against the hypothesis of fine tuning by a biophilic principle that maximizes the fraction of baryons that form living beings.
  • Anthropic principle (WikiPedia) – http://en.wikipedia.org/wiki/Anthropic_principle
  • Fine-tuned Universe (WikiPedia) – http://en.wikipedia.org/wiki/Fine-tuned_Universe
  • Cosmological constant (WikiPedia) – http://en.wikipedia.org/wiki/Cosmological_constant

Blog at WordPress.com.