How to set up SSL certificate for Nginx Docker container

July 28, 2019, 4:45 p.m.

I have been using Docker for past few years as a dev environment. It's easy to set up, run and maintain. Recently I decided to containerise one of my projects and check if running docker on production would be as easy as running it locally.

Read more »

web-to-slack - realtime chat for your website that talks to Slack

July 6, 2019, 10:09 a.m.

Web-to-slack was created "by mistake". I was looking for a comments system I could use on my blog. All of the sudden I though "hey, maybe I could use Slack for this?". Well, I could but it wasn't the best option. I was left with some code and vague idea for it. This is how web-to-slack was born.

Read more »

Vagrant and load balancing

July 4, 2019, 9:31 p.m.

Have you ever needed load balancing on your local dev environment? I have. And luckily for me it was much easier to create than I expected.

Read more »

OAuth authentication without a browser

July 4, 2019, 9:29 p.m.

For some time now I've been struggling with an OAuth authorisation. Every time I wanted to build console app that uses service secured be OAuth I had the same problem - how to provide user name and password without a browser. After some research I came up with an idea - I can use headless browser and Selenium to interact with it.

Read more »

Private Composer packages with Satis

July 4, 2019, 9:26 p.m.

One of the greatest additions to PHP environment is Composer. Together with provides enormous amount of packages for every PHP developer. I know, PHP had package manager before it was cool (I'm talking about you PEAR) but Composer was something everyone was waiting for.

Read more »

Learning Docker

July 4, 2019, 9:21 p.m.

Ever since I started building websites I always used some kind of AMP stack. As my skills grew my stack was growing with it. First problems occurred when we had two major versions of PHP out in the wild - 4 and 5. After a while problems were piling up as I was adding Redis, Mongo, APC, Memcached, Elasticsearch and other popular tools to my stack.

Read more »

Configure your new Raspberry Pi in headless mode using macOS

July 4, 2019, 9:20 p.m.

You got your fresh Raspberry Pi but you lack external keyboard, mouse and monitor? Don't worry there an easy way to configure your pretty microcomputer. All you need is a little patience and some beer.

Read more »

How to kill your productivity in three simple steps

July 4, 2019, 9:18 p.m.

Imagine you are a developer working on some ultra important project and your deadline is just around the corner. You need to focus but you can't. How's that? Is there not enough coffee in your blood? Or maybe it's just lack of sleep kicking in? No, it's three most common mistakes you make.

Read more »

Project management for developers

July 4, 2019, 9:17 p.m.

When you are young developer and all you do is writing code, handling projects may be overwhelming. You need to analyse project, create tasks, choose technology, plan your schedule, and so on. I've been there and after many different projects I have created small list used every time I'm working on a new project.

Read more »

Turn any PHP class into cli application

July 4, 2019, 9:15 p.m.

How to turn any PHP class into cli commands without writing a line of code? Use cli-maker and you won't have to write any additional code, just simple config array.

Read more »