wordpress and markup

Markup is a great way to write text. And I wanted to be able to write my blog-posts in markup also. And I also wanted to be able to write code-snippets in markup.

It proved rather easy to integrate Jetbags markup-engine without the overhead of installing the complete jetbag-suite.

Just install and activate the jb_markup plugin. For code-highlighting I use the SyntaxHighlighter Evolved-plugin.

Caveat: The JB_Markup-plugin converts the markup to HTML with wordpress-tags on saving the post. That’s fine, as long as you do not turn on Syntax-Highlighting after saving the post. On saving the post JB_Markup checks whether the Syntax-Highlighter is activated and depending on that convertts code-blocks either to a simple ‘pre’-tag or uses the \-syntax which enables the Syntax-Highlighter. So when you enable the SyntaxHighlighter after you wrote a post, you’ll have to resave the post!

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.

Displaying Date-Ranges weiterlesen

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:

joind.in – a personal plea weiterlesen

Change OpenDirectory-Mappings

Today I’m hacking together some things I’ve learned during administrating a bunch of Macs that had to use a centralized OpenLDAP-cluster as “OpenDirectory”-backend.

To get authentication as well as authorization to work we had to tweak the mapping of Apples DirectoryService-fields to the LDAP-Attributes of our OPenLDAP.

Luckily it’s not rocket science as Apples own OpenDirectory is based on OpenLDAP as well, so there are some parallels.

NOTE: ALL the things described here apply to MacOS 10.8 clients and an OpenLDAP-backend. They worked out for our settings. If you change any of your settings you are doing so on your own risk!

Change OpenDirectory-Mappings weiterlesen