Preskočiť na obsah

2014

Make cryptsetup ask the same password only once at boot

luks-logo
I bought a new hard drive. Because I protect all my harddisk with encryption, I setup LUKS for new harddrive too. But init scripts ask password for every encrypted partition and I want to enter my harddisk password only once. I have started with googling but I wasn’t succesfull. I have found this thread about the same problem. But the author didn’t provide a patch, and the uploaded *.tar.gz archive is no longer available.

Záchrana fotiek v mobile

jpeg error

Včera sa mi stala jedna vec. Vymieňal som si telefonický kontakt s Martinom. Napriek dnešným možnostiam smartfónov, kontakt sme si vymieňali klasickým diktovaním telefónneho čísla. Ale Martin aj požiadal, či si ma môže odfotiť. Jasné, a začali sme sa navzájom fotiť. Chvíľu to trvalo, kým sme si obaja naťukali meno, kontakt správne zaradili a orezali aj fotku, ktorá sa má pri kontakte zobrazovať. A ajhľa, moja fotka Martina kdesi zmizla (zjavne chyba v nadupanom softvéri poháňajúcom moj smartfón) a nechcela sa pri Martinovom mene zobraziť. Času nebolo nazvyš a tak si vravím - nevadí, veď ona v mobile niekde je a nájdem ju neskôr.

Create triggers with MySQL procedures

Angry developer

I wrote some SQL procedures, which can create triggers. The main goal was to create triggers for mysql schema, but it is not possible for the following limitation of current version MySQL and MariaDB:

1465 HY000 ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA Triggers can not be created on system tables