This 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
Category Archives: Tools
Best programmer replies when something is wrong
- That’s weird…
- It’s never done that before.
- It worked yesterday.
- How is that possible?
- It must be a hardware problem.
- What did you type in wrong to get it crash?
- There is something funky in your data
- I haven’t touched that part in weeks!
- You must have the wrong version
- It’s just some unlucky coincidence
- I can’t test everything!
- THIS can’t be the source of THAT
- It works, but is hasn’t been tested
- Someone must have changed my code
- Did you check for a virus on your system?
- Even though it doesn’t work, how does it feel?
- You can’t use that version on your system
- Why do you want to do it that way?
- Where were you when the program blew up?
And the Number One reply by programmer when their programs don’t work:
- 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
Sometimes 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
Version 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
Ubuntu root password or sudo
After I have installed Ubuntu server I was asked to enter my user name and password so I can login after the installation is done. But I was not prompted to enter root password. By default, root can’t login to terminal in Ubuntu. 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