I look forward if you would subscribe to my rss feed: button_rss20 



To convert a vCard addressbook to the fritzbox xml format I wrote this short perl script.

 

#!/usr/bin/perl -w
use warnings;
use strict;

my $inputFile = shift;

open(VCARD, $inputFile);

my $newContactFlag = 0;
my %nameNumberHash;
my $name;
my $i = 0;

# Input section

sub umlautwechseln {
    my $messystring = shift;
    my $conversion = shift || "1";
 
    my @vorlage = (
        [   'ä',   'ö',      'ü',      'Ä',      'Ö',     'Ü',      'ß'],
        ['ä', 'ö', 'ü', 'Ä', 'Ö','Ü', 'ß'],
        [   'ae',  'oe',     'ue',     'Ae',     'Oe',    'Ue',     'ss']
    );
 
    for (0 .. 6) {
        $messystring =~ s/$vorlage[0][$_]/$vorlage[$conversion][$_]/g;
    }
 
    return $messystring;
}

while(<VCARD>)
{
        if($_ =~ /^FN:(.+)\n$/)
        {
            $name = $1;
            chop($name);
            $name = umlautwechseln($name);
        }
        elsif( $_ =~ /TEL;type=(.+);type=VOICE:\+49(\d+)/ )
        {
            $i++;
            my $type = lc($1);
            $nameNumberHash{$name} .= "<number type=\"$type\" vanity=\"\" prio=\"1\">0$2</number>\n";  
        }
        elsif( $_ =~ /TEL;type=(.+);type=VOICE;type=pref:\+49(\d+)/ )
        {
            $i++;
            my $type = lc($1);
            $nameNumberHash{$name} .= "<number type=\"$type\" vanity=\"\" prio=\"1\">0$2</number>\n";  
        }
}

close(VCARD);

# Output Section

print "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
<phonebooks>
    <phonebook>";
my $id = 0;
foreach my $key ( keys %nameNumberHash )
{
    my $name = $key; # chop($key);
    #print "key: $key, value: $nameNumberHash{$key}\n";
print"        <contact>
            <category>0</category>
            <person>
                <realName>".$key."</realName>
            </person>
            <telephony>
                $nameNumberHash{$key}
            </telephony>
            <services />
            <setup />
            <mod_time>1319558289</mod_time>
            <uniqueid>$id</uniqueid>
        </contact>";
    $id++;
}
print "    </phonebook>
</phonebooks>";

After that you can start it with:

perl vcards2fritz.pl vCards.vcf > test.xml

and you can upload the test.xml file to your fritzbox.



Mac

Go to the system settings and change the Capslock behaviour to Option/Alt:

umlauteMac

Now download the following software:

http://pqrs.org/macosx/keyremap4macbook/

 

Go to system settings --> keyremap4mac --> Misc & Uninstall --> Open private.xml

Then insert the following:

<?xml version="1.0"?>
<root>
  <item>
    <name>Myzinsky Umlaute</name>
    <appendix>Umlaute accesible with CAPSLOCK + aeiou</appendix>
    <identifier>private.myzinsky.umlaute</identifier>
    <autogen>
      --KeyToKey-- KeyCode::O, ModifierFlag::OPTION_L | VK_SHIFT | ModifierFlag::NONE,
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::O, VK_SHIFT      
    </autogen>
    <autogen>
      --KeyToKey-- KeyCode::O, ModifierFlag::OPTION_L | ModifierFlag::NONE,
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::O       
    </autogen>
    <autogen>
      --KeyToKey-- KeyCode::A, ModifierFlag::OPTION_L | VK_SHIFT | ModifierFlag::NONE,
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::A, VK_SHIFT       
    </autogen>
    <autogen>
      --KeyToKey-- KeyCode::A, ModifierFlag::OPTION_L | ModifierFlag::NONE,
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::A     
    </autogen>
    <autogen>
      --KeyToKey-- KeyCode::U, ModifierFlag::OPTION_L | VK_SHIFT | ModifierFlag::NONE, 
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::U, VK_SHIFT       
    </autogen>
    <autogen>
      --KeyToKey-- KeyCode::U, ModifierFlag::OPTION_L | ModifierFlag::NONE, 
      KeyCode::U, ModifierFlag::OPTION_L, KeyCode::U      
    </autogen>
    <autogen>-
       -KeyToKey-- KeyCode::S, ModifierFlag::OPTION_L | ModifierFlag::NONE, 
       KeyCode::S, ModifierFlag::OPTION_L 
    </autogen>
  </item>
</root>

Reload the XML and activate this profile, now you can write an Ü with: [caps] + [shift] + [u]

and an ß with [caps] + [s]

Linux

Under Linux it is much easier:

create the .Xmodmap file in your home and insert:

  1. keycode 66= Mode_switch Multi_key
  2. keycode 39= s S ssharp
  3. keycode 38= a A adiaeresis Adiaeresis
  4. keycode 30= u U udiaeresis Udiaeresis
  5. keycode 32= o O odiaeresis Odiaeresis
  6. keycode 26= e E EuroSign EuroSign

Windows

Under Windows the the tool AutoHotKey can be used:

  1. #SingleInstance force
  2.  
  3. #InstallKeybdHook
  4.  
  5. SetCapslockState, AlwaysOff
  6.  
  7. CapsLock & a::CSend("ä", "Ä")
  8. CapsLock & u::CSend("ü", "Ü")
  9. CapsLock & o::CSend("ö", "Ö")
  10. CapsLock & e::CSend("€")
  11. CapsLock & s::CSend("ß")
  12.  
  13. CSend(p_normal, p_shifted="") {
  14. key:=(!GetKeyState("Shift") ? p_normal:p_shifted)
  15. Send, %key%
  16. }

Source: JSLover



Es geht los, HTC verteilt die Updates fürs Sensation! Ich lade es mal runter, status gibts gleich!

UPDATE: install läuft immer noch: optimiere APPs, Hoffentlich ist das neue Stock Mail besser als das alte, und dann brauch man evt K9 nicht mehr :)

2012-03-29 15-54-01



Change PaperType from Letter to A4 in following Files:

/usr/local/Brother/Printer/dcp135c/inf/brdcp135cfunc
/usr/local/Brother/Printer/dcp135c/inf/brdcp135crc

Then there is no shift in your printings anymore.



Service menu for bcrypt! ssh-askpass required! (you can exchange that with ksshaskpass too)

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
X-KDE-Submenu=Bcrypt
X-KDE-StartupNotify=false
X-KDE-Priority=TopLevel
X-KDE-menu=Email
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
Actions=encrypt_with_bcrypt;decrypt_with_bcrypt
[Desktop Action encrypt_with_bcrypt]
Name=Encrypt
Exec=echo -e "`ssh-askpass "Password (at least 8 characters)" `\n`ssh-askpass "Again"`\n" | bcrypt %F
Icon=gcr-key
[Desktop Action decrypt_with_bcrypt]
Name=Decrypt
Exec=echo -e "`ssh-askpass "Password"`\n" | bcrypt %F
Icon=gcr-key