Posted by: lezz | Maio 2, 2008

LDP-BR new home

At least I almost finished a new home to LDP-BR site.

http://trac.watter.net/ldpbr will be probably the new site.

From now on I have to manage permissions to give people rights to contribute and some other fine tunnings.

Well, It still too long time that I’ve been planning this new home.

Next steps?
I was thinking about a plugin to trac to translate po files. I’ll start a work on this as soon as I can.

Tags: ,

Posted by: lezz | Abril 30, 2008

Train in Germany

Well, How to buy a train tiket in Germany?

Simple: go to http://www.bahn.de/

Tags: ,

Posted by: lezz | Abril 30, 2008

Trac

Easy_install is a very handfull tool to install some macros and plugins on a trac site.

Cool to have tested it before doing it by hand.

Tags:

Posted by: lezz | Abril 23, 2008

Finnally Trac is Installed at a Dreamhost server

Finnally I’ve got trac installed at my dreamhost server!

Good, Now It’s time to configure it and change the css to make it looks better ;-)

Tags: ,

Posted by: lezz | Abril 14, 2008

java + sprintf = PrintfFormat

After looking how to do a simple sprintf (I was trying to convert an array of bytes to a string) I found a java class that implements something like the sprintf function that every C programmer knows.

Well, here is the link: http://java.sun.com/developer/technicalArticles/Programming/sprintf
And a snippet of code:

if (buffer[i+8] == saturno_balanca_liberada) {
String x = new String();
for (int k=i+1; k<(i+7);k++){
x += new PrintfFormat(”%d”).sprintf(buffer[k]);
}
// System.out.println(”v->[" + x + "]“);
pesoEstavel = x; //pega o peso estavel e balanca bloqueada
proto_ok=1;
break; // para a execucao uma vez que ja pegou o peso estavel
}

Tags: ,

Posted by: lezz | Abril 10, 2008

Null Cable versus Serial Extension

Well, after some time looking for an error at my code, I realized that the cable could be the problem.

I’ve ordered a null cable (giving the spec) to the guys at my company. Well, I thought that they, at least, have read the spec, butt, no! They simply took a serial extension cable and gave me.

Blame on them.

Tags: ,

The Cocktail a través de Open movilforum organiza el segundo concurso de mashups y movilidad.

  • 1er Premio: 6.000€
  • 2º Premio: 2.000€
  • 3er Premio: 2.000€

Puedes presentar al concurso un proyecto que ya tengas hecho, o liarte la manta a la cabeza y programar esa idea que lleva demasiado tiempo siendo sólo idea. ¡Qué mejor ocasión!

Más informaciones –> http://open.movilforum.com/concurso/2

Tags:

Posted by: lezz | Abril 3, 2008

Lição de Alexandre o Grande

Quando à beira da morte, Alexandre convoca seus generais e seu escriba e
relata a estes seus 3 últimos desejos:

1 - que seu caixão seja transportado pelas mãos dos mais reputados médicos
da época;
2 - que seja espalhado no caminho até seu túmulo, seus tesouros
conquistados (prata, ouro, pedras preciosas…); e
3 - que suas duas mãos sejam deixadas balançando no ar, fora do caixão, a
vista de todos.

Um dos seus generais, admirado com esses desejos insólitos, pergunta a
Alexandre a razão destes. Alexandre explica:

1 - Quero que os mais iminentes médicos carreguem meu caixão, para mostrar
aos presentes que estes NÃO têm poder de cura nenhuma perante a morte;
2 - Quero que o chão seja coberto pelos meus tesouros para que as pessoas
possam ver que os bens materiais aqui conquistados, aqui permanecem;
3 - Quero que minhas mãos balancem ao vento, para que as pessoas vejam que
de mãos vazias viemos e de mãos vazias partimos.

Autor desconhecido

Tags:

Posted by: lezz | Julho 7, 2007

Happiness

Today I’m very Happy!

I received a 2nd place in a photography conquest at my company.

It was amazing. The winner have his mp3 player and I got a trip to a river to do rafting and  abseiling(rappeling). Very Nice.

Sooner or later I’ll publish the picture here.

Posted by: lezz | Fevereiro 10, 2007

Redirecting mails with powerpoint attachments

After some troubles with lots of e-mails with .ppt/.pps attachments I decided to separate them into another mailbox. The first question was: How?

As I use Linux and procmail (www.procmail.org), I searched at google trying to find someone with the same problem and probably with a solution. Many pages after, I found this page (http://hypermail.linklord.com/procmail.old/2001/Sep/0065.html) which has a similar problem and a more radical decision.

Changing just a bit the solution used I got this code that must be inserted in the  .procmailrc file:

:0B # slow regexp there's no other way
* ^Content-(Type|Disposition):(.|$[ ])*\.(pps|ppt|mpeg|wmv)
.entrada.ppt/

Which I use to redirect all mail with powerpoint and some movies to a special mailbox that I check only when I have time.

I hope this helps other people to do the same and get a better time reading important mail. ;-)

Older Posts »

Categories