Friday, March 23, 2012

Changing the look of GTK (useful for eclipse)

Hello!
Today I was looking for the way that could change the view for my eclipse, so I found the post that contain the configuration for gtk look. So it was saying to put the following content to the .gtkrc-2.0 file in home location

style "gtkcompact" {
font_name="Sans 8"
GtkButton::default_border={0,0,0,0}
GtkButton::default_outside_border={0,0,0,0}
GtkButtonBox::child_min_width=0
GtkButtonBox::child_min_heigth=0
GtkButtonBox::child_internal_pad_x=0
GtkButtonBox::child_internal_pad_y=0
GtkMenu::vertical-padding=1
GtkMenuBar::internal_padding=0
GtkMenuItem::horizontal_padding=4
GtkToolbar::internal-padding=0
GtkToolbar::space-size=0
GtkOptionMenu::indicator_size=0
GtkOptionMenu::indicator_spacing=0
GtkPaned::handle_size=4
GtkRange::trough_border=0
GtkRange::stepper_spacing=0
GtkScale::value_spacing=0
GtkScrolledWindow::scrollbar_spacing=0
GtkExpander::expander_size=10
GtkExpander::expander_spacing=0
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::expander-size=8
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focus_padding=0
}
class "GtkWidget" style "gtkcompact"

style "gtkcompactextra" {
xthickness=0
ythickness=0
}
class "GtkButton" style "gtkcompactextra"
class "GtkToolbar" style "gtkcompactextra"
class "GtkPaned" style "gtkcompactextra"

And to install liberation font

Monday, March 19, 2012

Prague Life: Looking for an employer

Ahoy! In all my posts which will begin with title "Prague Life", I will try to tell you about my life in Prague. In Prague I have arrived yesterday, but to be able to come here, I had a long way.

So, all began with looking for an employer.

In this task I don't use the famous searcher "Google", but I want to find the Czech web sites where job offers are posted. I don't know why, but I tried to open the website "czech.cz". This site is the official web site of the Czech Republic.

When I have opened the website, I was amazed of it design and simplicity. It doesn't take me too much time to find the information about the work in Czech Republic, there is a menu section "Life&Work". Look around, it is pretty easy there, and you will get mostly all the information that you need.

By me, the most important website for foreigner to find the work is "http://portal.mpsv.cz/sz/zahr_zam/prociz/vmciz", this is website of The Ministry of Labour and Social Affairs. Here I have found my current employer in Czech Republic.

So I have send my CV to few companies then wait ...

Tuesday, March 6, 2012

Solving "Plugin execution not covered by lifecycle configuration"

This problem appear because new of handling plugin execution was introduces, to increase the performance and etc. Because of this you should add at plugins section of pom.xml file the following plugin:

 <plugin>  
   <groupId>org.eclipse.m2e</groupId>  
   <artifactId>lifecycle-mapping</artifactId>  
   <version>1.0.0</version>  
   <configuration>  
     <lifecycleMappingMetadata>  
       <pluginExecutions>  
         <pluginExecution>  
           <pluginExecutionFilter>  
             <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>  
             <artifactId>maven-svn-revision-number-plugin</artifactId>  
             <versionRange>1.6</versionRange>  
             <goals>  
               <goal>revision</goal>  
             </goals>  
           </pluginExecutionFilter>  
           <action>  
             <ignore />  
           </action>  
         </pluginExecution>  
       </pluginExecutions>  
     </lifecycleMappingMetadata>  
   </configuration>  
 </plugin>  


From the configuration of the plugin which generate conflict, remove the section execution.