Did you copy a eclipse project, and need to delete all the .svn directories. When svn cleanup ./directory/path doesn't work.
Use in Terminal:
sudo rm -rf `find . -type d -name .svn`
FYI:
pwd # see what directory your in
ls -la # see all the files including the hidden
Sunday, April 25, 2010
Wednesday, April 7, 2010
GWT Horizontal Events Panel
Have you wanted to add event observation/Listening handlers to a panel? This is and easy way to observe events in a GWT HorizontalPanel. Gwt 1.6, 2.0, 2.01, 2.02, 2.03+...
// easy extend and observe mouse events on a gwt horizontal panel widget
public class HorizontalEventPanel extends HorizontalPanel implements HasMouseOverHandlers, HasMouseOutHandlers {
public HorizontalEventPanel() {
sinkEvents(Event.MOUSEEVENTS);
}
public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
return addDomHandler(handler, MouseOverEvent.getType());
}
public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
return addDomHandler(handler, MouseOutEvent.getType());
}
}
Monday, April 5, 2010
MySql Connection Really Slow?
If your MySql connection is really slow? Do you think its JDBC or Bandwidth sucking the speed? Are you going crazy checking wireshark for packet problems? Did you see Malformed Packet? Has the server been on for months? Did you get an update?
Before you check all that, make sure your Reverse DNS is setup, so MySql can authenticate you fast. On linux, add your workstation to the list in /etc/hosts 192.168.1.70 workstationHostName.
***** Check Reverse DNS ***** before you get into the deep debugging.
Subscribe to:
Posts (Atom)
Trying out the Dart Analysis Server
I wanted to see how the Dart Analysis Server was put together and worked. I started looking to see how I could wire it up and try out the co...
-
Would you like to add a Java Http Servlet to your Java web app project? This guide will cover doing just that. Rewind - Create a Java ...
-
After you've created a Java project in Visual Studio Code (VS Code), you're probably wanting to create the initial package and a Jav...
-
Are you looking to create your Java web app project in VS Code? You've come to the right place. Set up VS Code with Java ...