2013. december 31.

Word Wrapping inside tables on Blogger

I've had a little difficulty with one of my blogs.
I wanted to do a table with 3 columns, however, whatever I set for table with or column with it did nothing to fit the table into the required space.

Here's the solution, that worked for me:
<table style="table-layout: fixed; width: 100%;">
<tbody>
<tr><td style="word-wrap: break-word;">LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord</td></tr>
</tbody></table>

2013. december 30.

DVD playback

I bought an external DVD RW today. (Samsung SE-208DB/TSBS Black)

I had to install libdvdcss to be able to playback a regular DVD Video.

And still have to use -vo gl2 to get the picture right.

Get libdvdcss
Last version of libdvdcss is 1.2.13.
Our Debian/Ubuntu repository can be accessed by adding the following content to /etc/apt/sources.list
deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /
And by running
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add -
libdvdcss is available through Git or by browsing the releases.
Go to Synaptic and browse libraries (without "verse") for libdvdcss.
Source: http://www.videolan.org/developers/libdvdcss.html

To play it with Mplayer:
For the complete list of available options, please read the man page. The syntax to play a standard DVD is as follows:
mplayer dvd:// [-dvd-device ]
Example:
mplayer dvd://1 -dvd-device /dev/hdc

my command line looked like this:
 ~$ mplayer dvd://1 -dvd-device /media/DVDMEDIA/ -vo gl2

2013. december 17.

Libreoffice Functions

date to text:

this is in A1: 04/30/13
want it to look like this: 2013-04

the function is: =YEAR(A1)&"-"&TEXT(MONTH(A1),"00")