Hi Andrew,
Applied. Thanks! :) It looks really nice, now this is the default
stylesheet.
Kind regards,
-- nibble
On Wed, 5 May 2010 14:14:41 -0400
Andrew Antle andrew.an...@gmail.com wrote:
Hello nibble -
$ hg log | sed 5q
changeset: 35:6903be285e65
tag: tip
user:
Hello nibble -
$ hg log | sed 5q
changeset: 35:6903be285e65
tag: tip
user:Andrew Antle andrew dot antle at gmail dot com
date:Wed May 05 14:09:17 2010 -0400
summary: Created new stylesheet based on suckless.org and garbe.us,
$ cat sw.diff
diff -r eb1e40b20c42 -r
Why do I get mail on the *suckless* mailing list that *literally*
contains 10 pages of css? (suckless web framework right)
Is this some kind of weird parallel universe or something, because
please teleport me back
M.
On Thu, Apr 8, 2010 at 1:45 PM, Uriel lost.gob...@gmail.com wrote:
On Mon, Apr 5, 2010 at 12:32 AM, Paul Malherbe p...@tartan.co.za wrote:
Again I totally agree with Uriel, rather use a good scripting language like
python ;-)
Uhu? It would be impossible to write something like werc in Python
On Mon, Apr 5, 2010 at 12:32 AM, Paul Malherbe p...@tartan.co.za wrote:
Again I totally agree with Uriel, rather use a good scripting language like
python ;-)
Uhu? It would be impossible to write something like werc in Python ,
the unix command pipeline is one of the most powerful software
Am 07.04.10 07:25, schrieb pancake:
Is not the same... Backticks keeps newlines, but $() merges all lines
into a single one. I'm not sure if this behaviour is affected by IFS
Well, in ksh93 and bash 4.0 on OpenSolaris build 134, ksh and bash 3.0
on solaris 10 and ksh and bash 2.0 on solaris 9
On 08/04/10 11:45, Uriel wrote:
Uhu? It would be impossible to write something like werc in Python ,
the unix command pipeline is one of the most powerful software
concepts ever invented.
I have made an attempt to code sw.cgi in python and have it working.
Maybe not the best coding but it
[and...@arch sw-build-new]$ cat sw.log
changeset: 24:5aa227c711bc
tag: tip
user:Andrew Antle andrew dot antle at gmail dot com
date:Wed Apr 07 06:35:41 2010 -0400
summary: Moved configuration to sw.conf. Too slow?
[and...@arch sw-build-new]$ cat sw.diff
diff -r
On Tue, Apr 06, 2010 at 09:26:14PM +0200, Claudio M. Alessi wrote:
On Tue, Apr 06, 2010 at 08:50:07PM +0400, anonymous wrote:
You don't put same symlinks (to ~/doc, ~/src etc.) in every directory of
your filesystem. Most directories have only one link to them. Then why
should you put
On Wed, Apr 7, 2010 at 8:58 AM, Nibble nibble...@gmail.com wrote:
Done :)
Use:
make config
# the first time, and every time you want to use the default config)
make install ...
I also complete the apache example in the README indicating how to
forbid the access to sw.conf.
Awesome.
On Wed, Apr 7, 2010 at 10:05 AM, anonymous aim0s...@lavabit.com wrote:
If back moves you to upper level, it is not same as above, it require
only 1 click. If back moves you to previous page in your history,
1 click too.
Right, back should act like cd -
Adding links to main page in every
On Tue, Apr 06, 2010 at 10:05:09PM +0100, twfb wrote:
On 21:26 Tue 06 Apr, Claudio M. Alessi wrote:
Well crafted index pages combined with breadcrumbs can create very
usable websites, even when they are quite large. It is also useful in
printed documents as it shows where the document can be
On Wed, Apr 07, 2010 at 10:23:46AM -0400, Kurt H Maier wrote:
On Wed, Apr 7, 2010 at 10:05 AM, anonymous aim0s...@lavabit.com wrote:
If back moves you to upper level, it is not same as above, it require
only 1 click. If back moves you to previous page in your history,
1 click too.
On Apr 7, 2010, at 4:01 AM, Noah Birnel nbir...@gmail.com wrote:
I use backticks out of habit... and maybe ignorance. Can you explain
your preference?
They are confusing:
echo $( echo $( echo $( echo str ) ) )
echo ` echo \` echo \\\` echo str \\\` \` `
echo $( echo \\ )
echo ` echo \\\
Hi
Is there any way to exclude the side-bar (menu) from scrolling with the
body?
Regards
Paul Malherbe
+27 (0) 21 6711866
+27 (0) 82 9005260
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
On Tue, 06 Apr 2010 14:01:44 +0200
Paul Malherbe p...@tartan.co.za wrote:
Hi
Is there any way to exclude the side-bar (menu) from scrolling with
the body?
Regards
Paul Malherbe
+27 (0) 21 6711866
+27 (0) 82 9005260
You can do it adding display: block; to #side-bar in style.css
On Sun, Apr 04, 2010 at 05:49:18PM +0100, Kai Hendry wrote:
As for HTML, don't use div class=header. Use header.
Same goes for div id=footer
Instead of div id=\side-bar\, use menu
Instead of div you can use nav. menu is deprecated alias for
ul in HTML 4 and redefined for another purpose in
In reference to http://nibble.develsec.org/hg/sw/file/80e2f5765b48/sw.cgi ...
Is there a reason on line 20 relies on javascript as opposed to
something such as the meta tag?
echo
htmlheadscriptwindow.location=\${PREFIX}${BIN}\;/script/head/html
vs
echo htmlheadmeta http-equiv=\Location\
On Tue, Apr 06, 2010 at 08:50:07PM +0400, anonymous wrote:
You don't put same symlinks (to ~/doc, ~/src etc.) in every directory of
your filesystem. Most directories have only one link to them. Then why
should you put links to upper levels in every directory (and even file)
of your website?
On 21:26 Tue 06 Apr, Claudio M. Alessi wrote:
On Tue, Apr 06, 2010 at 08:50:07PM +0400, anonymous wrote:
You don't put same symlinks (to ~/doc, ~/src etc.) in every directory of
your filesystem. Most directories have only one link to them. Then why
should you put links to upper levels in
On Sun, Apr 04, 2010 at 01:03:55PM -0400, n...@lavabit.com wrote:
Semi unrelated question: why are so many people at suckless using ` `
instead of $( ) ? I've seen it here, dmenu_path, surf's config.h... etc.
$( ) only fails in very, very old shells... think original bourne
I use backticks
Is not the same... Backticks keeps newlines, but $() merges all lines
into a single one. I'm not sure if this behaviour is affected by IFS
On Apr 7, 2010, at 4:01 AM, Noah Birnel nbir...@gmail.com wrote:
On Sun, Apr 04, 2010 at 01:03:55PM -0400, n...@lavabit.com wrote:
Semi unrelated
Hey,
On 4 April 2010 07:57, Mate Nagy mn...@port70.net wrote:
This means that making your page respect an imaginary standard gives no
results except than a pretty badge. Rather than striving towards such an
ideal, I find it much more useful (dare I say suckless) to make your web
markup as
On Mon, Apr 05, 2010 at 11:38:42AM +, Connor Lane Smith wrote:
Hey,
On 4 April 2010 07:57, Mate Nagy mn...@port70.net wrote:
This means that making your page respect an imaginary standard gives no
results except than a pretty badge. Rather than striving towards such an
ideal, I find
On 04/05/2010 03:33 AM, Nibble wrote:
As for HTML, don't usediv class=header. Useheader.
Same goes fordiv id=footer
Instead ofdiv id=\side-bar\, usemenu
Is it just a aesthetic issue?
No it's HTML5.
Actually, modern browsers parse HTML much faster than XHTML (yes, I
was fooled by the XML scam once too, and it was not until recently
that I discovered even the myth of it making parsing of webpages
faster was totally bunk).
Which is one of the many reasons why XHTML is (thankfully) dead with
On 5 April 2010 15:13, Uriel lost.gob...@gmail.com wrote:
Actually, modern browsers parse HTML much faster than XHTML (yes, I
was fooled by the XML scam once too, and it was not until recently
that I discovered even the myth of it making parsing of webpages
faster was totally bunk).
My point
On Mon 05 Apr 2010 at 08:29:24 PDT Connor Lane Smith wrote:
On 5 April 2010 15:13, Uriel lost.gob...@gmail.com wrote:
Actually, modern browsers parse HTML much faster than XHTML (yes, I
was fooled by the XML scam once too, and it was not until recently
that I discovered even the myth of it
On 5 April 2010 17:34, Charlie Kester corky1...@comcast.net wrote:
it struck me that my email client was giving me an elegant example of
how the need for a closing tag can be eliminated. See how the ''
character is used?
As for paragraphs, separating them with blank lines always made more
On Mon, Apr 05, 2010 at 05:52:14PM +, Connor Lane Smith wrote:
On 5 April 2010 17:34, Charlie Kester corky1...@comcast.net wrote:
As for paragraphs, separating them with blank lines always made more
sense to me than p tags, and here again, no closing tag is required.
no closing tags are
On Mon, Apr 5, 2010 at 6:34 PM, Charlie Kester corky1...@comcast.net wrote:
On Mon 05 Apr 2010 at 08:29:24 PDT Connor Lane Smith wrote:
On 5 April 2010 15:13, Uriel lost.gob...@gmail.com wrote:
Actually, modern browsers parse HTML much faster than XHTML (yes, I
was fooled by the XML scam
On Mon, Apr 05, 2010 at 11:38:42AM +, Connor Lane Smith wrote:
Websites like this are extremely difficult to parse. Is this p the
end of a paragraph or the beginning? Let's test both! In making your
In case it's not clear: implicit end tags are _valid_ html, and
completely unambiguous. E.g.,
What you can try now, is to make it pass the validator:
http://tinyurl.com/page-validator [validator.w3.org]
Hi,
First, thanks for the feedback :) Let's comment some of your points
This code is horrible
Thanks to mails like yours I'll try to improve it. Take into account
that it is the very first version.
# grep thinks the second argument is a file
BL=^index.md$ ^images$ # Black list
# grep thinks the second argument is a file
BL=^index.md$ ^images$ # Black list
BL=^index.md$\|^images$ # Black list
Wrong, take a look at this line:
BL=`echo ${BL} | sed -e s/\( \+\|^\)/ -e /g`
Yes, -e allows you to do this. However, in the original code you had
BL=^index.md$ ^images$
On Sat, Apr 3, 2010 at 11:51 PM, Nibble nibble...@gmail.com wrote:
Hi,
I'm writing a little (68 LOC) web-framework is sh. I think that the
most remarkable features are:
* Markdown support
* Only depends on some standard commands: 'echo', 'grep', 'ls' and
'sed'.
* Easy configuration
*
I just want to say thanks for reminding me how absolutely hideous sh
scripts are and to stay away from them.
I honestly can't see why anyone would willfully write anything in sh
anymore (of course, plain sh is better than using bash, ksh or any
other horrible extensions of an already awful
On 05/04/10 00:02, Uriel wrote:
I just want to say thanks for reminding me how absolutely hideous sh
scripts are and to stay away from them.
I honestly can't see why anyone would willfully write anything in sh
anymore (of course, plain sh is better than using bash, ksh or any
other
Ugh, HTML-Mail
I'm so not going to read this. Please change your mail client to something sane.
On Mon, Apr 05, 2010 at 12:32:58AM +0200, Paul Malherbe wrote:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
meta content=text/html; charset=UTF-8 http-equiv=Content-Type
On Mon, Apr 05, 2010 at 01:50:29AM +0200, c...@wzff.de wrote:
[...]
Ugh, HTML-Mail
[...]
And not only that, but also a full top quote. Actually, that was about
the worst mail I ever had the displeasure to read.
pgpzNDFp4KwZp.pgp
Description: PGP signature
On Sun, 4 Apr 2010 04:10:31 -0300
Axel Bayerl axel.bay...@gmail.com wrote:
Sry, wrong URL
http://tinyurl.com/page-validator2
Fixed, although I found some validation errors with blocks like
codepre.../pre/code, which are related to md2html (coded by
yiyus). Maybe he could fix it, but I
Awesome i will give it a go.
On Sun, Apr 04, 2010 at 05:51:52AM +0200, Nibble wrote:
Hi,
I'm writing a little (68 LOC) web-framework is sh. I think that the
most remarkable features are:
* Markdown support
* Only depends on some standard commands: 'echo', 'grep', 'ls' and
'sed'.
* Easy
Hi,
On Sun, 4 Apr 2010 17:49:18 +0100
Kai Hendry hen...@iki.fi wrote:
I don't like URLs with sw.cgi in them or the .md suffix.
You can use the name that you want, just rename sw.cgi and edit the
variable BIN=/sw.cgi. Then configure your http server for treating
that file or the files under the
Hi,
I'm writing a little (68 LOC) web-framework is sh. I think that the
most remarkable features are:
* Markdown support
* Only depends on some standard commands: 'echo', 'grep', 'ls' and
'sed'.
* Easy configuration
* Create a web site is as easy as creating folders for sections and
markdown
This code is horrible
#!/bin/sh
# sw - 2010 - nibble develsec.org
# Configuration
TITLE=foo.org # Site title
SUBTITLE= # Site subtitle
SITE=site # Site folder
# grep thinks the second argument is a file
BL=^index.md$ ^images$ # Black list
ive been working on one for a while, 'element' on gitorious/rubyforge/repo.or.cz
1461 lines of ruby if sloccount is accurate. includesa full Filesystem-backed
key/value/triple-store with range query and web-arch complaint API. using it as
a mail app as well, screenshot:
46 matches
Mail list logo