Enable "Media device (MTP)" USB mode on Android 4.4 (KitKat) and 5.0 (Lollipop)

"Media Device (MTP)" mode notificationSince I only wanted to charge my new Nexus 5 at work rather than having my phone content exposed to company hardware, I disabled "Media device (MTP)" USB mode there. This is actually easy since there is a shortcut in the notifications which let's you do just that.

The tricky part is to turn that back on when you are back home and want to connect your KitKat phone to your private computer. The system won't find the phone unless "USB computer connection" on your Android is either set to "Media device (MTP)" or "Camera (PTP)". The notifiction which used to be there in MTP mode is gone so there is no shortcut to get back to that setting.


How to find software bugs

BugsI'm really not trying to find bugs in software but for some reason, I keep finding them.

By now, I figured out some rules which seem to make it much more likely to find bugs in software even though it is marked as being stable or production ready:


Apache 2, referer spam and .htaccess "deny from" statements

Referer SpamReferer spam seems to be a huge problem nowadays, especially when you'd like to know where your blog visitors are coming from. If you have thousands of fake referrer strings in your logs, you might get the idea that there must be a way to keep the most common spam patterns out of your log files.

Luckily, there is one, but it might have security implications as I'll explain here.

Get this... and that... and probably that as well

RecommendationsI spiced up the Recommendations section with more content, simply because I realized that I have tons of useful software installed which I cannot live without which was still not listed here. I'm still not done adding all the tools which I think are worth mentioning there, so feel free to come back later if you are interested.

While we are talking about it, I'm also adding new recommendation categories such as events so I can finally recommend conventions like Eurofurence which every furry should have attended at least once, even though it's only to find out that it's not for you. You don't want to miss out on something awesome just because you are too shy to try it, do you?

Finally, I got a question for you guys and girls:

Would you like to see computer games in the Recommendations section or would that be too much?

Leave a comment.


Subscribe to random-host.com RSS
served by kangaroo.random-host.com