Safari on iOS 5 Randomly Switches Images
Since the release of iOS 5 we’ve received several bug reports about images randomly displaying the wrong image(s) on our front page for smartphones. It seems to be completely random and could affect...
View ArticleSafari on iOS 5 Randomly Switches Images, Part 2
This post is a follow-up to Safari on iOS 5 randomly switches images. In our case almost all of the images on the front page has unique height * width combinations. Since our CMS sets the image size...
View ArticleSafari on iOS 5 Randomly Switches Images, Part 3
We are still digging deeper into the imagebug problem we’ve mentioned in part 1 and part 2. We’ve not been able to create a synthetic setup that triggers the bug, but managed to automate, identify,...
View ArticleGetting Bash Completion for Remote Subversion Paths
Do you want automatic completion for remote paths when using svn in bash? Do you want to switch easier between branches? I’ve written a small script that gives you autocompletion for all remote paths....
View ArticleLogging the correct IP address using Apache 2.2.x
Here at VG we have loadbalancers and proxies in front of most of our webservers. This is key to being able to handle the big amounts of traffic we get. One problem that arise when traffic is being...
View ArticleAvoid Dependency on 3rd Party Sources With Composer
Composer is the defacto standard dependency manager for PHP out there, also here in VG. We use it for not only our internal packages, but for all external packages like ZF2, Symfony, PHPUnit, etc. For...
View ArticleHow to make Ubuntu play nice with VMware
Here at VG a large amount of our services are deployed on virtualized servers in our VMware cluster. A majority of these servers are running CentOS, but from time to time there is a need for other...
View ArticleVarnish + HTTP Cache: An intro guide for web developers – Part 1
Varnish, the web application accelerator: Varnish development was initiated as a project within VG as a direct response to increasing demand hitting our servers hard. Existing caching systems were...
View ArticleVarnish + requests with no Content-Length header
HTTP 1.1 introduced the concept of chunked transfer encoding. This (among other things) enables us to send a request without knowing how large the content is going to be at the time we start the...
View ArticleBuilding your own PaaS
In this series, I’ll go through installing, using and extending Openshift Origin, a Platform as a Service (PaaS), developed by RedHat. Check it out at https://github.com/openshift What is Openshift? In...
View ArticleOpenVPN configuration files + Ubuntu’s network manager
OpenVPN has feature that exports client configuration files. While it is definitely possible to run OpenVPN from the command line, I prefer to have a GUI that allows me to easily connect/disconnect...
View ArticleDeploying apps in openshift
After you’ve set up openshift with a node or two, deploying an application is as easy as it gets. You can do lots of stuff in the broker console, but rhc is the way to go: rhc is a rubygem installed...
View ArticleNode and systemd, bff!
Since Centos7 was released in July, a “nondesktop” distro(other than rhel7 ofc) is using systemd. Like it, hate it or discuss it, systemd is here to stay. As we have been discussing internally how to...
View Article