Setup Solr Trunk Development Environment using Eclipse

You need to have the following software installed subversion ant eclipse Now the install procedure Checkout the source code svn co https://svn.apache.org/repos/asf/lucene/dev/trunk/ cd to the trunk folder and run ant ivy-bootstrap ant resolve ant validate ant clean-idea ant eclipse ant compile ant test Start Eclipse and Import the Project Install the run-jetty plugin. Add the […]

C# Entity Framework – Clear Context

Put the following code in the partial class of your entity context: public partial class MyEntities { public IEnumerable GetAllObjectStateEntries() { return ObjectStateManager.GetObjectStateEntries(EntityState.Added | EntityState.Deleted | EntityState.Modified | EntityState.Unchanged); } public void ClearEntities() { foreach (var objectStateEntry in GetAllObjectStateEntries()) { Detach(objectStateEntry.Entity); } } } If you want to clear the context you just call the […]

ArchLinux doesn’t boot anymore after updating to Gnome 3.8 – Intel Graphics

Yesterday I updated my system to Gnome 3.8. Unfortunately I was not able to boot it anymore. I would only see the boot manager but then It would just hang with a black screen. Switching to a console (Ctrl + Alt + F2) didn’t work. First of all you need to be able to work […]