- March 28, 2012
#Food, #Italian, #leftovers, ...
We went to the supermarket yesterday and bought plenty of things we needed, things we had written down on our fancy shopping list. And, as usual, I picked up a few things that I didn’t really need …
I saw that Erik Kaiser had a nice round 1kg boule de campagne, so I bought one of those. I also bought a small bag of pre-cooked mussels without the shells.
I tossed the mussels in a frying pan with some finely chopped garlic and a dash of olive oil. Meanwhile I had some spaghetti cooking and in under 10 minutes I had a wonderful Spaghetti with Mussels. I believe cooking should be this simple. Of course you can check how Mario makes it as well
Now that was a great dish. But the post is about the bruschetta I made today using the leftovers. (no pics, no time!)
I sliced the bread I bought yesterday. Put in the rest of the mussels in the pan and heated them just a bit before putting in the slices of bread. I then flipped the bread and stacked the remaining bits of mussels on top. Grated some Parmigiano-Reggiano over that. Best bruschetta ever. Go ahead a try it 🙂
Gigi (giselle) the tortoiseshell cat that adopted us a few months ago delivered her load of 4 beautiful kittens a few days ago. She came inside, called out for my wife Pia. When Pia did not reply, she searched for her and climbed on to her lap. After a couple of minutes, Pia was feeling the cat’s belly as we were noticing some movements there the last few days, and she noticed something was starting to ooze out of her.
- March 16, 2012
#authentication, #Email, #gmail, ...
There are different wayt to authenticate emails as being legit. One of the easiest to implement is SPF.
Basically what you need to do is add an SPF record to your domain’s DNS zone. But since most DNS control panels do not have this record, you can simply add it as a TXT record.
The OpenSPF site provides the syntax used to identify the resources on your network or otherwise that are allowed to send email on behalf of your domain. But I always find it easier to use a simple form to generate that record. Below are a few helpful sites that offer such a form/wizard:
I know GMail checks the SPF records. Yahoo Mail prefer DKIM. For more info about DKIM and setting that up check this old post by Brandon Checketts.
Renewing an SSL certificate is usually straight forward. But sometimes you’re not sure which CSR to use. Or if you need to generate a new CSR, which SSL key. Here are the commands I use to verify the certificate related files:
openssl x509 -noout -modulus -in mydomain.crt | openssl md5
openssl rsa -noout -modulus -in mydomain.key | openssl md5
openssl req -noout -modulus -in mydomain.csr | openssl md5
The MD5 hash should match.
You could use a bash script to search a directory for a specific MD5 hash. For example:
for f in $(ls $SOMEDIR); do echo $f; openssl x509 -noout -modulus -in $SOMEDIR$f | openssl md5 | grep "MYMD5HASH"; done
I guess the above could use some work 🙂