Let me bring you into my world

You’d wonder what can keep somebody working in an office, at a desk, and talk with different people from all over the world every day, some of them angry and anxious, others frustrated or just annoyed because of the color of a button. The answer is that it’s just...

Emulating a Redis Failover with Docker

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...

should your online business use API?

Why Should Your Online Business Offer API

There are several ways to extend a business model but API is a hot topic right now as the online world is expanding very fast. If you’re a developer or at least interacted with APIs before, you probably know why public APIs are so important, but there’s a big...

Better is possible and real

We all wish, hope and want for good things to happen as often as possible in our life. Even from the beginning, we are all trying to be good kids, then, as teenagers to get good grades, as young people to graduate a good college, as adults to have...

Counting lines and words using Go

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

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...

Go debugging

Debugging Golang apps in Docker with Visual Studio Code

Context We’ve recently had some problems with a Go application that was running inside a Docker container in a very big Docker Compose setup. After getting fed up with writing console prints and rebuilding the Docker image for that container and spinning up all the containers to debug things,...

ruby useful gems

Start writing tests in Ruby: useful gems

Being a QA engineer is a continuous struggle in finding the right resources in order to get the job done easier and more efficiently. If you are planning to write automated tests in RSpec (Ruby’s testing framework), then you should take a look over these gems. Please notice that I am most...

testing and fixtures

Setup Testing and Fixtures in Symfony2: The Easy Way

1 Comment
Setting up testing and fixtures in Symfony2 is vital if you plan on starting Test Driven Development or you simply want to start covering your code with properly written tests that can access mock data.   1. Install PHPUnit and php 5.6 The first thing you need to do is...

Building a Face Detection Web API in Node.js

Introduction As a follow-up to my previous article on how to use your webcam for face detection with OpenCV, I’d like to show you how you can create your own web API for that. There are a few Node.js modules out there that do just that. A few of...
© 2017 IntelligentBee. Crafted with love.