Category

MPD and binding to an address

17 Dec 2015 20:27 | Geplaatst door Marcel

When running MPD, the Music Player Daemon, you can run into the error

listen: bind to 127.0.0.1:6600 failed: Address already in use (continuing anyway, because at least one address is bound)

Searching in search engines yields many questions, but no answers that I could find. The key issue seems to be in the setting

bind_to_address “any”

This would make it listen on all ip addresses and protocols. However, it only will listen on ipv6, not any ipv4 address.
Changing this setting to an ipv4 address does make it listen on all ipv4 addresses

bind_to_address “0.0.0.0”

When running MPD, the Music Player Daemon, you can run into the error listen: bind to 127.0.0.1:6600 failed: Address already in use (continuing anyway, because at least one address is bound) Searching in search engines yields many questions, but no…
Read more...

Gwolle Guestbook WordPress plugin

19 Mar 2015 15:44 | Geplaatst door Marcel

Gwolle-GB is a nice WordPress plugin for a guestbook. It was unmaintained for a long time however. Recently at my previous job the hosting switched from mysql to mysqli, and the plugin stopped working.

In September 2014 I started to maintain this plugin. A lot of code has been rewritten, and features have been added. The todo-list is now getting shorter, so it seems quite good now.

Gwolle-GB is a nice WordPress plugin for a guestbook. It was unmaintained for a long time however. Recently at my previous job the hosting switched from mysql to mysqli, and the plugin stopped working. In September 2014 I started to…
Read more...

Styling the Twitter Widget

30 Jun 2013 17:56 | Geplaatst door Marcel

Since Spring 2013 the v1.0 version of the standard Twitter Widget doesn’t work anymore.

The old widget was built in JavaScript, and added elements to the loaded page. It was easy to add css styling for that, you could just add it to the main stylesheet of your page.

With the new widget, which uses the new API that doesn’t work anymore. It is still built in JavaScript, but it adds an iframe to the page. And adding rules to your standard stylesheet has no effect on an iframe.

You can however add a stylesheet to an iframe, and that’s what I did. It’s available as download. All you have to do is change the location of the stylesheet in it. You can then add it to your page-layout. It does use and need jQuery.

In case you are editing the stylesheet, but it doesn’t refresh in the browser, you can open the stylesheet directly in the browser, and push F5 to have the cache of your browser refreshed.

Since Spring 2013 the v1.0 version of the standard Twitter Widget doesn’t work anymore. The old widget was built in JavaScript, and added elements to the loaded page. It was easy to add css styling for that, you could just…
Read more...

Picture Time Photo Album

22 Jun 2013 13:33 | Geplaatst door Marcel

Under the new name Picture Time I just released my photo album again.

Download it here: Picture Time

Under the new name Picture Time I just released my photo album again. Download it here: Picture Time
Read more...

New version cPanel plugin

16 Apr 2013 09:28 | Geplaatst door Marcel

Today I released a new version of the WordPress installer for cPanel. It has quite changed, therefore I called it version 2.0. It has support for more languages, and you can easily add your own. Also the security has improved, you can only change the path now.

Today I released a new version of the WordPress installer for cPanel. It has quite changed, therefore I called it version 2.0. It has support for more languages, and you can easily add your own. Also the security has improved,…
Read more...

Viewing the viewport in css

11 Jan 2013 22:19 | Geplaatst door Marcel

Measure the viewportThere is much to do over responsive design, a technique to shape websites for for example a mobile phone. Or a television. Or a fridge.
At my job we use mostly the max-width media query.

With mobile phones there are several operating systems and browsers, and a pixel in hardware is not the same as a css-pixel. To simply show this I wrote a script so you can view which device has which viewport.

You can see the output of the script. You can also view the source code.

There is much to do over responsive design, a technique to shape websites for for example a mobile phone. Or a television. Or a fridge. At my job we use mostly the max-width media query. With mobile phones there are…
Read more...