Outlook blocks attachments with a exclamation mark in the filename after the last Windows Update from 13.06.2017

The last windows/office update round from June 13th modified Outlook in a way that it blocks attachments which has a exclamation mark within its filename.
Just remove the exclamation mark from the filename and everything works again. Tested with Outlook 2007 and Outlook 2010.

Message within Outlook (german Outlook): „Outlook hat den Zugriff auf die folgenden potenziell unsicheren Anlagen blockiert“ or „Outlook has blocked access to the following potentially unsafe attachments“

HHVM crash with version 3.18.0

If you installed the last version of HHVM (version 3.18.0) and restart your server or HHVM then you get the following error within /var/log/nginx/error.log:

connect() to unix:/var/run/hhvm/hhvm.sock failed (111: Connection refused) while connecting to upstream …

and within /var/log/hhvm/error.log:

Failed to initialize central HHBC repository:\n Failed to initialize schema in /var/run/hhvm/hhvm.hhbc(rw-r–r– root:root): \n Failed to open /var/www/.hhvm.hhbc: 14 – unable to open database file\n

The problem is with the new version hhvm creates the hhvm.hhbc with the user root and the user www-data can’t access the file. A workaround is to specify the user within the /etc/hhvm/server.ini:

hhvm.repo.central.file_user=www-data
hhvm.repo.central.file_group=www-data
hhvm.repo.central.file_mode=493

then restart hhvm with:

/etc/init.d/hhvm restart

That’s all 🙂

Source: https://milliondollarserver.com/hhvm-3-18-0-crash-on-ubuntu-16-04-with-nginx.html

Temp user profile after Windows 10 upgrade

If you update a Windows 7 (8?) computer to the latest Windows 10 the current profile will work just fine. But I could happen that every other already used user profile on this computer is in the regitry but not in the user directory (check this in the %systemroot%\user directory). Windows 10 „thinks“ it’s a already known user profile but can’t find the user files. So it create a temp user profile.
The solution is to clean the profile list within the registry. Make a backup before you start and know what you are doing! Login with the working user. Start regedit and browse to HKLM/Software/Microsoft/Windows NT/Current Version/ProfileList. The you click on every subregistry key. The ProfileImagePath gives you a hint which user profile this subkey is. Delete the subkey from the user which don’t work (temp profile). Logout the current user and try to login with the „new“ user account. It should work now.

Install ssh2 in php 5.5.3

I needed SSH2 authentification in php for the wordpress autoupdate function on my new server with ubuntu 13.10. Well it sounds easy just to install ssh2 and everything works fine but it costs me some time …

First I installed ssh2 extentions with this command

apt-get install libssh2-php

Restarted apache, even rebooted the server but php -m | grep ssh2 gives me no output. The ssh2 php extentions just dont work.

After some try and error I found a solution. I had to move the /etc/php/conf.d/ssh2.ini to the directory /ect/php/mods-available with this command

mv /etc/php/conf.d/ssh2.ini /ect/php/mods-available

After this I had to enable the extention within php with this command

php5enmod ssh2

Restart apache with

service apache2 restart

And test again with php -m | grep ss2 It should work now 🙂

Tatome – dein Telefon sagt dir, wer anruft …

Screenshot_2013-08-13-14-34-04

Die Idee zu Tatome ist mir beim Joggen eingefallen. Ab und an kommt es vor, dass während ich laufe mich jemand anruft. Dann musste ich das entweder komplett ignorieren oder das Handy aus der Handytasche nehmen und drauf sehen, wer anruft. Macht sich blöd beim Joggen …

Ich brauchte also ein kleines Programm auf dem Handy, was mir direkt ins Ohr – ich laufe meist mit Kopfhörern – sagt, wer da gerade stört. So weiß ich wer anruft, kann bei Bedarf schnell reagieren und doch rangehen. Oder laufe eben weiter, ohne neugierig sein zu müssen.

Standardmäßig ist das Programm so eingestellt, dass man es nur mit eingesteckten Kopfhörern aktiv wird. So brauche ich vor dem Sport an nichts mehr zu denken. Einfach Kopfhörer anstecken, Musikauswählen, Sporttracker an und los geht’s.

Tatome ist kostenlos und ohne Werbung. Aber es gibt erweiterte Optionen, die erst nach einen einmaligen In-App Kauf verfügbar sind.

Diese erweiterten Optionen sind, Tatome auch ohne angeschlossene Kopfhörer den Anruf ansagen zu lassen und eigene Texte für die Sprachausgabe zu definieren.

Interesse? Hier gibt’s Tatome:

Get it on Google Play

Merry christmas everyone

Christmas tree
Na dann will ich mich mal hier einreihen und allen ein frohes Weihnachtsfest wünschen. Geniest die Zeit 🙂

 

 

 

I wish everyone a merry christmas. Enjoy the best time of the year 🙂

Je souhaite à tous un joyeux Noël. Profitez de la meilleure période de l’année 🙂

Ik wens iedereen een vrolijk kerstfeest. Geniet van de beste tijd van het jaar 🙂

Vsem želim vesele božične praznike. Uživajte v najboljši čas v letu 🙂

Přeji všem veselé Vánoce. Užijte si to nejlepší čas roku 🙂

Życzę wszystkim Wesołych Świąt. Ciesz się najlepszą porę roku 🙂

Я желаю всем счаст

ливого Рождества. Наслаждайтесь лучшим временем года 🙂

Jeg ønsker alle en riktig god jul. Nyt den beste tiden av året 🙂

Les deseo a todos una Feliz Navidad. Disfrute de la mejor época del año 🙂

私は、みんなにメリークリスマスをお祈りしております。今年のベストタイムをお楽しみください 🙂

Well, I heard such a learn all languages in one night tape last night. Impressive, isn’t it? *hehe* ;o)

Merry christmas everyone 🙂

Windows 8 Pro with Media Center activation

Win8

The Windows 8 Pro activation of additional features is a bit dumb. Instead checking if the entered key is already used it just checks if the key is valid and then upgrades the Windows 8 Pro version to Windows 8 Pro with Media Center. Windows tries to activate the new key after the next reboot. If the key is already used your Windows isn’t activated anymore even with the bought Windows 8 Pro key. And the best of all you can’t go back. No system restore point or any other option. Just a reinstall of Windows helps.

Problem was the free MediaCenter (for a limited time) and only one key per email. So I used the same email for my desktop pc which I already used for my laptop. So I got the same key. It’s easy to get a new key with another email address but you have to wait up to three or more days until you get the new key.

Well, I got a new key and so I could reactivate Windows 8 again.

Transfer extra data to new activity but you don’t get in the new activity?!

 

If you want to transfer some extra data to the called activity you have to use the extra data within a intent. You can do it in this way:

Intent intent = new Intent(this, Activity2.class);
intent.putExtra(ActivityCategoryEdit.IDKEY, items.get(position).getID());
startActivity(intent);

You just have to read the extra data within the onCreate function in called activity. Just like that:

id = getIntent().getIntExtra(IDKEY, -1);

That works as long the transfered value is a integer. But the type of the transfered ID is long in my case and if you try this way with a long value you just get the default value (-1) in the Activity2. This cost me some time to find out why. I have to use getLongExtra to get it work. A simple change was the solution … like always 😉

Here the code for the long value in Activity2. Activity1 don’t need to be changed.

id = getIntent().getLonExtra(IDKEY, -1);

Maybe this will help you.