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 »

Blade Builder - static site generator

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

Why another static site generator? Because why not. If it's good it should be out there helping others with their static sites. Fun fact about Blade Builder - it was designed as simple tool for frontend developers working with Laravel.

Read more »

The magic you can do with CSS, checkbox and radio button

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

Back in the days styling checkboxes and radio buttons was a traumatic experience. Every time I saw design with cute, colourful checkboxes I knew it will be a pain in the… lower back. Fortunately since IE9 we can use :checked pseudo-class to play with checkboxes and radio buttons.

Read more »

How to make a CSS chevron

June 29, 2019, 12:41 p.m.

Chevron is quite popular visual element used in all sort of sliders and buttons. The most popular way to implement chevron is to use font like Font Awesome or Glyphicons. The downside is that we have to settle with a given shape. If we need to use custom chevron our last resort is an old school png file.

Read more »

Hello World... again

June 29, 2019, 12:37 p.m.

Hello World! is a blog I started 8 years ago. At first it was a place where I was storing knowledge I needed but it didn't took long to realise that this small blog is gaining relatively large audience. So I started to write about everything I found interesting. Occasionally I wrote a piece of crap but in the end I don't regret anything I wrote here.

Read more »