понедельник, 23 февраля 2015 г.

Last read book: Functional JavaScript Introducing Functional Programming with Underscore.js

During reading the documentation on underscore.js I found out the link to the book Functional javascript. For a long time I had postponed the learning of this theme and now I can fill the gap in my knowledge of functional programming and javascript techniques.

This book has positive and negative reviews, but in my opinion this book is more of a practical approach. Can I recommend to to anyone? In my opinion, yes. Of course, you cannot master the functional programming only by this book. It gives you a lot of information and directions in where to find more information.

What I like about this book is a good bibliography and a reference to useful javascript libraries.

воскресенье, 22 февраля 2015 г.

Unit testing EJB3

One thing I like EJB3 is the use of annotations. So, if you want to unit test your EJB you can use the annotations and reflective programming to mock the dependencies and inject them.

воскресенье, 15 февраля 2015 г.

суббота, 7 февраля 2015 г.

Share files on Linux through one time HTTP server

It is easy to share files files on Linux. You have a lot of options, like scp, ftp. But I've found out a very simple way - create your simple http server.

If you want to expose the directory to the internet you can start the server in your directory like the following:
python -m SimpleHTTPServer

Open up your browser on http://127.0.0.1:8000 and this is it - your directory.