dos2unix for poor basic unix

Do you have cygwin base install right? So no dos2unix…you can convert a windows file to unix format with a small tr command like

[bash] awk ‘{ sub("\r$", ""); print }’ winfile.txt > unixfile.txt awk ‘sub("$", "\r")’ unixfile.txt > winfile.txt [/bash] See also the bash secret power addendum.

Debian perfect work environment

Working in a big company, my work laptop came with MS-Windows7 Enterprise installed. But as you imagine, Unix is my preferred desktop environment. So let’s how to configure a perfect Debian Linux for a old wolf consultant like me. You will be able to install commercial software mubmo jumbo like Oracle Express and IBM Websphere …

Debian perfect work environment Read More »

Bash secret powers

Bash scripting has evolved a lot in the last ten years. I get used to relay on bash for all normal “data domination” tasks (like file system refactorings, database extraction and reporting and so on) and switching to python/ruby/perl when the complexity gets bigger. I didn’t imagine bash is even more powerful :) This article …

Bash secret powers Read More »

Fare il cloud da zero: cloudStorm

A Gioorgi.com ci siamo già occupati di argomenti prettamente sistemistici come la virtualizzazione di ambienti Unix. Visto il successo del Cloud Computing, abbiamo pensato di tornare sull’argomento. In questo articolo mostrerò come creare insieme di macchine configurate in modo omogeno, con il minor effort sistemistico possibile. Si tratta di un primo esercizio molto semplice. Seguiteci…

Java HttpClient and Load Balancer bad interactions

Working for a very big customer, I found a very nasty interaction between Sun HttpClient (JDK 1.4) and Http  Load Balancers. In a complex network environment, sometimes you can experience low level TCP/IP comunication errors, because sometimes HttpClient get confused and hangs. The bad behavior of Sun HttpClient is well known: some guys suggested me …

Java HttpClient and Load Balancer bad interactions Read More »