neděle 6. září 2009

How to burn a DVD in Ubuntu from command line

Go to the directory you want to burn in the root of your DVD and:


growisofs -dvd-compat -input-charset=ISO-8859-1 -Z /dev/dvd -R -J -pad .

Really useful when CD+DVD creator stops working.

How do you handle entity statuses?

As part of what I am developing now, I needed to handle different entities' statuses. Although developing for decades, I was yet tempted a little bit to use a boolean. Fortunately ;-) found a great status patter description with explanations!