Ctrl + Alt + L
Wednesday, 19 November 2014
Tuesday, 18 November 2014
Firefox 31+ crashes in centos 6.4/6+
After updating firefox on Centos 6.4 it started showing the following error and would not start firefox.
The issue was resolved after installing
Still if you get the following error:
Then update gtk and libX11, in my case gtk was already updated to the latest version so, just updated the libX11 and it worked
$ firefox\n /usr/lib64/firefox/firefox: symbol lookup error: /usr/lib64/firefox/libxul.so: undefined symbol: gdk_window_get_visual
The issue was resolved after installing
$ sudo yum list gdk-pixbuf2
Still if you get the following error:
/usr/lib64/firefox/firefox: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest
Then update gtk and libX11, in my case gtk was already updated to the latest version so, just updated the libX11 and it worked
$ sudo yum update libX11
Tuesday, 11 November 2014
R snippet to remove quotes from a data frame
as.data.frame(sapply(dataFrameName, function(x) gsub("\"", "", x)))
Thursday, 23 October 2014
Eclipse keyboard shortcuts
1. Convert all letters to capitalcase -
Ctrl + Shift + X2. Convert all letters to lowercase -
Ctrl + Shift + Y
Friday, 17 October 2014
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
Get
rid of any servletcontainer-specific libraries such as jsp-api.jar in
your /WEB-INF/lib folder. This exception indicates that you've put
servletcontainer-specific libraries of a container which supports only
Servlet 2.4 / JSP 2.0 or older in there (the getJspApplicationContext()
method was introduced in Servlet 2.5 / JSP 2.1). This is a major
mistake. Those libraries don't belong in the webapp's classpath.
Perhaps you did this to overcome project compilation errors, which is indeed a pretty common beginner's mistake. This should have been solved differently, you should refer the target runtime in your project, not copy some libraries of an arbitraty servletcontainer make/version into your project. It would make your project incompatible with servletcontainers of a different make and/or version.
Perhaps you did this to overcome project compilation errors, which is indeed a pretty common beginner's mistake. This should have been solved differently, you should refer the target runtime in your project, not copy some libraries of an arbitraty servletcontainer make/version into your project. It would make your project incompatible with servletcontainers of a different make and/or version.
Monday, 6 October 2014
Logging not working in spring mvc webapp project
Add the log4j.properties or the log4j.xml to a folder named classes inside web-inf folder
Tuesday, 29 July 2014
Using Mahout Mapreduce
hadoop jar /home/Jijo/Mahout/mahout-distribution-0.9/mahout-core-0.9-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -Dmapred.input.dir=/jijo/mahout/links-simple-sorted.txt -Dmapred.output.dir=/jijo/mahout/output --numRecommendations 5 –b true -s SIMILARITY_TANIMOTOCOEFFICIENT
Subscribe to:
Posts (Atom)