Showing posts with label nanoki. Show all posts
Showing posts with label nanoki. Show all posts

This Is How It Works

This Is How It Works

10/11/09 10:18


nanoki keeps a reference to the address that it is contacted from, whether internal or external.
an edit from a different internal machine yields a different alias.
an edit from the same machine, no matter the address is conjoint.biz or 192 ... is the same alias.
does nanoki just resolve it to the same internal address or is it relying on a cookie sent to the browser?
not too bothered to find out at the moment.
does my machine resolve all internal request to the same address, or series of addresses, which nanoki then receives?

what is important is that it is possible to to check my machine is available on certain posts. but gibson shieldsup is not quite enough on its own as I found I didn't understand what it meant when it reported a port closed. now I do know I guess it would be, but I also used http://www.websitepulse.com/help/tools.php?

Who Am I

10/11/09 10:07



So now I come in from conjoint.biz, I assume a different alias.
But how about www.conjoint.biz and my internal address, 192... ?
Anyway ...

So, who am I now, coming in from a different internal address, no cookies?

Internal Alias

10/11/09 10:03



This is me on the internal net, but not localhost, which, by the way, is not available.
That is another story.
linux -
1. many routing tables - 255 c.f. route and ip route
2. a host table
3. but why is it that tomcat can start in two instances and both available as 192...:port, localhost:port and conjoint.biz:port? Whereas this is not so of nanoki?

No wonder I thought is was the firewall!
Not sure at the moment what I need to look for to sort out. Presumably it is either in the host table, but I don't think there is any port number given in that, or it is the way nanoki binds to an address?

I think I'll move on for now.
#
Edge Cases
posted by Lab Zipzipace at Recent - 13 minutes ago
I can inspect a POM and see if each artifact - as they shall be known - corresponds to a rule. Consider:- net.sourceforge.nekohtml nekohtml...
#
Lab Zipzipace
posted by Rat Outzipair at Recent - 13 minutes ago
Eurydice by Sue Hubbard I am not afraid as I descend, step by step, leaving behind the salt winds blowing up the corrugated river The damp city streets their sodium glare of rush hour headlights pitted...
#
Log
posted by Nanoki at Recent - 13 minutes ago
#
Main
posted by Lab Zipzipace at Recent - 13 minutes ago
What an effort to get this up - too many hours. But worth it. Now to enjoy! Remember this is a wiki not a blog, so page postings I guess. Wonder how formated. alt.dev looks good and is intuitive. So this...
#
Markdown syntax reference
posted by Nanoki at Recent - 13 minutes ago
Paragraphs, Headers, Blockquotes A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. (A blank line is any line that looks like a blank line -- a line contai...
#
Maven Dependency Resolution
posted by Lab Zipzipace at Recent - 13 minutes ago
What have I been doing recently? Building a variety of projects. These include some - relatively - old projects. All of the CoffeeShop sample code in JUnit Recipes: Practical Methods for Programmer Testi...
#
Nanoki
posted by Nanoki at Recent - 13 minutes ago
*Nanoki* is a simple wiki engine implemented in Lua, allowing you to create, edit, and link web pages easily. [image: Nanoki] ------------------------------ Run Nanoki Start Nanoki from the command lin...
#
Rat Outzipair
posted by Lab Zipzipace at Recent - 13 minutes ago
This is the default high level user. Edited by Lab Zipzipace. One or other of these fabulous names must be lost if another one of the pair is to be created using some other name. But how to add other use...
#
Textpageissy
posted by Rat Outzipant at Recent - 13 minutes ago
a text page that is a test
#
Unit Testing
posted by Lab Zipzipace at Recent - 13 minutes ago
"Article on out of container testing. http://blog.code-adept.com "

Rat Outzipair


Rat Outzipair


29/10/09 18:22

This is the default high level user.
Edited by Lab Zipzipace.
One or other of these fabulous names must be lost if another one of the pair is to be created using some other name.
But how to add other users?
This is, perhaps, the most surprising, but also the most lua aspect of nanoki. Users are created according to IP!

How's it done?

I wonder what that name generation algorithm is, maybe just a text file, will check at some point.

Nanoki

29/10/09 01:19




Nanoki is a simple wiki engine implemented in Lua, allowing you to create, edit, and link web pages easily.

Nanoki



Run Nanoki


Start Nanoki from the command line:

cd Nanoki
lua Nanoki.lua . localhost 1080

The above command will start Nanoki on your local host at port 1080, using the local directory for storage:


Command synopsis:

Nanoki [location] [address] [port] [not|forwarded] [not|secure]

location tells Nanoki where to store its data.

address indicates which network address to bind the Nanoki server to.

port indicates what port number to use.

forwarded indicates whether x-forwarded-for should be trusted.

secure indicates whether https should be used.

Run



Create a page


To create a new page, type its name in your browser address bar:

New

If the page doesn't exists yet, Nanoki will redirect you to the page editor:

New Editor



Edit a page


To edit a page, click on its title. This will take you to the page editor:

Editor

The editor uses Markdown syntax to describe the page content.

To save your text, press Preview and then Save.



Upload a file


From the editor, you can upload files to Nanoki:

File

Each page can have its own files. You can refer to those files like so:

![Run][1]
[1]: nanoki/file/run.png

File link synopsis:

[page]/file/[name]

page is the name of the page under which the file is located.

name is the file name.



Control panel

From the editor, you can access the control panel to rename or delete a page:

Control



Revision


From the editor, you can access a page revision history by clicking on its title:

Revision

Clicking a revision number will display the page content as it was then.



Revision differences


From the revision page, you can access the revision differences by clicking on its title:

Revision differences



Related pages


Each page keep tracks of which other pages links to it:

Related



Breadcrumb navigation


Each page reflects its location using a breadcrumb trail:

Breadcrumb



Index navigation


Nanoki provides a table of content, indexed by page title:

Index



Date navigation


The date navigation indexes pages by their publication date:

Date



Recent changes


The recent changes page lists what has changed in Nanoki recently:

Recent



Search


The search allows to locate pages by their title:

Search



XML feed


Aside from the editor, most pages provide an XML feed:

Feed

Feed view



System page


The system page provides basic information about Nanoki itself:

System
top