Coderify

Thoughts, stories and ideas.

Rails

Setting up Rails and Postgresql with Docker

More and more companies switch to using Docker in the development process. The easiness to set up the whole environment is really astonishing. That’s why I wanted to give you a quick

  • Bartek Glowacki
    Bartek Glowacki
3 min read
Rails

Docker for Rails Development

First let’s create new Rails project. I’ll call it hello_docker. Inside the project directory create a Dockerfile file. This file will include all the instructions for Docker on how to

  • Bartek Glowacki
    Bartek Glowacki
2 min read
ruby

Testing app for limited database connection

Recently I was developing a Ruby app where I introduced a nasty bug. Each time someone made a request a new database connection was created and after some time the app crashed because

  • Bartek Glowacki
    Bartek Glowacki
1 min read
elasticsearch

Autocomplete in ElasticSearch - array aggregations

...create an autocomplete functionality to give some suggestions to the user of how the phrase they typed could be completed. I used aggregations available through Elasticsearch API for that purpose. Aggregations are *keys* describing a set of documents that belong to that *key*...

  • Bartek Glowacki
    Bartek Glowacki
5 min read
pentesting

Learning Terminal Like a Hacker

It revolves around simple tasks — mostly connected with using terminal tools like grep, find, cat, ls — all the basic terminal utils. There are 27 levels. Each level has a set of instructions and a direction where too look. The purpose of each task is to find the password to the next level.

  • Bartek Glowacki
    Bartek Glowacki
1 min read
Coderify © 2019
Latest Posts Ghost