Browsing the archives for the Programmazione category

Highlight text on the fly thanks to terminfo and sed.

in Informatica, Lavoro, Linux, Programmazione

A colleague today was looking for a way to pipe something to a command that highlights particular strings of text, keeping intact the stdin, similar to what you can see on some modern distros, ie Gentoo. Grep is not the way as it only prints the lines which contain the pattern that we are looking [...]

Share
5 Comments

RSS-Bot

in Informatica, Programmazione

Ho scritto questa cazzata un po’ di tempo fa a lavoro nel tentativo (non riuscito) di migliorare un po’ di comunicazione interna intra-dipartimentale e rendere l’azienda un posto piu’ geek dove lavorare. Serviva un luogo dove tutti potessero stare per lavorare insieme a delle robe, con un bot che stampasse nei diversi canali ticket di [...]

Share
2 Comments

SPQR

in English posts, Informatica, Linux, Programmazione

I’ve been programming Perl for a while now, but I’ve seen lot of people around me (even Perl enthusiasts) getting very excited about Python. In Newbay it’s used mainly for automated and performance tests, but some times also for some system engineering automation. I can understand them, Python seems to be a pretty cool language, very clear and [...]

Share
16 Comments

Evviva YAML! Abbasso XML!

in Informatica, Programmazione

Ultimamente le mie vicessititudini perliste mi hanno portato a scoprire YAML. Ho sempre pensato che XML sia una merda che puo’ andare bene per i programmi ma non e’ molto umano. YAML puo’ essere usato per molte robe al posto di XML. Io ad esempio lo sto usando per file di configurazione. Ad esempio questo [...]

Share
5 Comments

Io ti odio!

in Informatica, Irlanda, Lamentazioni, Lavoro, Programmazione, Unix

Caro collega, stavolta lo scrivo qui: ieri ti ho odiato, per l’ennesima volta! Quando il nostro collega DBA indiano e’ venuto da me chiedendomi: «Angelo, come faccio ad inserire una stringa “NAME” su un file “tmp.log” da 1 GB tra la quarta e la quinta colonna con VI/VIM?» Tu hai sentito… ti sei voluto alzare… [...]

Share
33 Comments

Come ti estendo l’homebanking col Perl

in Informatica, Linux, Programmazione, Unix

Ireland, 1 year. Sono al giro di boa del primo anno. Non faro’ il solito post commemorativo del tipo “questo giorno un anno fa ero all’aeroporto ignaro del futuro”. Forse lo faro’ dopo. Accontentati di quello che avevo scritto un mese fa. Piuttosto festeggio con un bel rilascio su CPAN.org dei miei sforzi informatici delle [...]

Share
30 Comments

Migliorare la pagina “archive” di WordPress.

in Blog, Informatica, Programmazione, Software, Software Libero, Tempo libero, Tips and Tricks

E’ venerdi’. Che cosa fa uno Venerdi’ in Irlanda? Va a riempirsi di birra! Per poi finire cosi’: Beh io questa volta passo. Mi avevano invitato indirettamente ad un leaving party al Pravda ma ho deciso di rimanere a casa, per vari motivi, uno di questi motivi e’ che mi trovavo in the middle di [...]

Share
2 Comments

Monitoring SSL certificate expiration with Nagios

in English posts, Hardware, Informatica, Lavoro, Linux, Programmazione, Software, Unix

Hi Lads, This is a post for nerds so I’m writing it in English. If you don’t understand English or technical stuff please close this page I’m at work and I’ve just finished to write a Nagios script to monitor expiration date of a SSL certificate. I wanna share it with you. To have the [...]

Share
12 Comments

ARGHHHHHHHHHHHHH!

in Informatica, Lamentazioni, Lavoro, Linux, Programmazione, Software, Unix

Senior Testing Engineer: potresti dirmi come faccio ad aggiornare la jvm su una macchina?Angelo (pallotron) Failla: basta installare la nuova jvm sul disco e cambiare le variabili di ambiente… Senior Testing Engineer: ok e per installare la jvm ? Angelo (pallotron) Failla: scarichi la jvm, chmod +x file && ./file, leggi lo schermo, e poi [...]

Share
2 Comments

Lavorando ad un nuovo embedded…

in Hardware, Informatica, Lavoro, Linux, Programmazione, Software, Tips and Tricks, Video

Esattamente lo stesso mese di qualche anno fa, 2005, (vedere il post a riguardo su questo blog), realizzai un sistema embedded basato su Linux per un cliente. La richiesta del committente era la realizzazione di un sistema che fosse collegato ad un PLC, a sua volta collegato a macchine di taglio lamiera, per la ricezione [...]

Share
1 Comment
  • Tags

  • Meta