An easy way to convert json into csv

Thu 05 March 2020

I was asked recently to export data from a service that's going offline soon. It wouldn't be an interesting topic to write about but there was a catch. Exported data are in json format, and I was asked to provide csv files. When I started with data export I noticed …

Read more »

New hosting

Wed 04 March 2020

Past few months were really busy for me. Long story short I became devops engineer trainee, and most of my free time I spent reading about new stuff and improving in areas I was already was familiar with. This plus my need to move blog to different hosting caused I …

Read more »

How to set up SSL certificate for Nginx Docker container

Sun 28 July 2019

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.

One major difference was the …

Read more »

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

Tue 09 July 2019

Web-to-slack was created "by mistake". I was looking for comments system I could use on my blog. All of a 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 …

Read more »

Vagrant and load balancing

Mon 08 July 2019

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.

Long story short, I needed to check if web app I was working on can work on multiple web nodes. For this particular project …

Read more »

OAuth authentication without a browser

Sun 07 July 2019

For some time now I've been struggling with an OAuth authorisation. Every time I wanted to build console app that uses service secured with 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 …

Read more »

Private Composer packages with Satis

Sat 06 July 2019

One of the greatest additions to PHP environment is Composer. Together with packagist.org 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.

Despite all positives, composer …

Read more »

Configure your new Raspberry Pi in headless mode using macOS

Thu 04 July 2019

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

First step of configuring Raspberry Pi supposedly should be the hardest. You need to …

Read more »

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

Thu 04 July 2019

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 ass. Fortunately since IE9 we can use :checked pseudo-class to play with checkboxes and radio buttons.

Custom checkbox/radio …

Read more »

How to make a CSS chevron

Sun 30 June 2019

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 a custom chevron …

Read more »