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!
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.
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 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
Recently I was finally annoyed to always have a custom dialog in Chrome when instinctively hitting CMP-P to print a page.
So I reset the keymapping for chrome in that way that hitting CMP-P opens the systems default print-dialog like this.
You can also find this on SuperUser
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
- 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
New and cool features in PHP5.6 weiterlesen