Recently, I have faced the problem of the rear derailleur capacity in my bike. It’s important if we want make changes with cassette or chainset. Lucky, this issue isn’t complicated and can be described in few simple words and only one pattern to calulcate everyting important.
PHP-FPM – ondemand spawner mode
In the old, polish version of this blog, there are several posts about nginx server and PHP configuration. These entries are outdated now, but I will be writing them again in english soon. Meanwhile, today I would like to briefly share information on the ondemand mode in PHP-FPM. I have to used it and think it’s the best solution for most configurations.
Stop procrastination with StayFocusd
Concentration is not an easy art and sometimes causes a lot of problems. This is especially noticeable visible during remote work, where we decide what and when we do it. Sometimes work is big and we looking for… something else. One moment on Facebook, one moment on YouTube, maybe we check news on Twitter and buy something on eBay? Yes, we know that – it’s a problem of procrastination. We can do anything, but not what we should. How can we deal with it? There is one, nice extension for browser called StayFocusd. And it works.
Aerobars – should I buy it?
If you cycling, or only watch something about cycling in TV or over Internet, you should know aerobars – „strange” extension for road bike handlebar, or standard element of time trial bicycles. Is it worth buying something like that? I decided to check it out and bought XLC HB-T03 Tri-Bar aerobars.
Zend Framework – create custom view helper
Zend Framework is not as popular as Symfony, but it’s also nice and have a lot of nice features. One of them is view helpers – classes and objects which we can use in templates to make specific thinks. Zend has few build-in helpers, for example to use absolute app directory, set or receive HTML doctype, use partials templates or use authentication data. Sometimes we can (or maybe should) create our view helper to avoid repetition of the code. It’s simple, let’s try.
Continue reading “Zend Framework – create custom view helper”