Blog of Ferenc Züllich
Welcome to my blog! Here I share my thoughts and ideas with the world.
Recently I started development on a new app to plan my meals. I wanted to make use of the rich collection of recipes I have accumlated on Pinterest. Thankfully there is an API that allows me to access my public pins. Unfortunately I was required to configure my application to use spring-security-oauth which is not so easy. Here I’d like to share my OAuth2 configuration for Pinterest with you, especially one problem that took me a while to figure out. I assume that you are familiar with the official OAuth2 standard (read it, its not that bad and really helpful) and have a general idea about Spring Boot.
While working with mapped associations in Doctrine I came upon the problem of serializing proxies. Imagine you have a REST service that returns some objects with an associated collection. E.g. a list of dishes that have a list of ingredients associated.
This weekend I ran into a problem which took me way too long to fix. I was missing a mapped column in my database. Unfortunately Doctrine didn’t want to update my schema according to the entities, even though all the annotations were present. After using the Google search without success I was about to check-in on IRC when I noticed the problem.
Tags: Symfony
Published: 13 Mar 2016
In this post I’m going to explain how to inject a specific entity repository into a controller defined as a service. We assume that you already created a Doctrine entity and a repository (we are calling it MyEntity here).
Just recently my mobile data connection was throttled and I was faced with uber-slow download rates. As a consequence it is almost impossible to check links shared by my friends. But I am a friend of performance and a small footprint. So I took this opportunity to check my site. Here is how I improved the performance of my site.
If you are opening pull requests for other projects it might happen that you are asked to reduce the amount of commits of your pull request in order to refine the history of your contribution. That usually means that you squash together existing commits and you might even change some commit messages to be more meaningful or precise. That kind of workflow is supported by git rebase
.
Recently I tried to contribute to the Robotframework project on Github. Specifically to their project RIDE which is a IDE to write Robotframework-style tests. For the development I wanted to use a virtual environment using virtualenv. Unfortunately it is not possible to install the required version wxPython 2.8.12.1 via pip or easy_install. Instead you either have to build it from source or using your own os’ package manager.