English

How to fix the "There are no Android Devices associated with this account" issue in Google's Play Store

I was a bit messing with my Nexus (I accidentally flashed the bootloader of ICS 4.0.4 into the boot image of the Nexus ... and of course it wouldn't boot Smile) and eventually I reflashed the full factory image of ICS 4.0.4 on the device. After it was done, I've forced an OTA update of Jelly Bean. However visiting the Play Store's My Account page I've found the following message waiting for me on the Settings tab: "There are no Android devices associated with this account."

JIRA 5.0.6 - Default favicon and logo are inaccessible

I had to import a JIRA backup to our locally hosted JIRA 5.0.6 instance that was created on Atlassian's onDemand service. The import was mostly successful, but one problem still bugged me. The favicon (in the browser's address bar) didn't show up at all, when I visited our JIRA instance's URL. I've opened a support ticket with Atlassian, but in the end I was the one to solve the problem. Smile

How to encode H.264 video with baseline profile and AAC with low complexity profile using ffmpeg

With a recent (0.11.*+) version of ffmpeg and libx264+libfaac library support the following should work:
ffmpeg -i input.avi -y -f mp4 -vcodec libx264 -profile:v baseline -acodec libfaac -profile:a aac_low -b:v 560k -ar 44100 -b:a 128k -ac 2 -s 480x270 output.mp4

How to install Oracle Java (JRE/JDK) on Debian (Squeeze)

Works like a charm, even on Debian Squeeze. You just have to add the Sid repository and specify a low priority in your APT configuration via a new /etc/apt/preferences.d/debian-sid file, like this one ...

How to fix notebook performance problems (slowness, lagging) that come from overheating

It's quite a hot summer (again) and I bet that many notebook/laptop owners find their precious Mac/PC "seemingly" slowing down and not being capable of dealing with tasks that caused no problem before. One reason for this might be overheating due to dirt piled up at the exhaust port of your notebooks cooling fans.

FindBugs - Find Bugs in Java Programs

"FindBugs is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License."

How to create a TGZ (*.tar.gz) for a compiled (eg. via autoconf) application

Let's assume you have an application/project that you've already compiled and would like to pack it into a TGZ (or TAR.GZ) archive with proper permissions ... which most probably involve the root user as well. If you use autoconf, you most probably applied some sort of --prefix. If not, the default --prefix=/usr/local was used. Anyway your Makefile most probably contains some sort of installation target that would copy all the necessary files into their proper destinations. The problem is that you don't want to install locally in the first place and you don't have root access either. How are you going to package the application into a TAR.GZ with proper pathes and owners/permissions?

How to prevent pasting of images (with a "data:image" URI scheme) into TinyMCE text fields

Let's first take a look at what I'm talking about. Smile Firefox (starting with version 4) supports copy+paste of images into HTML textfields using the data URI scheme. This is nice for embedding small images into your HTML document.

How to decode an encoded email header with a Python one-liner

Let's take this encoded email subject as an example:
=?UTF-8?B?U3plbcOpbHllcyBZb3VUdWJlLcOpcnRlc8OtdMWRIC0gMjAxMS4xMi4yOC4==?=
Feed it into this one-liner:
python -c "from email.header import decode_header; import sys; subject, encoding = decode_header(sys.stdin.readline())[0]; print subject if encoding == None else subject.decode(encoding)"
It'll read a single line from it's standard input (you can pipe in the encoded line or enter or copy&paste manually) and print the decoded form. In this example it'll print Személyes YouTube-értesítő - 2011.12.28..

Syndicate content