Arxiu del abril del 2010

Socks server, easy way: ssh

dimecres, 28/04/2010 (23:20) per carles

Short article:
I love ssh (really, what a nice piece of software, tunnels, reverse tunnels… and sock servers!):
ssh -D 1080 user@server
Setup your favourite application to use the socks server on localhost, port 1080. ssh will send to “server” the communications, cyphered. And from there to the world.
If your favourite application doesn’t have socks support: install tsocks and wrap your application with a tsocks call:
tsocks application
(you need to setup the server in /etc/tsocks.conf)

Long article:
I wanted to watch from London a basketball match that was broadcasted in the Catalan TV (and Spanish one) but only for Spanish residents.
(més…)

Ai Wikipedia, quin spoiler

dimecres, 21/04/2010 (21:53) per carles

Spoiler: dit de quan, sobre una pel·lícula, llibre, obra de teatre es diu informació de com acaba o coses que passen (p. ex. «al final el pare es sobreviu» o qualsevol cosa així).

Hi ha força llocs a Internet que abans de dir coses d’aquestes diuen «SPOILER», així qui ho vol llegir ho fa, i qui no ho vol llegir no ho fa.

Fa unes setmanes vaig anar a veure «The Mousetrap», porta 58 anys en cartell, escrit per Agatha Christie.
(més…)

Delay the mails with Postfix

dimecres, 14/04/2010 (01:00) per carles

Some days ago I commented in Catalan that I wanted to delay the mails using Postfix. Why? To have a period of time where I could cancel (or “unsend”) some mails. Google has done it in GMail (see Labs option). It can be useful for these moments like “Ops! I sent the mail to the mailing list instead of to a person” or “ops, I sent to A instead of B”. It doesn’t happen often, but can happen.

My setup: mutt is sending the mails to a local Postfix using the sendmail program, Then Postfix sends the all mails (relay) to another SMTP server. Technically I could change both SMTP, but I only wanted to change the local one since it’s “my one” and closer to the MUA.
(més…)

Algunes entrades en anglès

dimecres, 07/04/2010 (22:54) per carles

Últimament m’han vingut ganes d’escriure algunes entrades en anglès, més aviat entrades tècniques.

El blog segueix en català, però de tant en tant hi haurà alguna cosa en anglès. Potser ara al començament cada 15 dies (perquè en tinc dos preparades i alguna potser pensada) però a llarg termini crec que no gaires.

Algun petit howto d’alguna configuració, algun comentari d’algun llibre, coses que potencialment poden interessar a gent d’arreu i que em vingui de gust escriure-ho en anglès. També per alguns amics d’aquí o d’allà que els hi interessa i així ja ho escric només un cop i els hi envio l’enllaç.
(més…)