Jūs esateStudijos KTU
Studijos KTU
Howto install OpenCV 2.3.1 on Ubuntu Linux 11.10?
I have Ubuntu Linux 11.10 OS. And I want like to use the (currently) latest version of OpenCV - 2.3.1. But Ubuntu provides only 2.1. So, I had to recompile OpenCV library by myself.
I found a good tutorial about how to do that: http://ozbots.org/opencv-installation/ - it worked.
Just one interesting note. If you have problems when compiling OpenCV and you're using 64 bit OS - add two flags when ./configure'ing x264 and ffmpeg: --enable-pic --enable-shared
Good luck ;)
How to calculate lines of code in Linux?
I have a C++ project on NetBeans IDE. I would like to count the lines of code. So, how to count the lines of code in Ubuntu Linux?
Well, you can install additional software like sloccount (sudo apt-get install sloccount): http://manpages.ubuntu.com/manpages/natty/man1/sloccount.1.html, or you can use wc command like this:
wc -l + `find . -name \* -print`
MySQL table names are case sensitive in Linux
At the moment I'm writing a small program for my master's theses. And I found one very interesting thing.
I have a table in my MySQL server called "Books" (with uppercase). And I have query: "SELECT title FROM books" (lowercase).
And my server says: can not found table "books" :) So, I renamed by table to "books" :)
Integration testing
I have to make a small speach about Integration testing on Wednesday. So, I wrote down some main points I would like to discuss. I think they might be interesting for the readers of my blog. Here are they.
MySQL InnoDB vs. MyISAM saugojimo varikliai
Vienam universiteto moduliui ruošiau pristatymą apie InnoDB vs. MyISAM MySQL saugojimo variklius (storage engine). Pagalvojau, kad tai gali būti naudinga ir mano blogo skaitytojams. Tad štai ir mano pristatymas - praktiškai paėmus, santrauka iš kelių rastų internetinių šaltinių :)
ActivityNotFoundException on Android?
I am creating a small Android client for my Master's theses. Unfortunately, I've encountered a problem: I get ActivityNotFoundException during runtime process. I just need to change the activity of my program (to show the help box). Maybe someone could give me a hint what I'm doing wrong?
My main file/activity looks like that:
64 bit MySQL C++ Connector, 64 bit MySQL Server and 64 bit Windows 7 are not compatable?
This evening I tried to connect to MySQL server from my C++ application. So, some notes about this task:
Specialiai studentams: anekdotas artėjant sesijai
Studento mąstymas apie mokslus: pirmi trys semestro mėnesiai - "ai peklon", ketvirto mėnesio pirma savaitė- "blin", antra savaitė - "uoj bl$@t", trečia savaitė - "nu bl#$@et py@&%dec", sesija - "ai dzin"...Na, man sesija jau tuoj bus ;]

