Fish cravings

Some days I go to the fish market an cannot stop buying around: small fish, calamari, squid, fish fillet, roe. Then all I need is a bit of corn flour, a bit of regular flour, salt, pepper and some spices for a nice crust and some patience to cut the onion for the roe salad. Add a nice tomato salad and some white bread and I’ve made my day. Fish cravings...

July 17, 2011 · len

Air versus native Android applications

This weekend was cloudy and it rained so I decided to give some more time to play with my android phone. Even since I got the phone some time ago I tried on several occasions to do some fun development on it but it never seemed quite fun as expected so beside some play with the sensors, gps and camera I did not do much. However this time I was decided to do a different kind of test....

July 3, 2011 · len

My first Firefox workaround

This weekend, being stranded inside by the rain I tried to help a friend with a small flex (flash) application. The code looked very simple and I could not understand the problem. On a non-US keyboard flash seemed to ignore all special chars (like @, #) in a basic text field. After some research I found this very, very ugly and old bug laying around since FF 2. It seems it had been corrected sometime and then lost again and there is no solution for it other than setting the wmode parameter to window....

June 28, 2011 · len

Auto backup last n days on an usb stick

This is a simple script which automatically backups files modified in the last n days on a usb stick. It can be run from cron and will require the usb stick to be present only at backup times: <pre lang="bash">#!/bin/bash USB_DEV=/dev/sdb1 MOUNT_POINT=/media/backupusb DAYS=60 SYNC_DIR=/home/tomcat/backup/ find $SYNC_DIR -mtime +$DAYS | sed "s|$SYNC_DIR||" > $SYNC_DIR/exclude mount $USB_DEV $MOUNT_POINT if [ $? -eq 0 ]; then mkdir -p $MOUNT_POINT/backup rsync -rtDxL --safe-links --delete --exclude-from=$SYNC_DIR/exclude --delete-excluded --modify-window=1 -vP $SYNC_DIR $MOUNT_POINT/backup/ umount $MOUNT_POINT else echo Could not mount $USB_DEV on $MOUNT_POINT fi Some explanation on the rsync params:...

June 23, 2011 · len

Display calibration and profiling

Since I started paying some attention to the photos I make the display calibration issue recurrently came into question. I tinkered as much as I could with xgamma mostly with bad results. This weekend however I could borrow a Spider 3 device and I played with dispcalGUI and argyll. There is not much I could say because the doc on the respective sites is great so after some wait I managed to get and ....

June 15, 2011 · len

Reverse GPX track

This is a simple script which reverses the direction of a gps track stored in a gpx file: <pre lang="bash">#!/bin/bash gpsbabel -t -i gpx -f $1 -x transform,rte=trk,del -o gpx -F 1.$1 gpsbabel -t -i gpx -f 1.$1 -x reverse -o gpx -F 2.$1 gpsbabel -t -i gpx -f 2.$1 -x transform,trk=rte,del -o gpx -F rev.$1 rm 1.$1 2.$1 will generate a rev.file.gpx from file.gpx Comments: Gon - Apr 5, 2015 However the timestamps will be now in a wrong time order… It would be cool to be able to maintain the time gaps between trackpoints together with the start/end times....

June 2, 2011 · len

Chiffon lemon cake

Sunt un pic pretentios in legatura cu torturile asa ca cea mai eficienta solutie mi s-a parut sa-mi fac unul singur. Rezultatul a fost delicios si racoros, fara a fi atat de strong ca prajitura de lamai. Pentru mine, tortul perfect. Chiffon lemon cake Blatul Operatiunile incep prin a spala bine 5 lamai mari. Cu multa energie ca sa eliminam ceara cu care sunt acoperite. Apoi radem lamaie pentru coaja si le stoarcem pentru zeama....

May 25, 2011 · len

The smartphone holiday

Going on trip, one of the questions I asked myself is: should I pack a laptop, a gps, a camera? Now a new question: can a smartphone replace all these gadgets on a trip? The answer, based on my experience with my HTC Desire, Android based phone, is: yes, it can replace a laptop and a gps device on a city trip, but… Let me explain what I mean while I wait for my plane....

April 4, 2011 · len

Jambalaya

And I just said I don’t like fancy titles. Shame on me. This however is a recipe with trekkie inspiration. Do you know what Captain Benjamin Sisko cooked for his friends on DS9? Jambalaya. I was wondering what jambalaya is so I found it. In fact I could be rude and call it a shrimp pilaf in my case since I did not had any raw shrimps to boil and use the stock for the rice....

March 22, 2011 · len

Beef bourguignon

I try to keep away from pretentious recipes titles but this describes the best this somewhat simple but very lengthy recipe. I did not had much time lately to cook, shoot or write about food but after eating pizza with coke on Saturday I decided to take some measures. So, I remembered a beef bone with meat I had bought a while ago which was perfect for the task. Beef bourguignon...

March 20, 2011 · len