Speed Project: Time Since Last Post

Speed Projects are a wonderful concept, that I stumbled across through FAT (Free Art & Technology). I’ve been thinking about writing a WordPress plugin for a while to motivate myself and to show site visitors, that my blogs are active.

Turns out, it only took me 25 minutes to produce a really tiny solution, that displays a human readable time since the last blog post was published. The credit is not really with me, but with the great documentation and pre-built WordPress functions. Continue reading “Speed Project: Time Since Last Post”

PHP MVC: The Laravel Framework

The Laravel project has made a pretty smart move, that now is also in their quick start guide. They enable you to install it directly through composer! I’ve written about composer once when I ran into a little quirky bug on MacOS.

Using composer, which is a general dependency manager for PHP seems like a big step towards more interchangeable code between different PHP frameworks. I’ve briefly looked into Sparks some time ago, but it’s pretty specifically aimed at the CodeIgniter framework. Continue reading “PHP MVC: The Laravel Framework”

Quick & Dirty: MarkDown to PDF

Writing from a developers point of view and writing from a PBA studies examinators point of view are very different things. Developers want to write code and slam documentation into MarkDown files they can track with git (assumption). PBA examinators want a footnote drenched, printable document, that belongs back in the 1970s (fact).

For my last hand-in I’ve created a quick & dirty script, that does just that to your MarkDown files. Continue reading “Quick & Dirty: MarkDown to PDF”

Quick & Dirty: Character Counting

Having to hit a character limit is not the smartest rule in our educational system, but I get where it comes from. To track the process of how far along one is, I’ve created a little script that counts characters in a couple of files at once and outputs it with some percentage calculations. Nothing fancy, but I’ve used this about 200 times in the past month, so I thought I’d share it. Continue reading “Quick & Dirty: Character Counting”

HTML Workshop Odense, Denmark

HTML5_LogoI’m hosting another workshop, this time about HTML & CSS, mainly for students at the EAL, but everybody is welcome.

Since some students are about to create their first website and have not had lessons about HTML, we’re going to take very basic things first and then get coding right away.

As usual I’ll post my slides up front, so everybody can see what they’re going to spend 2-3 hours of their life on. Continue reading “HTML Workshop Odense, Denmark”

WordPress 3.6 with new short codes for post formats

As recently announced on the WordPress blog, WordPress 3.6 is going to have new short codes to theme the post formats.

For theme developers that means that the_content() will be supplied with functions like the_image() and the_video().

This is going to be great, because in the nightly build of WordPress the post format specific fields are prepended into the post content.

I see this as a great way of making the new features and the more approachable editor UI accessible to theme developers.

Twitter Cards Support in your WordPress Theme

What are Twitter Cards?

Twitter cards reveal more about the site you’re linking too in a tweet. They come in three flavours: summary, photo and player.

Why should I use Twitter Cards?

As shown in the picture below, you simply give your followers or your extended audience the possibility to get a preview inside what you have linked, instead of just a link to a site they may not know. Continue reading “Twitter Cards Support in your WordPress Theme”

GitLab 5.0 released with gitlab-shell

GitLab in version 5.0 has been released and I’m looking forward to have the time to upgrade my own installation and play with my fellow node and code-heads at my academy!

The most exciting thing for me to see is how well the gitolite replacement gitlab-shell simplifies installation and boosts the whole project.

Update 19. 05. 2013:
I'm writing a book on git and GitLab, read more here: Writing a book on GitLab

Update: It’s been published, take a lookt at: GitLab Repository Management!
gitlab_branch_network_graph