Monthly Archives: August 2014

Combo with minimum price

Given a list of combo items along with their price and the list of items to purchase, determine the optimal combination. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; namespace ConsoleApplication1 { … Continue reading

Posted in Business, Information Technology | Leave a comment

Yoga for healthy eyes

Posted in Health and wellness | Leave a comment

HtmlUnit mouseOver() method

import com.gargoylesoftware.htmlunit.*; import com.gargoylesoftware.htmlunit.html.*; import java.io.File; public class HtmlUnitDemo { /** * @param args */ static final WebClient browser; static { browser = new WebClient(BrowserVersion.INTERNET_EXPLORER_11); browser.getOptions().setJavaScriptEnabled(true); browser.getOptions().setRedirectEnabled(true); browser.setAjaxController(new NicelyResynchronizingAjaxController()); browser.getOptions().setThrowExceptionOnFailingStatusCode(false); } public static void main(String[] args) { HtmlPage currentPage = … Continue reading

Posted in Information Technology | Leave a comment

GanttProject: Free Project Scheduling and Management App

http://www.ganttproject.biz

Posted in Business, Information Technology | Leave a comment

Reading data from excel using C#

using System; using System.Collections.Generic; using System.Linq; using System.Text; using Excel = Microsoft.Office.Interop.Excel; using System.Text.RegularExpressions; namespace ExcelReader { class Program { static void Main(string[] args) { Excel.Application xlApp; Excel.Workbook xlWorkBook; Excel.Worksheet xlWorkSheet; Excel.Range range; int rCnt = 0; int cCnt = … Continue reading

Posted in Information Technology | Leave a comment