Please note that the information in this post is outdated. Don't use lafilefixer anymore.
After
reading about the
la-files-checksum-mtime-unmerge-problem (at least) the
second time and because I never liked
the way lafilefixer worked, I decided to go the same way Diego does.
Because I use paludis I could not simply
copy&paste the code, but writing a hook for paludis is really easy if you know what phase to hook into. I went with
"merger_install_pre" and it seems to worked (I checked the CONTENTS file).
The code is an auto-hook, so just
put it into "/etc/paludis/hooks/auto/lafilefixer.hook" and you should be fine. But I take no responsibility for killed
kittens or other disasters ;-)
#!/usr/bin/env bash
hook_auto_names() {
echo "merger_install_pre"
}
hook_run_merger_install_pre() {
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash
einfo_unhooked "Running lafilefixer"
lafilefixer ${IMAGE}
}
After writing
how to split a single
vcf to get it into a Nokia S60v5 a year ago it's now time to write how to get the contacts back as vcf-files from
the nokia device.
Luckily this time I quickly stumbled over an
article that recommends to
use the
NBU Explorer, which is not only for free but also
free (as in Stallman's terms) too. The application worked like I charm, I could extract my contacts as .vcf, my calendar
as .vcs and my memos as .txt files.
After upgrading to the beta of Opera 10.5, I noticed that regular cookie-settings didn't seem to apply on the
new
webstorage and webdatabases. Because I hate cookies (the electronic one at least), I started looking for a way to
disable them.
There are many settings in
opera:config#PersistentStorage.
Sadly most of them are not documented (yet) and some were not self-explaining. Trial and error told me that it is
basically sufficient and not bad to set all of the value to "0". If you want to be a bit more selective, you could leave
the value for SQLQueryExecutionTimeout as is.
It seems that if you disabled this all, you'll still get entries
in
opera:webdatabases or
opera:webstorage which can be a
good thing if you want to enable it later for a specific site that needs this and where you are OK with it. In this case
just go to either of the two sites and tweak the settings.
I just stumbled over a problem importing the contacts-exports of my old Sony-Ericsson device into my shiny new Nokia
5800. Both sending the whole phonebook via bluetooth or copying the backup to the phone die only import the very first
entry.
It seems this is a common problem not only limited to Nokia, but also Outlook has it. (perhaps the
multi-entry vcf-files by the SE-devices are invalid)
As vcf is a really simple text-only-format it's easy to
split them into multiple files if you know the right tools. csplit is such a tool (Windows-user can get csplit with
cygwin).
csplit --elide-empty-files --prefix='' --suffix-format %03d.vcf Contacts.vcf /BEGIN:VCARD/
{*}
This splits the file on every new entry into a new file named like "000.vcf" which can be imported.
Of
course importing a large phonebook even with these files is a real pain in the... you know. Luckily S60 offers a feature
to do a bulk import: Put the device into the mass storage mode and copy your vcf-files to the folder "Others/Contacts".
Then just open your phonebook, goto options and select copy from mass memory. E voilà!