Category Archives: Allgemein

Displaying Date-Ranges

Recently a new issue popped up on the joind.in issue-tracker which called for nicer date-ranges. As I did something like that a few weeks prior I grabbed the issue and starded working.

The output is a small library that enables you to display a date-range like 12. – 13. March 2015 instead of 12. March 2015 – 13. March 2015.

Simple thing.

It also displays March 12th – March 13th 2015 if you want to.

Not that easy any more.

I won’t bother you with the details on how it’s done (it seemed more difficult than it actually was) as you can see that in the source-code if you are interested.

Continue reading Displaying Date-Ranges

joind.in – a personal plea

Joind.in is a community driven project to give feedback to speakers at conferences and events.

And besides that it is a great ressource for all those that want to participate in the community. Not only as it’s an opensource project that everyone can help to make even better! But to provide feedback it also contains a list of almost every conference and event that is of any significance to the (PHP-)community.

And as the driving force underneath the hood of joind.in is a great API everyone interested can do a lot of cool things with the data no one has ever thought of.

To get the most out of joind.in (and therefore that API) some things should to be considered when creating or editing an event in joind.in. Some of these I’ll list here:

Continue reading joind.in – a personal plea

New and cool features in PHP5.6

PHP5.6 is, at the date of writing this, in the first beta phase. So the good question is: What new and cool features can we expect in the shiny new PHP-Version?

  • Exponential operator
  • importing namespaced functions
  • constant scalar expressions
  • variadic functions
  • argument unpacking
  • phpdbg
  • Streams for POST-data
  • Default Character-Encoding improvements
  • TLS improvements
  • More “under-the-hood”-Improvements

For a full list of changes have a look at the RFC-Part of the php.net wiki

Continue reading New and cool features in PHP5.6

SRWare Iron and PDF

Sadly SRWares Chromium-based Browser Iron doesn’t come with a built in PDF-Viewer.

For a long time I’ve simply taken that, but today I had to research vor PDF-stuff and finally I was fed up!

GoogleChrome to the rescue

As described in http://wiredhut.blogspot.de/2012/06/how-to-get-chromes-pdf-viewer-in-srware.html you can simply use Google Chromes PDF-Engine. And it does not only work out for Windows but also for Mac.

Simply open the Applications Content of your SRWare Iron by right-clicking onto the Application and selecting “Open Package Content”. You should get a Finder-window showing simply a folder “Contents”. Inside are several folders. One of them should be named “Versions”. Open that one and select the “newest” one inside. In my case that was “29.0.1600.1”. In there is a folder “Chromium Framework.framework” in which again is a folder “Internet Plug-Ins”. Thats the one we’re after!. So the path is as follows:
SRWare Iron.app > Contents > Versions > 29.0.1600.1 > Chromium Framework.framework > Internet Plug-Ins

Open the same folder of a Google Chrome-Browser (Note: The Version-Folder will be differently named, take the “newest”) and locate a Plug-In called PDF.plugin. Copy that one into the folder of your SRWare Iron, restart the application and open a PDF-file.

Thats it!