Author Archives: Stefan Senk

Vertically aligning HTML

Vertically centering HTML always seems more difficult than one would expect given how easy it is to horizontally centre text. It would follow that with vertical-align: middle; vertical alignment would be just as easy via CSS. Alas, centring vertically invariably … Continue reading

One way to do it? (Ruby vs Python)

Following on from my blog post about some of the differences I thought were important between Ruby and Python (senktec.com/2013/06/ruby-vs-python/), one of the things often cited as a difference between the two programming languages is that Python strives for one … Continue reading

Twitter Cards

Twitter Cards are meta data added to webpage that tell Twitter information about the page’s content. Twitter uses this information when a Tweet links to your page, which enriches the tweet. The information is typically shown when the user clicks … Continue reading

Customising WordPress Themes and Plugins

WordPress is a great platform to use as a CMS (Content Management Scheme) for driving a website. It comes with great built-in functionality and many free and paid-for plugins and themes. Advanced features can be included very easily and quickly by both programmers … Continue reading

Spree Admin Bar

We’ve been using the Spree open source e-commerce framework on a website, and found that the owners would often be browsing the shop front-end and spot something that required a quick content change. However, it was not that straightforward to navigate to … Continue reading

Spree Commerce Blog Plugin

A online shop recently wanted me to build a blogging solution for their Spree website. Spree in an open source e-commerce framework written in Ruby-on-Rails. We didn’t need advanced functionality for the blog, just some posts with HTML content and … Continue reading

Ruby vs Python

Ruby and Python are similar programming languages in that they use much of the same syntax, runtime speed, they both come with large standard libraries to do most common tasks, and are generally suited to solving similar kinds of problems. However, people often strongly … Continue reading

Google Authorship

People’s faces have been appearing more and more in Google search results, looking something like this: This comes about by people claiming authorship of their own pages and linking them to their Google Plus accounts. There are lots of reasons why … Continue reading

Using fonts on the web

The fonts available when a web page is rendered in a web browser depend on which fonts are installed on the user’s system. While a user can install more fonts, it is the fonts that come as default for an … Continue reading

Dnsmasq (no editing /etc/hosts)

I’ve played around bit recently with Pow (http://pow.cx/) on Mac OS for running Ruby development sites. One of the nice things it does is automatically handle resolving requests to the dev site. For example, requests to http://mysite.dev/ will automatically be handled by the localhost, … Continue reading

This site uses cookies. Find out more about cookies.