eclipse stuck when building workspace

I was able to fix this with the following: First, exit Eclipse. Then temporarily move the following .projects folder to a safe location: mv .metadata\.plugins\org.eclipse.core.resources\.projects projects Start and exit Eclipse, then move the .projects folder back to where it was originally: mv projects .metadata\.plugins\org.eclipse.core.resources\.projects Use at your own risk, of course.

Dockerignore: Ignore everything except a file and the Dockerfile

If you need to ignore everything except some directories or files and also ignore some unnecessary files inside those allowed directories you can use the following .dockerignore file: # Ignore everything * # Allow files and directories !/file.txt !/src # Ignore unnecessary files inside allowed directories # This should go after the allowed directories **/*~ … Read more

Building executable jar with maven?

Actually, I think that the answer given in the question you mentioned is just wrong (UPDATE – 20101106: someone fixed it, this answer refers to the version preceding the edit) and this explains, at least partially, why you run into troubles. It generates two jar files in logmanager/target: logmanager-0.1.0.jar, and logmanager-0.1.0-jar-with-dependencies.jar. The first one is … Read more

CSS disable text selection

Don’t apply these properties to the whole body. Move them to a class and apply that class to the elements you want to disable select: .disable-select { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

What is the difference between jQuery version 1, version 2, and version 3? [closed]

Major Versions Version 1.0: First stable release. Version 2.0: Dropped IE 6–8 support for performance improvements and reduction in filesize Version 3.0: Promises/A+ support for Deferreds, $.ajax and $.when, .data() HTML5-compatible All Versions +—————-+——————–+—————————-+—————-+—————————————————————————————+ | Version Number | Release Date | Latest Update | Size Prod (KB) | Additional Notes | +—————-+——————–+—————————-+—————-+—————————————————————————————+ | 1.0 | … Read more

How can I modify ripple color when using ?attr/selectableItemBackground as background?

Finally I find the solution: instead of using android:colorControlHighlight directly in theme SelectableItemBackground, I should write another style: <style name=”SelectableItemTheme”> <item name=”colorControlHighlight”>@color/ripple_color</item> </style> Then: <style name=”SelectableItemBackground”> <item name=”android:theme”>@style/SelectableItemTheme</item> <item name=”android:background”>?attr/selectableItemBackground</item> </style> Finally add style=”@style/SelectableItemBackground” to View in layout.xml. UPDATED ON 2016/8/26 After N’s release, I found that sometimes we cannot use this method to set … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)