Loading

CSS images animation looping

I'd like to animate 2 images with css whereby 1 starts and stays for 5 secs and the other follows and they both stay for 5 more seconds together and it all starts again in an infinite loop. I'm doing ...

jQuery date formatting

How can I format the date using jQuery. I am using below code but getting error: $("#txtDate").val($.format.date(new Date(), 'dd M yy')); Please suggest a solution.

Is it possible to add dynamically named properties to JavaScript object?

In JavaScript, I've created an object like so:var data = { 'PropertyA': 1, 'PropertyB': 2, 'PropertyC': 3}; Is it possible to add further properties to this object after it's initial ...

Struggling with implementing java methods in a hash table

Hello I am currently trying to implement a HashTable in Java and have had no luck what so ever trying to implement it. Every method I seem to work on just seems to fail. The class implements the IMap ...

Entity Framework: There is already an open DataReader associated with this Command

I am using Entity Framework and occasionally i will get this error. EntityCommandExecutionException{"There is already an open DataReader associated with this Command which must be closed first."} ...

Java's +=, -=, *=, /= compound assignment operators

Until today I thought that for example: i += j; is just a shortcut for: i = i + j; But what if we try this: int i = 5; long j = 8; Then i = i + j; will not compile but i += j; will compile fine. ...

How do I force Sublime Text 2 to indent two spaces per tab?

Is there a way to force Sublime Text 2 to always indent two spaces per tab when working with Ruby files?I know that indentation can be set under the view -> indentation menu option, but it does ...

Disable IntelliJ Starred (Package) Imports?

I'm a migrating Eclipse IDE user and am learning my way round IntelliJ IDEA 9.By default Eclipse IDE won't use a starred import until you import 99 classes from the same package, so it practically ...

How can I see the request headers made by curl when sending a request to the server?

I want to see the request headers made by curl when I am sending a request to the server. How can I check that?

C++11 features in Visual Studio 2012

A preview version of Visual Studio 2012 (the next version after VS2010) is now available.Does anyone know what new C++11 features it supports? (I'm not in a position to try it out at the moment).