Firefox adds xls extension when downloading excel files from problem
My problem is this.
I have this excel report file that I crafted using PHPExcel for my php application. I don’t have any problem accessing the file from my ubuntu machine with major browsers. But from my windows box, FF will add this .xls extension on top of my file name [myreport.xlsx becomes myreport.xlsx.xls] and this would confuse windows on how to create and will finally decide to open it as binary gibberish texts.
The solution is to assign the correct MIME type for the xlsx extension. I got that gem from here
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
See how you would solve these known algorithm problems
Find the first occurence of number in the sorted arrayString Ordered Permutation Algorithm Problem
testing k complementary pairs algorithm with junit
Find K Complementary numbers from array Java implementation
Java solution for checking anagram strings – tell if phrases are anagrams
Check if there are three numbers a, b, c giving a total T from array A
Find longest palindrom from sequence of characters
Flatten nested javascript array
binary tree problems with solution
Kadane’s algorithm in C – Dynamic Programming