Month: July 2010

  • best practices in shell script programming – colons

    My snipplet for an if/then/else in shell scripts looks like this: if true then : else : fi The colons make that code syntactically complete, w/o the colons you run into a syntax error. The colon is the “null op” of (Bourne) shell scripting. And the colons usually remain there for the remainder of the…

  • best practices in shell script programming – double quotes

    You do know the result of this: a=A; echo $a But are you just as sure here? a=A; b=B; echo $a.$b That depends on the shell, you are using. So I suggest you better write it this way: a=A; b=B; echo ${a}.${b} Enclosing variable names in curly braces is quite often a good idea. Look…

  • best practices in shell script programming

    You do know the result of this: a=A; echo $a But are you just as sure here? a=A; b=B; echo $a.$b That depends on the shell, you are using. So I suggest you better write it this way: a=A; b=B; echo ${a}.${b} Enclosing variable names in curly braces is quite often a good idea.

  • Task::Kensho – “A Glimpse at an Enlightened Perl”

    See its manual page at CPAN! The installations with/for my self-brewn perl-5.12.1 on openSUSE-11.2 as well as on OS X Snow Leopard have a problem with Task::Kensho‘sTryCatch, I skip that, and all the remainder seems to be fine. The installation with/for my self-brewn perl-5.10.1 on openSUSE-11.2 runs straight through. The installation with/for the “native” perl-5.10.0 on my openSUSE-11.2 runs straight through.  

  • App::cpanminus – a new CPAN installer

    article in German: “Perl 5.12 parallel zu einem bestehendem Perl installieren – App::cpanminus als CPAN-Installer” (by Thomas Fahle) metacpan.org/module/App::cpanminus … How to …: $ perlbrew switch stable # resp.$ perlbrew switch perl-5.12.1$ cpan  App::cpanminus$ cpanm App::cpanminus$ perlbrew install-cpanm # use this variant!!! $ perlbrew switch perl-5.10.1$ cpan  App::cpanminus$ cpanm App::cpanminus$ perlbrew install-cpanm # use this variant!!!…

  • cookie hell …

    sites w/o general admission so far: xing.com Google Calendar … exceptions: draft.blogger.com www.twitter.com  www.blogger.com  mail.google.com www.facebook.com  chrome.google.com www.inkedin.com www.google.com fritz.box – my multi-functional router oreilly.com … I would love to be able to not give further general admissions to cookie senders. Cookies kill me, sort of.

  • AdBlock …

    Ads are actually BLOCKED FROM DOWNLOADING now, instead of just being removed after the fact! One of these milksops told me “the other day”, that wouldn’t be true, and I couldn’t prove him wrong then. It hurts having trusted yet another shameless lie. If you notice Google Chrome as a tag here, that means, there…

  • created more wiki web profiles …

    http://wiki.DocBook.org/topic/JochenHayek (MoinMoin) http://www.EmacsWiki.org/emacs-en/JochenHayek (Oddmuse) MoinMoin offers a web GUI, but not for Google Chrome. Both are very nice wiki systems with pretty comfortable markdown. Credos written as profiles.

  • creating my 1st DocBook Website web-sites

    I have the DocBook XSL book in front of me (opened at “Chapter 31. Website“), asking myself and the world (irc://irc.freenode.net#docbook) silly questions, like the ones, you can find as my recent articles on this blog. I want to change a couple of pretty raw vanilla DocBook web sites to pretty raw but neat vanilla…

  • DocBook Website – where to get the Relax-NG schema from?

    I found it at SourceForge. I really love editing XML in Emacs’s nxml-mode. I did mention that at my DocBook Wiki home page already.