Posts

Showing posts with the label can

Some browsers can open and view PDF file directly within the browser itself

Some browsers can open and view PDF file directly within the browser itself Internal PDF viewer, open PDF in a new tab in browser. So that PDF reader software is not necessary for open PDF file from internet. I tested Chrome 27.0 and Firefox 26.0 can open PDF file within the browser itself. Older browsers may not support open PDF within the browser itself, e.g. Firefox 3.6 download file now

Sometimes code can be pretty and worthless

Sometimes code can be pretty and worthless public static boolean permutation(List values, int index) {         return permutation(values, values.size(), index);     }     private static boolean permutation(List values, int n, int index) {         if ((index == 0) || (n == 0))  return (index == 0);         Collections.swap(values, n, n-(index % n));         return permutation(values,n-1,index/n);     } It finds an indexed permutation for the list. So each permutation index will give a new permutation... at least until you run out of integers which is at about 12 items. download file now