Rep. Candice Miller continues to spam non-american citizen with public money

The spams comes from Congresswoman.CandiceMillerE-Newsletter@MAIL.HOUSE.GOV. Your congresswoman is spending tax money to send spam. Besides, she sends spam to Switzerland citizen, which most probably don’t give a dam for what she thinks. Michigan voters are probably in need for another Congresswoman the next time they elect someone.

Continue Reading »

Le pain de Christian

So here comes the bread recipe, we have been asked. It is optimised for our oven and metal cauldron. So you will need to experiment a couple of times to get the best results.

Continue Reading »

digitec.ch poor environmental behavior

I ordered my new Canon S100 camera from digitec.ch, mainly because they pretended to have it in stock. Along with the camera, I ordered a second NB-5L battery pack and a Transcend 32 Gb SDHC card. I paid everything in advance with my credit card. So far so good. Continue Reading »

A windy day, indeed

65 knots. Probably too much for an A-Cat. I predict trees on the street and power-outages.

Record uptime

1875 days uptime on a Solaris 9 server. That translates to about 5 years and 50 days. When has your windows server lasted more than 30 days ?

uptime

Jours fériés 2012 en Suisse

Comme chaque année depuis 2008, voici le calendrier des jours fériés 2012 en Suisse pour iCal en format ics.

Mode d’emploi :

  • télécharger sur votre Mac
  • dézipper
  • démarrer iCal
  • importer le fichier .ics dans votre calendrier

feries_2012_suisse.ics.zip

Corrections et compléments bienvenus, mon email se trouve dans la page “About me”, ou alors sous forme de commentaire.

Pour ceux qui désirent le calendrier des numéros de semaines, cherchez le freeware NumSemaine.

Le Waterzooi de Christine

waterzooiPlat pour 4 personnes, compter une heure de préparation.

Ingrédients :

  • 4 filets de poulet
  • une branche de poreau
  • 5 carottes
  • 5 branches de céleri
  • 8 pommes-de-terre

Continue Reading »

Perl_Tstack_sp_ptr

In some situations, you will see such an error : perl: symbol lookup error: XXX.so: undefined symbol: Perl_Tstack_sp_ptr

Continue Reading »

Le Tiramisù de Kathrin

Préparer la masse avec ces ingrédients :

  • 500 gr de mascarpone
  • 3 jaunes d’oeufs
  • 85 gr de sucre
  • 1 cs de Grand Marnier

Continue Reading »

upload a file to Sharepoint from Linux/UNIX

SharePoint is the bane to system administrators everywhere. This thing is so obscure, and so few people have got an idea how to properly interact with it…

Anyway, after hours of googling, I found an easy method to upload a file to a sharepoint server : curl. Sharepoint supports HTTP PUT commands, but wants NTLM authentication. Initially, I thought I could use this :

import httplib2
bytes = open(filename, ‘rb’).read()
h = httplib2.Http()
h.add_credentials(user, password)
resp, content = h.request(url, “PUT”, body=bytes, headers={‘content-type’:'text/plain’} )

Well, it works only for BasicAuth servers. However, $harepoint wants the proprietary NTLM auth scheme, and httplib2′s python wonder can’t produce NTLM…

So back to the root : what tool can do HTTP and NTLM ? curl. This works for me :

curl –ntlm -u domain\\user:password -T /etc/hosts https://sp.domain.com/dirspec/hosts

Well, I’m not very proud of forking curl from my scripts, but it works. Pycurl is probably the next step to elegance.

Switch to our mobile site