not idle

Archive for the 'tutorial' Category

Screencast android screen

Tuesday, November 5th, 2013

Here is everything you need to know about how to create a screencast of your android device. First, download droid@screen JAR from here. Follow the instructions from the page and run the droidAtScreen: $ java -jar droidAtScreen-1.0.2.jar Then, follow the instructions I had already written about. Cheers, A.

Read the rest of this entry »

Starting up with upstart

Tuesday, July 3rd, 2012

You may not care much for the recent way that Debians handles services: upstart. It seems easy enough to create new services, so here’s a quick overview.

Read the rest of this entry »

My capybaras are too many

Friday, February 24th, 2012

Cucumber and Capybara, exploiting the Selenium driver, is a powerful combination for running automated tests of the web GUI. Most of the tutorials out there show how simple it is to create a session and use it for testing AJAX-based web sites. What they fail to show is that in a serious test, there are [...]

Read the rest of this entry »

Testing old web pages with new tools

Monday, December 5th, 2011

Recently I discovered a great tool for doing acceptance and unit tests of the web interfaces named Capybara. It works nicely as a back-end to Cucumber / Gherkin, but it is possible, if need be, to be used stand-alone. My goal was to validate an old page we’d created using ASPX.Net  One thing, though, some [...]

Read the rest of this entry »

Vagrant set up, Part 1

Monday, January 24th, 2011

This tutorial is based on original tutorial from Vagrant project including solved problems we came across while testing Vagrant. Vagrant gives you the tools to build a development environment once and then easily distribute it to new members of your development team so you can get them to work and saving time, money and frustration.  [...]

Read the rest of this entry »

Maildrop & .mailfilter resending

Tuesday, July 21st, 2009

Spending long unnecessary time on the web searching for solution, how to resend or forward an email by maildrop in delivery mode, I finally found a solution, which is now shared with you… if(/^To: blue@bla.com/) { xfilter “/usr/bin/reformail -I’Reply-To: blu@bla.com’” cc ‘!test@bla.com’ to “$HOME/Maildir” } This sample will do the following: for each mail send [...]

Read the rest of this entry »

Nokia E71

Sunday, May 24th, 2009

The Nokia e71 is one of the best phones on the market. In the 2008 it was announced for the best phone. It’s good features are small and robust shape, querty keyboard, powerfull battery and nice look. So let’s see some detailed features… Outlook & typing It’s nice and slim. Dimensions are perfect to hold [...]

Read the rest of this entry »

Linux speed up

Thursday, November 6th, 2008

There has been an interesting discussion in the kernel mailing list on a subject that even though is not new, it never hit the masses because of ignorance and misjudgment. After all, anyone setting up a Linux server probably already makes use of the noatime fstab option whenever possible. atime is the culprit of writing [...]

Read the rest of this entry »

Writing custom Python metric modules for Ganglia

Wednesday, October 29th, 2008

First you have to make sure Python development package is installed on your system # apt-get install python2.5-dev I recommend adding –with-python=PATH parameter to the configure script when building Ganglia # ./configure –with-python=/usr/bin/python2.5 To write a Python module you have to follow a template (sample below) and put the resulting Python module (.py) in ganglia/python_modules. [...]

Read the rest of this entry »

Private