Test driven development in ABAP – Unit test classes

Test Driven Development using ABAP UnitThis article provides info about creation an ABAP unit test class that might significantly reduce the future maintenance cost at the testing level. The flow is simple – you design your functional tests in advance and then you create your code. You can run the test class repeatedly to tell you which tests still didn’t pass. Continue reading

Best programmer replies when something is wrong

  1. That’s weird…
  2. It’s never done that before.
  3. It worked yesterday.
  4. How is that possible?
  5. It must be a hardware problem.
  6. What did you type in wrong to get it crash?
  7. There is something funky in your data
  8. I haven’t touched that part in weeks!
  9. You must have the wrong version
  10. It’s just some unlucky coincidence
  11. I can’t test everything!
  12. THIS can’t be the source of THAT
  13. It works, but is hasn’t been tested
  14. Someone must have changed my code
  15. Did you check for a virus on your system?
  16. Even though it doesn’t work, how does it feel?
  17. You can’t use that version on your system
  18. Why do you want to do it that way?
  19. Where were you when the program blew up?

And the Number One reply by programmer when their programs don’t work:

  1. It works on my machine

How to Add Swap on Ubuntu

Linux RAM is composed of chunks of memory called pages. To free up pages of RAM, a “linux swap” can occur and a page of memory is copied from the RAM to preconfigured space on the hard disk. Linux swaps allow a system to harness more memory than was originally physically available.

However, swapping does have disadvantages. Because hard disks have a much slower memory than RAM, virtual private server performance may slow down considerably. Additionally, swap thrashing can begin to take place if the system gets swamped from too many files being swapped in and out. Continue reading

MySQL Master Slave replication

MySQLSometimes it might be usefull or even needed to replicate data from one place to another. If you have data you want to replicate in MySQL database, you are lucky, because replication is integrated in MySQL by default and you just have to set it up. Continue reading

Install Subversion and WebSvn on Ubuntu Server

UbuntuVersion control of your documents and code should be one of your first and major TO-DOs if you intend to develop application or website and you plan to maintain it during time with possibility to view changes made during it’s life cycle. Continue reading

How to Create a SSL Certificate on Apache for Ubuntu 12.04

About Self-Signed Certificates


A SSL certificate is a way to encrypt a site’s information and create a more secure connection. Additionally, the certificate can show the virtual private server’s identification information to site visitors. Certificate Authorities can issue SSL certificates that verify the server’s details while a self-signed certificate has no 3rd party corroboration. Continue reading

Ruby on Rails on Ubuntu 12.04 LTS

About Ruby on Rails


Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications.

Ruby on Rails does take a little while to install on a virtual server, but luckily there are a lot of helpful tools to make this process as easy as possible. Continue reading

How to Install and Configure Dropbox on Ubuntu Server 12.04

Dropbox is the best free cloud service and extremely easy-to-use tool for sharing files and syncing them between computers, and you can also use Dropbox to back up files and access them from other computers and devices (including from your Android Smartphone, android tablets and iPad or iPhone, with dedicated Client apps for each of those devices). How to make dropbox features and services available on ubuntu server?

in this post I would like to show you step by step How to Install Dropbox on Ubuntu Server 12.04 and Sync up to your Dropbox Account. Lets start it. Continue reading

How to subdomains on Apache with mod_rewrite

Because I like to play with a lot of projects and code, I create subdomains for oprsteny.cz for almost every project. Instead of going through the hassle of creating a CNAME or A record for every subdomain, creating an Apache vhost file and enabling it and creating the necessary directory structure, I figured there’s an easier way to do so. Continue reading