Skip to main content

Posts

Showing posts from 2008

Tip: change color contrast in Internet Explorer

If your PC is near a window or you just have headache after reading lot of content from Internet Explorer - you can use the tip below.

Change the color contrast of pages that are displayed by Internet Explorer by using 'user style sheet' feature.

To do so, write HTML file called 'my_style.css' with following content:

*, body, p, th, td, a {
font-size: large !important;
line-height: 200% !important ;
background: black !important ;
color: yellow !important
}

:link, :link * {
cursor : hand ! important;
color : yellow ! important;
text-decoration : underline ! important;
}


Now, open Internet Explorer and follow the steps:

Choose 'Tools'
Choose 'Internet Options'
Click on 'Accessibility' button
Mark the checkbox called 'Format document using my style sheet'
In the text box write the full file name of the style file. Example: 'C:\my_style.css'
Click 'OK' button
Click 'OK' again

Now the text in the pages will be yellow over black. This is muc…

Productivity tip: 2-minutes rule

This is a great movie that explains the two minutes rule. No need to read the GTD book or to implement the whole system. This simple rule can help to overcome the email overload.

I found it very useful. But there are two hard point to do:
(1) Process emails only in chunks and don't check outlook every time email received (very hard to do !)
(2) Do not scan new emails for interesting stuff, just process one by one. Again - very hard to do !

Productivity tip: use Pizza Timer

If you feel tired, easily distracted or just not focused, you can use a "work sprint". Instead of just seating in the cube trying to be focused, start a 20 minutes or 30 minutes of pure work time. Then give yourself some prize (coffee break, surfing the net ...).

I use 'Pizza Timer' freeware to show a timer that go backwards. It is just great freeware and help me to stay focused on hard times (like after lunch).

Site: http://ant4.com/PizzaTimer

Best freeware - performance monitor

I seat long hours on the desktop. I always want to know what my PC is doing and why it works so slow.

The best tool I found is the performance monitor of hexagora. In one small window that s always top most you can see usage of CPU, Disk, Network and Memory. Just great tool !

Site: www.hexagora.com

Eclipse error: The project was not built since its build path is incomplete

More of eclipse pains:

The project was not built since its build path is incomplete. Cannot find the class file for com.hp.qc.db.tables.ISaTableFieldNames. Fix the build path then try building this project.
The magic here is again doing something that cause eclipse to fix its inernal configuration files (usually the '.classpath' file)

Step (1): Remove/Add some project in "Java Build PathOrder and Export"Step (2) Undo the change.

Eclipse error: Project 'X' is missing required Java project: 'Y'

Another annoying eclipse error is the error below while trying to build a project:

Eclipse error: Project 'X' is missing required Java
project: 'Y'After lot of waste of time (checking that project Y do exists etc), the solution was the old magic:Step (1) Remove a project from the "Java Build Path|Order and Export" Step (2) Return it again to the screen.
This fixed something in the database of eclipse and solved the problem.

ANT Error Message - java.lang.RuntimeException: data starting at XXX is in unknown format

I just wasted entire day on stupid error from ANT: Build file:
C:\XXXXXX\build.xml
init:
starteam:

rubicon:
lib_selection:
build_td_manifest:
compile:
dist_no_test:

BUILD FAILED
C:\z\qc-project\qcdev\Server\TdCore\build.xml:139:
java.lang.RuntimeException: data starting at 14600 is in unknown format Finally I found the simple solution - just run 'clean' target from the ANT file and run the main target again. So simple, so frustrating.