My Google spread sheet for Vehicle Expense has been listed in makeuseof.com

Here is the link of spread sheet  which can help you to track your vehicle expenses, generate graphs out of it and help you to organize your maintenance schedule.

https://drive.google.com/previewtemplate?id=0Au9WtmpPhI4ZdHJOYVVLd1p4S2pzTmk5enZfbDd1c0E&mode=public

Friends I was googling and found my own temple listed on makeuseof.com, I was surprised, exited and felt proud. Have a look at this if you want to maintain your cars expenses 🙂

Contribution link : http://www.makeuseof.com/tag/10-money-management-tools-inside-google-drive-use-today/ 

 

vehicle sheet

Advertisements

Wicket: ListView skipping an item

The question is : is it possible to skip an item in populateItem() ?

If try skipping it by adding the item.add() using if statement (conditionally) an error would be thrown. so it is not straight forward. There is a way, trick or workaround.

Just add an empty panel (with false visibility), where ever you want to skip the item based on  condition.

image

Wicket – refreshing ListView triggered automatically after some time

WebMarkupContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5))); 

adding this behaviour directly to list view might not work. So the trick is to add list view in the WebMarkupContainer and apply ajax self updating time behaviour to that in a loop with the duration mentioned.

 

listContainer = new WebMarkupContainer(“listContainer”);
listContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(20)));

rowOrderListView = new OrderListView(“orderRow”, orderDataProvider);

listContainer.setOutputMarkupId(true);
listContainer.setOutputMarkupPlaceholderTag(true);
listContainer.add(rowOrderListView);

Not able to install setuptools even though python 2.7 is installed

 

Contribution link : https://education.10gen.com/courses/10gen/M101/2012_Fall/discussion/forum/i4x-10gen-M101-course-2012_Fall/threads/508c4340f29297327f00154f

Problem :

I’m running Python 2.7 on Windows 7 64-bit, and when I run the installer for setuptools it tells me that Python 2.7 is not installed. The specific error message is: Python Version 2.7 required which was not found in the registry

Solution :

… when I ran the setuptools installer I would get an error message saying something like “Python2.7 was not found in the registry”. If you’ve had similar issues, here’s what fixed the problem for me.

1. Install python 2.7.3 in the default directory

2. Open regedit.exe (if you type “regedit” into start menu it will show up)

3. In regedit navigate to the python folder. (First open HTKE_LOCAL_MACHINE, then SOFTWARE, then  PYTHON)

4. With the Python folder scelected, go to File>Export, make sure the export range is set to ‘Scelected Branch’ and in  the text box below it says “HKEY_LOCAL_MACHINE\SOFTWARE\Python”, Save the file in your documents folder (or wherever you like), you can name it whatever you want

5. Find the file, right click on it and say “open with…” then choose to open it with notepad.

6. In notepad, you should see that every line begins with “[HKEY_LOCAL_MACHINE\SOFTWARE\Python”, wherever you see this, add the folder “\Wow6432Node” in between SOFTWARE and Python so that every line now starts with: 

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python

7. Save the file and then open it again with regedit, you should get a message saying it was sucessfully added to the registry

8. Now the SetupTools installer should work properly and you can follow instructions on http://nltk.org/install.html from there