Funny stuff from programmers realm

Collection of programmer’s jokes like various bug reports or types of code, then a few comments and in the end programming languages which are at least weird. Of course you will know some or most of them but I wanted to have them here, so I don’t need to seek them.

Continue reading...

Static IP address on Virtual Machine with access to internet

Linux

Static IP address on Virtual Machine with access to internet Set up Ubuntu in Virtual machine to be accessible from your computer always under one IP address and still be able to connect to internet from the machine took me a while. Here is my procedure to acquire it.

Continue reading...

How to install Elasticsearch in Linux Ubuntu server

Linux Elasticsearch

I am currently working on three computers and it is real pain to get everything synchronized. Of course I am using git repositories and cloud but I still have to get rid of apache server, databases, etc. So I decided to create Virtual Machine which I save on USB drive and try to do it this way.

Continue reading...

Nice PHP console application

php Symfony Composer

Sometime you need to create command line interface (CLI) for your application and when you want to have it nicely formated, colorful or you want to have a table there it is not easy to do it. You can look on internet and find out, how to do such a thing, but you would have to write a lot of code.

Continue reading...

What is and how to use Composer

php Composer Example project

If you are learning PHP or you are experienced programmer you surely read the word Composer. But…what is it? What is its purpose and why should you use it? Here I want to write a few things about it and show you how to use it. PHPUnit testing framework should meet the requirements as proper and useful example. Let’s get started…

Continue reading...