hello@intelligentbee.com
302-327-8314

Emulating a Redis Failover with Docker

0 Comments
Reading the Redis documentation can be a bit confusing without the hands-on experience. You could in theory create multiple processes of the Redis Server on your machine and configure each of them in part, but what if you could do it in a few commands? Not only that but...

Counting lines and words using Go

0 Comments
For those who need to count words and lines in text files, an easy approach for this matter is to use bufio.ScanWords and bufio.ScanLine in order to quickly solve the problem. To count words: ScanWords is a split function for a Scanner that returns each space-separated (checks unicode.IsSpace)...

Setup Docker Machine for Symfony Development

0 Comments
If you need a development environment for Symfony, hosted by Docker, you can use the fazy/apache-symfony docker image to start with, then extend it to your need. In your Symfony project’s folder add the Dockerfile and docker-compose.yml files. In the first one, we added mysql and composer, then we used...

What Nobody Tells You When You’re a Junior Developer

3 Comments
Hooray! You’ve landed your dream job and you can now proudly call yourself a Junior Developer. The future looks nothing but bright and your awesome life story is underway. But now the hard part actually begins. Here’s how you can stay on top of things with some useful tips I wish I knew...

Symfony2 Doctrine Migrations with Unique Indexes (Slugs)

1 Comment
This is something me and my colleagues encounter from time to time. The Problem One of the problems of adding unique indexes to existing data, like adding the sluggable Doctrine behaviour using the StofDoctrineExtensionsBundle, is that the generated migration will end up throwing an error: Causes Since the default...

© 2017 IntelligentBee. Crafted with love.