Fixing Error of Metronic Theme PagedList component


Metronic Theme have PagedList component which provide users prepare paged list quickly. However, it have a issue: When user clicks the number of active page link number page thwors error. Because link of active page misdefined. To fix this I’ve prepared a jquery patch. $(document).ready(function () { //fixing pagedlist bug-patch s.atan $(“.pagination > .active >…

Human Friendly ASP.MVC Serie


As a veteran Python programmer, I am used to coding in the clear and lazy way because Python has not red tape and fantastic overwhelming details. Nowadays I have to code with ASP.MVC 5 with Razor, however.  Gradually, I am coding and learning.  First and foremost attribute of I’ve noticed is ASP.MVC requires a lot of red…

Google Spreadsheet Query Function Makes your Spreadsheets DB which SQL-ready


When you want to make complex queries over Excel sheet that is almost impossible. Yet by Google Docs Spreadsheet Query() function you  can write SQL and retrieve whatever you want. For instance: =query(A2:I1000;“select sum(H)  WHERE D=‘mrkt’”)  Gets only expenditures which about ‘mrkt’ (market) from A2:ı10000 TABLE then gets sum. When you write function by this way,…

Interpreting Linear Model(lm) in R


In R as you know, when it have been written: summary(lm(x~y)), the command gives  a lot of different ‘mystic’ values. I have found a good manual for interpreting the result. It is here Besides, do not forget lm command is relevant with “regression” model. If you want to compute the simple correlation between two parameter use cor(x,y)…

Connect to Java Libraries and call native Java functions from R


R provides very interesting and useful properties for its users. Sometimes you couldn’t find the required library in R libraries like me. For “Natural Language Processing” library in Turkish there is no library in R. Yet I have found a Java Library to be able to do my task. Initially, I have confused then if…

Set operations with CRAN-R


A discovered life-saving library for computing set theory relevant issues. Name of library is set. Here is simple definition and using cartesian function: library(sets) a=set(“x”,“y”,“z”) b=set(“y,q”) set_cartesian(a,a)

Check a word documents for a multiple keywords sequentially in a smart way


Let’s consider your boss requested check documents more than 100+ item is include key word like “draft” and “temporary” etc. Doing this manually is exhausitive work. But there are another method for smart workers:) which avoids iterative tasks. Here in how: Sub Makro1()’’ Makro1 Makro’    Selection.Find.ClearFormatting    With Selection.Find        .Text = “Draft”  …