Atom dependencies on openSUSE

An RPM package is provided for download on the Atom website, however, installing it on openSUSE Tumbleweed won’t install all of its dependencies. Running it from the console will give: /usr/share/atom/atom: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory According to the error message installing gconf2 will …

H.264 on openSUSE (round 2)

My previous post about this may be useful, but this one also works with gstreamer. First from the official wiki for giving Firefox H.264 capabilities: sudo zypper addrepo -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman  adding the packman repositories sudo zypper install libavcodec56 libavcodec57 libavformat56 libavformat57 libavdevice56 libavdevice57 installing the codecs. Now this only makes it available …

SSH connection problem

bmiklos@workstation:~> ssh my.server.com channel 0: open failed: connect failed: Connection timed out ssh_exchange_identification: Connection closed by remote host In cases like the one above this page gives good hints for solving the problem. They’re missing my case though: The ~/.ssh/config file can contain host rules which accidentally apply to the host. E.g.: in my case. Make sure …

H.264 on openSUSE

I’ve installed openSUSE Tumbleweed. For some licensing reasons it doesn’t contain the necessary codecs for playing H.264 files. Following neither the official, nor the unofficial documentation solved this problem for me, so for future reference, here are the exact steps that helped for me: Adding the Packman repositories: sudo zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ …

Tests with gradle from IntelliJ

I’m trying to run tests as gradle tasks from IntelliJ with specifying which tests do I actually want to run. From the console the tests run fine:./gradlew myTestTask –tests ‘com.mycompany.MyTestClass’ But if I create a new run/debug configuration in IntelliJ with myTestTask as the task and –tests ‘com.mycompany.MyTestClass’ as the script parameters then the runs …

Using Selenium with a virtual framebuffer

I needed to run my Selenium tests on a virtual machine, on RedHat Enterprise Linux 6.6 in a multi-screen environment and this messed up the screenshots that the tests took. Virtual frame buffer to the rescue: First I had to install it, wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm sudo yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm  then I could start it, Xvfb :1 …

Too many beans

Situation: I have a Weblogic container, an application, which I would like to deploy with an ant script and an error message saying: The problem in my case is that the container gets corrupt somehow, so I need to delete the directory containing it and re-create the whole thing. After that deploying my application works …

Velocity template not showing results from Java method call

We can call methods of any Java class from Apache Velocity. Now if that method happens to return a List<String>, and then process that list with #foreach, then we should be aware that in Velocity the result will be something like [foo, bar] instead of [“foo”, “bar”]. We will get an array of texts and …