by Andreas Katzian | Feb 12, 2019 | Code
GitLab CI is a great way to automate testing, building and deploying of almost any application. Recently we came across the requirement to setup a repository with several definitions of Docker container images. For sure we wanted to use GitLab CI to also automate the...
by Andreas Katzian | Aug 19, 2017 | Code
Using page specific action cable functionality within ruby on rails comes in very handy sometimes. It allows you to target given functionality to specific pages and controllers. Furthermore, it reduces the number of open web sockets, which again reduces your server...
by Andreas Katzian | Jun 21, 2016 | Code
Often you want to format your number inputs in a pretty and proper way for your users. Using Bootstrap and SimpleForm within your Rails application is a good way to start, but how will you deal with number formatting within your input field for decimal and thousands...
by Andreas Katzian | Jun 29, 2015 | Code, Process
Got a bad rating on your website site speed (e.g. from Google PageSpeed Insights)? Did you observe the advise “Properly formatting and compressing images can save many bytes of data”? Don’t panic, here you’ll find a handy solution to optimize...
by Andreas Katzian | Feb 17, 2015 | Code
Sometimes you simply want to set some default values for an associated model within ActiveRecord without thinking too much of creating possible side effects when overriding methods like build_association or add model callbacks. The following example demonstrates the...
by Andreas Katzian | Nov 8, 2014 | Code, Process
Whether you want to create a new HealthKit-enabled app or update your existing fitness or health app, this tutorial shows you how to easily integrate the new HealthKit API. This allows you to use all benefits of the iOS Health app, including storing your health and...
by Andreas Katzian | Nov 4, 2014 | Code
Today I gonna show you how you can easily animate your UITableViewCells with UIKit and QuartzCore out of the box functionality. This allows you to create smooth animation during state changes like adding or deleting some rows or sections of your table view....
by Andreas Katzian | Oct 28, 2014 | Code
After removing CCActionOrbitCamera from the Cocos2D framework our flip animation within on of our games did no longer work. We used it to simply flip cards with a nice visual effect. After searching for another approach for a while, we thankfully found something easy...
by Andreas Katzian | Sep 17, 2014 | Code, Process
So you finished and polished your game for iOS by using Cocos2D and SpriteBuilder? Wouldn’t it be nice to publish your game on the Mac AppStore too? These tools and frameworks make it really simple to accomplish this project successfully. However, there are some...
by Andreas Katzian | Aug 20, 2014 | Code, Process
Often games need something like a pause scene to pause the current game and to provide further options like quitting or restarting the current game. So as you may think this isn’t a big deal, right? Well the simples approach may be the following: 1) Create the...